OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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

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

Member Function Documentation

void opencover::coInstanceObject::addInstances ( osg::Vec3Array &  positions)
void opencover::coInstanceObject::createTwoQuadGeometry ( float  width,
float  height 
)
protected
osg::Geode* opencover::coInstanceObject::getGeode ( )
inline

Member Data Documentation

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

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