OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
opencover::coInstanceRenderer Class Reference

#include <coInstanceRenderer.h>

Public Member Functions

 coInstanceRenderer ()
 
virtual ~coInstanceRenderer ()
 
void addInstances (osg::Vec3Array &positions, int type)
 
int addObject (std::string textureName, float width, float height)
 

Static Public Member Functions

static coInstanceRendererinstance ()
 

Protected Attributes

int numObjects
 
std::vector< coInstanceObject * > objects
 
osg::ref_ptr< osg::Group > instanceObjects
 

Constructor & Destructor Documentation

opencover::coInstanceRenderer::coInstanceRenderer ( )
virtual opencover::coInstanceRenderer::~coInstanceRenderer ( )
virtual

Member Function Documentation

void opencover::coInstanceRenderer::addInstances ( osg::Vec3Array &  positions,
int  type 
)
int opencover::coInstanceRenderer::addObject ( std::string  textureName,
float  width,
float  height 
)
static coInstanceRenderer* opencover::coInstanceRenderer::instance ( )
static

Member Data Documentation

osg::ref_ptr<osg::Group> opencover::coInstanceRenderer::instanceObjects
protected
int opencover::coInstanceRenderer::numObjects
protected
std::vector<coInstanceObject *> opencover::coInstanceRenderer::objects
protected

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