Inheritance diagram for osg::Point:
Public Member Functions | |
Point () | |
Point (const Point &point, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_StateAttribute (osg, Point, POINT) | |
virtual int | compare (const StateAttribute &sa) const |
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. | |
virtual bool | getModeUsage (ModeUsage &usage) const |
void | setSize (float size) |
float | getSize () const |
void | setFadeThresholdSize (float fadeThresholdSize) |
float | getFadeThresholdSize () const |
void | setDistanceAttenuation (const Vec3 &distanceAttenuation) |
const Vec3 & | getDistanceAttenuation () const |
void | setMinSize (float minSize) |
float | getMinSize () const |
void | setMaxSize (float maxSize) |
float | getMaxSize () const |
virtual void | apply (State &state) const |
apply the OpenGL state attributes. | |
Static Public Member Functions | |
static void | init_GL_EXT () |
Protected Member Functions | |
virtual | ~Point () |
Protected Attributes | |
float | _size |
float | _fadeThresholdSize |
Vec3 | _distanceAttenuation |
float | _minSize |
float | _maxSize |
|
|
|
Copy constructor using CopyOp to manage deep vs shallow copy.
|
|
|
|
apply the OpenGL state attributes. The global state for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state. Implements osg::StateAttribute. |
|
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|