Privacy
An open-source, flexible 3D physical simulation framework
osg_plot::Plot Class Reference

#include <Plot.h>

Public Member Functions

 Plot ()
 
 ~Plot ()
 
CurvecreateCurve (void)
 
void removeCurve (Curve *)
 
void update (void)
 

Private Attributes

int numXTicks
 
int numYTicks
 
float xTicksDiff
 
float yTicksDiff
 
osg::ref_ptr< osg::Vec3Array > xLines
 
osg::ref_ptr< osg::Vec3Array > background
 
osg::ref_ptr< osg::Geometry > bGeom
 
osg::ref_ptr< osg::Geometry > xGeom
 
osg::ref_ptr< osg::DrawArrays > xDrawArray
 
std::list< osg::ref_ptr< CurveP > > curves
 
std::list< osg::ref_ptr< osgText::Text > > xLabels
 
std::list< osg::ref_ptr< osgText::Text > > yLabels
 

Detailed Description

Definition at line 46 of file Plot.h.

Constructor & Destructor Documentation

◆ Plot()

osg_plot::Plot::Plot ( )

Definition at line 38 of file Plot.cpp.

◆ ~Plot()

osg_plot::Plot::~Plot ( void  )

Definition at line 141 of file Plot.cpp.

Member Function Documentation

◆ createCurve()

Curve * osg_plot::Plot::createCurve ( void  )

Definition at line 147 of file Plot.cpp.

◆ removeCurve()

void osg_plot::Plot::removeCurve ( Curve )

◆ update()

void osg_plot::Plot::update ( void  )

Definition at line 155 of file Plot.cpp.

Member Data Documentation

◆ background

osg::ref_ptr<osg::Vec3Array> osg_plot::Plot::background
private

Definition at line 62 of file Plot.h.

◆ bGeom

osg::ref_ptr<osg::Geometry> osg_plot::Plot::bGeom
private

Definition at line 63 of file Plot.h.

◆ curves

std::list< osg::ref_ptr<CurveP> > osg_plot::Plot::curves
private

Definition at line 66 of file Plot.h.

◆ numXTicks

int osg_plot::Plot::numXTicks
private

Definition at line 58 of file Plot.h.

◆ numYTicks

int osg_plot::Plot::numYTicks
private

Definition at line 58 of file Plot.h.

◆ xDrawArray

osg::ref_ptr<osg::DrawArrays> osg_plot::Plot::xDrawArray
private

Definition at line 65 of file Plot.h.

◆ xGeom

osg::ref_ptr<osg::Geometry> osg_plot::Plot::xGeom
private

Definition at line 64 of file Plot.h.

◆ xLabels

std::list< osg::ref_ptr<osgText::Text> > osg_plot::Plot::xLabels
private

Definition at line 68 of file Plot.h.

◆ xLines

osg::ref_ptr<osg::Vec3Array> osg_plot::Plot::xLines
private

Definition at line 61 of file Plot.h.

◆ xTicksDiff

float osg_plot::Plot::xTicksDiff
private

Definition at line 59 of file Plot.h.

◆ yLabels

std::list< osg::ref_ptr<osgText::Text> > osg_plot::Plot::yLabels
private

Definition at line 69 of file Plot.h.

◆ yTicksDiff

float osg_plot::Plot::yTicksDiff
private

Definition at line 59 of file Plot.h.


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