class SoFCIndexedFaceSet More...
#include <SoFCIndexedFaceSet.h>
Public Member Functions | |
SoFCIndexedFaceSet () | |
Static Public Member Functions | |
static void | initClass () |
Public Attributes | |
unsigned int | renderTriangleLimit |
Protected Member Functions | |
void | doAction (SoAction *action) |
void | drawCoords (const SoGLCoordinateElement *const vertexlist, const int32_t *vertexindices, int numindices, const SbVec3f *normals, const int32_t *normalindices, SoMaterialBundle *materials, const int32_t *matindices, const int32_t binding, const SoTextureCoordinateBundle *const texcoords, const int32_t *texindices) |
virtual void | GLRender (SoGLRenderAction *action) |
Either renders the complete mesh or only a subset of the points. | |
virtual | ~SoFCIndexedFaceSet () |
class SoFCIndexedFaceSet
The SoFCIndexedFaceSet class is designed to optimize redrawing a mesh during user interaction.
Definition at line 45 of file SoFCIndexedFaceSet.h.
SoFCIndexedFaceSet::SoFCIndexedFaceSet | ( | ) |
Definition at line 58 of file SoFCIndexedFaceSet.cpp.
virtual MeshGui::SoFCIndexedFaceSet::~SoFCIndexedFaceSet | ( | ) | [inline, protected, virtual] |
Definition at line 58 of file SoFCIndexedFaceSet.h.
void SoFCIndexedFaceSet::doAction | ( | SoAction * | action | ) | [protected] |
Definition at line 192 of file SoFCIndexedFaceSet.cpp.
void SoFCIndexedFaceSet::drawCoords | ( | const SoGLCoordinateElement *const | vertexlist, | |
const int32_t * | vertexindices, | |||
int | numindices, | |||
const SbVec3f * | normals, | |||
const int32_t * | normalindices, | |||
SoMaterialBundle * | materials, | |||
const int32_t * | matindices, | |||
const int32_t | binding, | |||
const SoTextureCoordinateBundle *const | texcoords, | |||
const int32_t * | texindices | |||
) | [protected] |
Definition at line 114 of file SoFCIndexedFaceSet.cpp.
References SketcherExample::f, MeshCore::MeshIO::PER_FACE, MeshCore::MeshIO::PER_VERTEX, renderTriangleLimit, and draftlibs::fcgeo::v1().
Referenced by GLRender().
void SoFCIndexedFaceSet::GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
Either renders the complete mesh or only a subset of the points.
Definition at line 67 of file SoFCIndexedFaceSet.cpp.
References drawCoords(), Gui::SoFCInteractiveElement::get(), and renderTriangleLimit.
void SoFCIndexedFaceSet::initClass | ( | void | ) | [static] |
Definition at line 53 of file SoFCIndexedFaceSet.cpp.
Referenced by initMeshGui().
unsigned int MeshGui::SoFCIndexedFaceSet::renderTriangleLimit |
Definition at line 54 of file SoFCIndexedFaceSet.h.
Referenced by drawCoords(), and GLRender().