vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GeometryState Struct Reference

uchovava informace o statickem modelu, jeho data v pameti a pocet referenci (instanci modelu ve scene) More...

#include <ModelManager.h>

Public Member Functions

 GeometryState ()
 
 GeometryState (EnvironmentObject *eo)
 
osg::ref_ptr< EnvironmentObjectGetGeometry ()
 vrati data modelu More...
 
void RemoveGeometry ()
 smaze data modelu More...
 
int Count ()
 vrati pocet referenci na model More...
 
void AddReference ()
 zvysi pocet referenci na model o 1 More...
 
void RemoveReference ()
 snizi pocet referenci na model o 1 More...
 

Detailed Description

uchovava informace o statickem modelu, jeho data v pameti a pocet referenci (instanci modelu ve scene)

Constructor & Destructor Documentation

GeometryState::GeometryState ( )
inline
GeometryState::GeometryState ( EnvironmentObject eo)
inline

Member Function Documentation

void GeometryState::AddReference ( )
inline

zvysi pocet referenci na model o 1

int GeometryState::Count ( )
inline

vrati pocet referenci na model

osg::ref_ptr<EnvironmentObject> GeometryState::GetGeometry ( )
inline

vrati data modelu

void GeometryState::RemoveGeometry ( )
inline

smaze data modelu

void GeometryState::RemoveReference ( )
inline

snizi pocet referenci na model o 1


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