32 #ifndef ClipPlane_INCLUDE_ONCE 33 #define ClipPlane_INCLUDE_ONCE void setEnabled(bool enabled)
The Plane class defines a plane using a normal and an origin.
virtual ref< RenderState > clone() const
void bindTransform(Transform *transform)
Attach the light to a vl::Transform.
void setPlane(const Plane &plane)
Defines the actual plane used to perform the clipping.
Represents an OpenGL context, possibly a widget or a pbuffer, which can also respond to keyboard...
Base class for those render states which have more than one binding points like lights, clipping planes and texture unit states.
Plane & plane()
Returns the actual plane used to perform the clipping.
#define VL_INSTRUMENT_CLASS(ClassName, BaseClass)
Visualization Library main namespace.
Transform * boundTransform()
Returns the vl::Transform to which the Light is attached.
Wraps the OpenGL function glClipPlane().
const Transform * boundTransform() const
Returns the vl::Transform to which the Light is attached.
const Plane & plane() const
Returns the actual plane used to perform the clipping.
#define VLGRAPHICS_EXPORT
virtual ERenderState type() const
Returns RS_ClipPlane0.
fvec3 vec3
Defined as: 'typedef fvec3 vec3'. See also VL_PIPELINE_PRECISION.
ref< Transform > mBoundTransform
The ref<> class is used to reference-count an Object.
Represents a virtual camera defining, among other things, the point of view from which scenes can be ...