Privacy
An open-source, flexible 3D physical simulation framework
osg_lines::LinesP Class Reference

#include <LinesP.h>

Public Member Functions

 LinesP ()
 
 ~LinesP ()
 
void appendData (Vector v)
 
void clearData ()
 
void setData (std::list< Vector > points)
 
void drawStrip (bool strip=true)
 
void setColor (Color c)
 
void setLineWidth (double w)
 
void dirty (void)
 
void * getOSGNode ()
 
- Public Member Functions inherited from osg_lines::Lines
 Lines ()
 
virtual ~Lines ()
 

Private Attributes

osg::ref_ptr< osg::Vec3Array > points
 
osg::ref_ptr< osg::Geometry > linesGeom
 
osg::ref_ptr< osg::MatrixTransform > linesTransform
 
osg::ref_ptr< osg::DrawArrays > drawArray
 
osg::ref_ptr< osg::LineWidth > linew
 
osg::ref_ptr< osg::Vec4Array > colors
 
osg::ref_ptr< osg::Geode > node
 

Detailed Description

Definition at line 43 of file LinesP.h.

Constructor & Destructor Documentation

◆ LinesP()

osg_lines::LinesP::LinesP ( )

Definition at line 35 of file LinesP.cpp.

◆ ~LinesP()

osg_lines::LinesP::~LinesP ( void  )

Definition at line 80 of file LinesP.cpp.

Member Function Documentation

◆ appendData()

void osg_lines::LinesP::appendData ( Vector  v)
virtual

Implements osg_lines::Lines.

Definition at line 83 of file LinesP.cpp.

◆ clearData()

void osg_lines::LinesP::clearData ( )

◆ dirty()

void osg_lines::LinesP::dirty ( void  )

Definition at line 128 of file LinesP.cpp.

◆ drawStrip()

void osg_lines::LinesP::drawStrip ( bool  strip = true)
virtual

Implements osg_lines::Lines.

Definition at line 99 of file LinesP.cpp.

◆ getOSGNode()

void * osg_lines::LinesP::getOSGNode ( )
virtual

Implements osg_lines::Lines.

Definition at line 133 of file LinesP.cpp.

◆ setColor()

void osg_lines::LinesP::setColor ( Color  c)
virtual

Implements osg_lines::Lines.

Definition at line 117 of file LinesP.cpp.

◆ setData()

void osg_lines::LinesP::setData ( std::list< Vector points)
virtual

Implements osg_lines::Lines.

Definition at line 89 of file LinesP.cpp.

◆ setLineWidth()

void osg_lines::LinesP::setLineWidth ( double  w)
virtual

Implements osg_lines::Lines.

Definition at line 123 of file LinesP.cpp.

Member Data Documentation

◆ colors

osg::ref_ptr<osg::Vec4Array> osg_lines::LinesP::colors
private

Definition at line 64 of file LinesP.h.

◆ drawArray

osg::ref_ptr<osg::DrawArrays> osg_lines::LinesP::drawArray
private

Definition at line 62 of file LinesP.h.

◆ linesGeom

osg::ref_ptr<osg::Geometry> osg_lines::LinesP::linesGeom
private

Definition at line 60 of file LinesP.h.

◆ linesTransform

osg::ref_ptr<osg::MatrixTransform> osg_lines::LinesP::linesTransform
private

Definition at line 61 of file LinesP.h.

◆ linew

osg::ref_ptr<osg::LineWidth> osg_lines::LinesP::linew
private

Definition at line 63 of file LinesP.h.

◆ node

osg::ref_ptr<osg::Geode> osg_lines::LinesP::node
private

Definition at line 65 of file LinesP.h.

◆ points

osg::ref_ptr<osg::Vec3Array> osg_lines::LinesP::points
private

Definition at line 59 of file LinesP.h.


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