uvsim::PointCloud Class Reference

#include <PointCloud.h>

Inherited by uvsim::Ellipsoid.

List of all members.

Public Member Functions

 PointCloud ()
 PointCloud (int pointSize, osg::Vec3Array *points, osg::Vec4Array *colors)
virtual ~PointCloud ()
void updateSize ()

Public Attributes

osg::ref_ptr
< osg::PositionAttitudeTransform > 
root

Protected Member Functions

osg::StateSet * makeStateSet (float size)

Protected Attributes

osg::ref_ptr< osg::Geode > geode
osg::ref_ptr< osg::Geometry > geom
osg::ref_ptr< osg::DrawArrays > drawArrays
osg::Vec3Array * points
osg::Vec4Array * colors

Detailed Description

Definition at line 43 of file PointCloud.h.


Constructor & Destructor Documentation

uvsim::PointCloud::PointCloud (  ) 

Definition at line 36 of file PointCloud.cc.

Here is the caller graph for this function:

uvsim::PointCloud::PointCloud ( int  pointSize,
osg::Vec3Array *  points,
osg::Vec4Array *  colors 
)

Definition at line 40 of file PointCloud.cc.

Here is the call graph for this function:

uvsim::PointCloud::~PointCloud (  )  [virtual]

Definition at line 55 of file PointCloud.cc.


Member Function Documentation

osg::StateSet * uvsim::PointCloud::makeStateSet ( float  size  )  [protected]

Setup cool blending

Setup the point sprites

Give some size to the points to be able to see the sprite

Disable depth test to avoid sort problems and Lighting

The texture for the sprites

Definition at line 65 of file PointCloud.cc.

Here is the caller graph for this function:

void uvsim::PointCloud::updateSize (  ) 

Definition at line 59 of file PointCloud.cc.

Here is the caller graph for this function:


Member Data Documentation

osg::Vec4Array* uvsim::PointCloud::colors [protected]

Reimplemented in uvsim::Ellipsoid.

Definition at line 56 of file PointCloud.h.

osg::ref_ptr<osg::DrawArrays> uvsim::PointCloud::drawArrays [protected]

Definition at line 54 of file PointCloud.h.

osg::ref_ptr<osg::Geode> uvsim::PointCloud::geode [protected]

Definition at line 52 of file PointCloud.h.

osg::ref_ptr<osg::Geometry> uvsim::PointCloud::geom [protected]

Definition at line 53 of file PointCloud.h.

osg::Vec3Array* uvsim::PointCloud::points [protected]

Reimplemented in uvsim::Ellipsoid.

Definition at line 55 of file PointCloud.h.

osg::ref_ptr<osg::PositionAttitudeTransform> uvsim::PointCloud::root

Definition at line 50 of file PointCloud.h.


The documentation for this class was generated from the following files:

Generated on Mon Nov 9 12:57:51 2009 for uvsim by  doxygen 1.6.1