Privacy
An open-source, flexible 3D physical simulation framework
osg_points::PointsP Class Reference

#include <PointsP.hpp>

Public Member Functions

 PointsP ()
 
 ~PointsP ()
 
void appendData (Vector v)
 
void setData (const std::vector< Vector > &points)
 
void setColor (Color c)
 
void setLineWidth (double w)
 
void dirty (void)
 
void * getOSGNode ()
 
- Public Member Functions inherited from osg_points::Points
 Points ()
 
virtual ~Points ()
 

Private Attributes

osg::ref_ptr< osg::Vec3Array > points
 
osg::ref_ptr< osg::Geometry > pointsGeom
 
osg::ref_ptr< osg::MatrixTransform > pointsTransform
 
osg::ref_ptr< osg::DrawArrays > drawArray
 
osg::ref_ptr< osg::Point > linew
 
osg::ref_ptr< osg::Vec4Array > colors
 
osg::ref_ptr< osg::Geode > node
 

Detailed Description

Definition at line 39 of file PointsP.hpp.

Constructor & Destructor Documentation

◆ PointsP()

osg_points::PointsP::PointsP ( )

Definition at line 35 of file PointsP.cpp.

◆ ~PointsP()

osg_points::PointsP::~PointsP ( void  )

Definition at line 79 of file PointsP.cpp.

Member Function Documentation

◆ appendData()

void osg_points::PointsP::appendData ( Vector  v)
virtual

Implements osg_points::Points.

Definition at line 82 of file PointsP.cpp.

◆ dirty()

void osg_points::PointsP::dirty ( void  )

Definition at line 109 of file PointsP.cpp.

◆ getOSGNode()

void * osg_points::PointsP::getOSGNode ( )
virtual

Implements osg_points::Points.

Definition at line 114 of file PointsP.cpp.

◆ setColor()

void osg_points::PointsP::setColor ( Color  c)
virtual

Implements osg_points::Points.

Definition at line 98 of file PointsP.cpp.

◆ setData()

void osg_points::PointsP::setData ( const std::vector< Vector > &  points)
virtual

Implements osg_points::Points.

Definition at line 88 of file PointsP.cpp.

◆ setLineWidth()

void osg_points::PointsP::setLineWidth ( double  w)
virtual

Implements osg_points::Points.

Definition at line 104 of file PointsP.cpp.

Member Data Documentation

◆ colors

osg::ref_ptr<osg::Vec4Array> osg_points::PointsP::colors
private

Definition at line 58 of file PointsP.hpp.

◆ drawArray

osg::ref_ptr<osg::DrawArrays> osg_points::PointsP::drawArray
private

Definition at line 56 of file PointsP.hpp.

◆ linew

osg::ref_ptr<osg::Point> osg_points::PointsP::linew
private

Definition at line 57 of file PointsP.hpp.

◆ node

osg::ref_ptr<osg::Geode> osg_points::PointsP::node
private

Definition at line 59 of file PointsP.hpp.

◆ points

osg::ref_ptr<osg::Vec3Array> osg_points::PointsP::points
private

Definition at line 53 of file PointsP.hpp.

◆ pointsGeom

osg::ref_ptr<osg::Geometry> osg_points::PointsP::pointsGeom
private

Definition at line 54 of file PointsP.hpp.

◆ pointsTransform

osg::ref_ptr<osg::MatrixTransform> osg_points::PointsP::pointsTransform
private

Definition at line 55 of file PointsP.hpp.


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