openscenegraph
|
Classes | |
class | Extensions |
Static Public Member Functions | |
static Extensions * | getExtensions (unsigned int contextID, bool createIfNotInitalized) |
static void | setExtensions (unsigned int contextID, Extensions *extensions) |
Protected Member Functions | |
virtual | ~Point () |
![]() | |
virtual | ~StateAttribute () |
void | addParent (osg::StateSet *object) |
void | removeParent (osg::StateSet *object) |
![]() | |
virtual | ~Object () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
Protected Attributes | |
float | _size |
float | _fadeThresholdSize |
Vec3 | _distanceAttenuation |
float | _minSize |
float | _maxSize |
![]() | |
ParentList | _parents |
ref_ptr< ShaderComponent > | _shaderComponent |
ref_ptr< StateAttributeCallback > | _updateCallback |
ref_ptr< StateAttributeCallback > | _eventCallback |
![]() | |
std::string | _name |
DataVariance | _dataVariance |
osg::UserDataContainer * | _userDataContainer |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Point - encapsulates the OpenGL point smoothing and size state.
osg::Point::Point | ( | ) |
osg::Point::Point | ( | float | size | ) |
|
inline |
Copy constructor using CopyOp to manage deep vs shallow copy.
|
protectedvirtual |
apply the OpenGL state attributes. The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.
Reimplemented from osg::StateAttribute.
|
inlinevirtual |
return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
Implements osg::StateAttribute.
References COMPARE_StateAttribute_Parameter, and COMPARE_StateAttribute_Types.
|
inline |
|
static |
Returns the Extensions object for the given context. If createIfNotInitalized is true and the Extensions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Return the modes associated with this StateAttribute.
Reimplemented from osg::StateAttribute.
References GL_POINT_SMOOTH, and osg::StateAttribute::ModeUsage::usesMode().
|
inline |
|
static |
setExtensions() allows users to override the extensions across graphics contexts. Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions.
void osg::Point::setFadeThresholdSize | ( | float | fadeThresholdSize | ) |
void osg::Point::setMaxSize | ( | float | maxSize | ) |
void osg::Point::setMinSize | ( | float | minSize | ) |
void osg::Point::setSize | ( | float | size | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |