AnimaL |
Tutorial |
Documentation |
#include <CGRenderingMachine.h>
Public Member Functions | |
CGRenderingMachine (Octree *octree, X3DTK::X3D::IndexedFaceSet *ifs) | |
void | initializeCg (int method) |
bool | cgIsInitialized () const |
void | structureUpdated (int method) |
What to do when the structure of the octree is updated. | |
void | render (int method) |
Render the vertices stored in the octree with the method described in SFVec3fCellConstrained.h. | |
Private Member Functions | |
void | drawMethodLinear () |
CGData & | computeCGData (int method) |
Compute the data structure from the octree Return the modified structure. | |
void | loadCGParameters (int method) const |
load the cg parameters found in _cgData on the video card | |
Private Attributes | |
Octree * | _octree |
X3DTK::X3D::IndexedFaceSet * | _ifs |
bool | _cgInitiliazed |
CGData | _cgData |
|
Definition at line 45 of file CGRenderingMachine.cpp. References _cgData, and animal::octree::CGData::cellsVertexIDsArray. |
|
Definition at line 61 of file CGRenderingMachine.cpp. References _cgInitiliazed. Referenced by drawMethodLinear(). |
|
Compute the data structure from the octree Return the modified structure.
Definition at line 100 of file CGRenderingMachine.cpp. References _cgData, _octree, animal::octree::Cell, animal::octree::CGData::cellsVertexIDs, animal::octree::CGData::cellsVertexIDsArray, animal::octree::CGData::meshPointsCell, animal::octree::CGData::meshPointsSFVCC, animal::octree::OctreeDataPoints, animal::octree::FastOctree< T, S, U >::root(), and animal::octree::CGData::verticesIDs. Referenced by structureUpdated(). |
|
Definition at line 209 of file CGRenderingMachine.cpp. References _cgData, _ifs, animal::octree::CellID, cgIsInitialized(), animal::octree::CGData::meshPointsCell, animal::octree::CGData::meshPointsSFVCC, animal::octree::ModelViewProj, Require, animal::octree::vProfile, and animal::octree::vProgram. Referenced by render(). |
|
Definition at line 53 of file CGRenderingMachine.cpp. References _cgInitiliazed, animal::octree::InitializeCgGL(), and structureUpdated(). |
|
load the cg parameters found in _cgData on the video card
Definition at line 193 of file CGRenderingMachine.cpp. References animal::octree::LINEAR, and animal::octree::ModelViewProj. Referenced by structureUpdated(). |
|
Render the vertices stored in the octree with the
Definition at line 67 of file CGRenderingMachine.cpp. References _octree, drawMethodLinear(), animal::octree::LINEAR, and Require. |
|
What to do when the structure of the octree is updated.
Definition at line 92 of file CGRenderingMachine.cpp. References computeCGData(), and loadCGParameters(). Referenced by initializeCg(). |
|
Definition at line 72 of file CGRenderingMachine.h. Referenced by CGRenderingMachine(), computeCGData(), and drawMethodLinear(). |
|
Definition at line 70 of file CGRenderingMachine.h. Referenced by cgIsInitialized(), and initializeCg(). |
|
Definition at line 68 of file CGRenderingMachine.h. Referenced by drawMethodLinear(). |
|
Definition at line 67 of file CGRenderingMachine.h. Referenced by computeCGData(), and render(). |