Public Types | |
typedef std::vector < LightPoint > | LightPointList |
Public Member Functions | |
LightPointNode () | |
LightPointNode (const LightPointNode &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
Copy constructor using CopyOp to manage deep vs shallow copy. | |
META_Node (osgSim, LightPointNode) | |
virtual void | traverse (osg::NodeVisitor &nv) |
Traverse downwards : calls children's accept method with NodeVisitor. | |
unsigned int | getNumLightPoints () const |
unsigned int | addLightPoint (const LightPoint &lp) |
void | removeLightPoint (unsigned int pos) |
LightPoint & | getLightPoint (unsigned int pos) |
const LightPoint & | getLightPoint (unsigned int pos) const |
void | setLightPointList (const LightPointList &lpl) |
LightPointList & | getLightPointList () |
const LightPointList & | getLightPointList () const |
void | setMinPixelSize (float minPixelSize) |
float | getMinPixelSize () const |
void | setMaxPixelSize (float maxPixelSize) |
float | getMaxPixelSize () const |
void | setMaxVisibleDistance2 (float maxVisibleDistance2) |
float | getMaxVisibleDistance2 () const |
void | setLightPointSystem (osgSim::LightPointSystem *lps) |
osgSim::LightPointSystem * | getLightPointSystem () |
void | setPointSprite (bool enable=true) |
bool | getPointSprite () const |
virtual osg::BoundingSphere | computeBound () const |
Compute the bounding sphere around Node's geometry or children. | |
Protected Member Functions | |
~LightPointNode () | |
Protected Attributes | |
osg::BoundingBox | _bbox |
LightPointList | _lightPointList |
float | _minPixelSize |
float | _maxPixelSize |
float | _maxVisibleDistance2 |
osg::ref_ptr < osgSim::LightPointSystem > | _lightSystem |
bool | _pointSprites |
typedef std::vector< LightPoint > osgSim::LightPointNode::LightPointList |
osgSim::LightPointNode::LightPointNode | ( | ) |
osgSim::LightPointNode::LightPointNode | ( | const LightPointNode & | , | |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
) |
Copy constructor using CopyOp to manage deep vs shallow copy.
osgSim::LightPointNode::~LightPointNode | ( | ) | [inline, protected] |
osgSim::LightPointNode::META_Node | ( | osgSim | , | |
LightPointNode | ||||
) |
virtual void osgSim::LightPointNode::traverse | ( | osg::NodeVisitor & | ) | [virtual] |
unsigned int osgSim::LightPointNode::getNumLightPoints | ( | ) | const [inline] |
unsigned int osgSim::LightPointNode::addLightPoint | ( | const LightPoint & | lp | ) |
void osgSim::LightPointNode::removeLightPoint | ( | unsigned int | pos | ) |
LightPoint& osgSim::LightPointNode::getLightPoint | ( | unsigned int | pos | ) | [inline] |
const LightPoint& osgSim::LightPointNode::getLightPoint | ( | unsigned int | pos | ) | const [inline] |
void osgSim::LightPointNode::setLightPointList | ( | const LightPointList & | lpl | ) | [inline] |
LightPointList& osgSim::LightPointNode::getLightPointList | ( | ) | [inline] |
const LightPointList& osgSim::LightPointNode::getLightPointList | ( | ) | const [inline] |
void osgSim::LightPointNode::setMinPixelSize | ( | float | minPixelSize | ) | [inline] |
float osgSim::LightPointNode::getMinPixelSize | ( | ) | const [inline] |
void osgSim::LightPointNode::setMaxPixelSize | ( | float | maxPixelSize | ) | [inline] |
float osgSim::LightPointNode::getMaxPixelSize | ( | ) | const [inline] |
void osgSim::LightPointNode::setMaxVisibleDistance2 | ( | float | maxVisibleDistance2 | ) | [inline] |
float osgSim::LightPointNode::getMaxVisibleDistance2 | ( | ) | const [inline] |
void osgSim::LightPointNode::setLightPointSystem | ( | osgSim::LightPointSystem * | lps | ) | [inline] |
osgSim::LightPointSystem* osgSim::LightPointNode::getLightPointSystem | ( | ) | [inline] |
void osgSim::LightPointNode::setPointSprite | ( | bool | enable = true |
) | [inline] |
bool osgSim::LightPointNode::getPointSprite | ( | ) | const [inline] |
virtual osg::BoundingSphere osgSim::LightPointNode::computeBound | ( | ) | const [virtual] |
Compute the bounding sphere around Node's geometry or children.
This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound().
Reimplemented from osg::Node.
osg::BoundingBox osgSim::LightPointNode::_bbox [mutable, protected] |
float osgSim::LightPointNode::_minPixelSize [protected] |
float osgSim::LightPointNode::_maxPixelSize [protected] |
float osgSim::LightPointNode::_maxVisibleDistance2 [protected] |
bool osgSim::LightPointNode::_pointSprites [protected] |