OpenCOVER
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
opencover::coInstanceObject Class Reference

#include <coInstanceRenderer.h>

Public Member Functions

 coInstanceObject (std::string textureName, float width, float height)
 
virtual ~coInstanceObject ()
 
void addInstances (osg::Vec3Array &positions)
 
osg::Geode * getGeode ()
 

Protected Member Functions

void createTwoQuadGeometry (float width, float height)
 

Protected Attributes

osg::ref_ptr< osg::Geode > geode
 
osg::ref_ptr< osg::Geometry > geom
 
int numInstances
 
std::string textureName
 
float width
 
float height
 
osg::StateSet * stateSet
 

Constructor & Destructor Documentation

◆ coInstanceObject()

opencover::coInstanceObject::coInstanceObject ( std::string  textureName,
float  width,
float  height 
)

◆ ~coInstanceObject()

virtual opencover::coInstanceObject::~coInstanceObject ( )
virtual

Member Function Documentation

◆ addInstances()

void opencover::coInstanceObject::addInstances ( osg::Vec3Array &  positions)

◆ createTwoQuadGeometry()

void opencover::coInstanceObject::createTwoQuadGeometry ( float  width,
float  height 
)
protected

◆ getGeode()

osg::Geode * opencover::coInstanceObject::getGeode ( )
inline

Member Data Documentation

◆ geode

osg::ref_ptr<osg::Geode> opencover::coInstanceObject::geode
protected

◆ geom

osg::ref_ptr<osg::Geometry> opencover::coInstanceObject::geom
protected

◆ height

float opencover::coInstanceObject::height
protected

◆ numInstances

int opencover::coInstanceObject::numInstances
protected

◆ stateSet

osg::StateSet* opencover::coInstanceObject::stateSet
protected

◆ textureName

std::string opencover::coInstanceObject::textureName
protected

◆ width

float opencover::coInstanceObject::width
protected

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