#include <OSGDVRRenderSlice.h>
Public Types | |
| enum | Orientation { UNDEFINED, XY, XZ, YZ } |
Public Member Functions | |
| DVRRenderSlice (void) | |
| ~DVRRenderSlice (void) | |
| void | render (void) const |
| void | clear (void) |
Public Attributes | |
| GLdouble * | vertexCombineData |
| UInt32 | numVertexCombineData |
| UInt32 | maxVertexCombineData |
| bool | directRender |
| UInt32 | numPerVertexData |
| Orientation | orientation |
Definition at line 40 of file OSGDVRRenderSlice.h.
|
|
Definition at line 44 of file OSGDVRRenderSlice.h.
|
|
|
Definition at line 25 of file OSGDVRRenderSlice.cpp. References maxVertexCombineData, numVertexCombineData, and vertexCombineData. 00026 { 00027 numVertexCombineData = 0; 00028 maxVertexCombineData = 0; 00029 00030 vertexCombineData = NULL; 00031 }
|
|
|
Definition at line 33 of file OSGDVRRenderSlice.cpp. References maxVertexCombineData, and vertexCombineData. 00034 { 00035 if(maxVertexCombineData > 0) 00036 free(vertexCombineData); // allocation with malloc/realloc!! 00037 00038 vertexCombineData = NULL; 00039 }
|
|
|
Definition at line 41 of file OSGDVRRenderSlice.cpp. 00042 { 00043 for(DVRRenderSlice::const_iterator i = begin(); 00044 i != end(); 00045 ++i) 00046 { 00047 (*i)->render(); 00048 } 00049 }
|
|
|
Definition at line 51 of file OSGDVRRenderSlice.cpp. References directRender, and numVertexCombineData. Referenced by osg::DVRClipper::clipSlice(), osg::Brick::render2DSliceXY(), osg::Brick::render2DSliceXZ(), osg::Brick::render2DSliceYZ(), and osg::Brick::render3DSlices(). 00052 { 00053 if(!directRender) 00054 { 00055 for(DVRRenderSlice::const_iterator i = begin(); i != end(); ++i) 00056 { 00057 delete (*i); 00058 } 00059 00060 std::vector<DVRRenderSlicePrimitive*>::clear(); 00061 } 00062 00063 numVertexCombineData = 0; 00064 }
|
|
|
Definition at line 66 of file OSGDVRRenderSlice.h. Referenced by DVRRenderSlice(), vertexCombineCallback(), and ~DVRRenderSlice(). |
|
|
Definition at line 67 of file OSGDVRRenderSlice.h. Referenced by clear(), DVRRenderSlice(), and vertexCombineCallback(). |
|
|
Definition at line 68 of file OSGDVRRenderSlice.h. Referenced by DVRRenderSlice(), vertexCombineCallback(), and ~DVRRenderSlice(). |
|
|
Definition at line 73 of file OSGDVRRenderSlice.h. Referenced by beginCallback(), clear(), endCallback(), osg::Brick::render2DSliceXY(), osg::Brick::render2DSliceXZ(), osg::Brick::render2DSliceYZ(), osg::Brick::render3DSlices(), and vertexCallback(). |
|
|
Definition at line 76 of file OSGDVRRenderSlice.h. Referenced by osg::Brick::render2DMultiSlices(), osg::Brick::render2DSlices(), osg::Brick::render3DSlices(), and vertexCombineCallback(). |
|
|
Definition at line 79 of file OSGDVRRenderSlice.h. Referenced by osg::Brick::render2DMultiSlices(), osg::Brick::render2DSlices(), osg::Brick::render3DSlices(), osg::DVRMtexLUTShader::renderSlice(), osg::DVRIsoShader::renderSlice_NVRegisterCombinerShading(), and vertexCallback(). |
1.4.3