List of all members.
Detailed Description
Point - encapsulates the OpenGL point smoothing and size state.
Constructor & Destructor Documentation
osg::Point::Point |
( |
float |
size |
) |
|
osg::Point::Point |
( |
const Point & |
point, |
|
|
const CopyOp & |
copyop = CopyOp::SHALLOW_COPY | |
|
) |
| | [inline] |
Copy constructor using CopyOp to manage deep vs shallow copy.
virtual osg::Point::~Point |
( |
|
) |
[protected, virtual] |
Member Function Documentation
virtual void osg::Point::apply |
( |
State & |
|
) |
const [virtual] |
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.
virtual int osg::Point::compare |
( |
const StateAttribute & |
sa |
) |
const [inline, virtual] |
const Vec3& osg::Point::getDistanceAttenuation |
( |
|
) |
const [inline] |
static Extensions* osg::Point::getExtensions |
( |
unsigned int |
contextID, |
|
|
bool |
createIfNotInitalized | |
|
) |
| | [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.
float osg::Point::getFadeThresholdSize |
( |
|
) |
const [inline] |
float osg::Point::getMaxSize |
( |
|
) |
const [inline] |
float osg::Point::getMinSize |
( |
|
) |
const [inline] |
float osg::Point::getSize |
( |
|
) |
const [inline] |
osg::Point::META_StateAttribute |
( |
osg |
, |
|
|
Point |
, |
|
|
POINT |
| |
|
) |
| | |
void osg::Point::setDistanceAttenuation |
( |
const Vec3 & |
distanceAttenuation |
) |
|
static void osg::Point::setExtensions |
( |
unsigned int |
contextID, |
|
|
Extensions * |
extensions | |
|
) |
| | [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 |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: