#include <SoFCMeshFaceSet.h>
Public Member Functions | |
SoFCMeshOpenEdgeSet () | |
Static Public Member Functions | |
static void | initClass () |
Protected Member Functions | |
virtual void | computeBBox (SoAction *action, SbBox3f &box, SbVec3f ¢er) |
Sets the bounding box of the mesh to box and its center to center. | |
virtual void | generatePrimitives (SoAction *action) |
virtual void | getPrimitiveCount (SoGetPrimitiveCountAction *action) |
Adds the number of the triangles to the SoGetPrimitiveCountAction. | |
virtual void | GLRender (SoGLRenderAction *action) |
Renders the open edges only. |
Definition at line 172 of file SoFCMeshFaceSet.h.
SoFCMeshOpenEdgeSet::SoFCMeshOpenEdgeSet | ( | ) |
Definition at line 1074 of file SoFCMeshFaceSet.cpp.
void SoFCMeshOpenEdgeSet::computeBBox | ( | SoAction * | action, | |
SbBox3f & | box, | |||
SbVec3f & | center | |||
) | [protected, virtual] |
Sets the bounding box of the mesh to box and its center to center.
Definition at line 1172 of file SoFCMeshFaceSet.cpp.
References Base::BoundBox3< _Precision >::CalcCenter(), SketcherExample::f, MeshGui::SoFCMeshVertexElement::get(), Base::BoundBox3< _Precision >::MaxX, Base::BoundBox3< _Precision >::MaxY, Base::BoundBox3< _Precision >::MaxZ, Sketcher::mid, Base::BoundBox3< _Precision >::MinX, Base::BoundBox3< _Precision >::MinY, Base::BoundBox3< _Precision >::MinZ, Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
void SoFCMeshOpenEdgeSet::generatePrimitives | ( | SoAction * | action | ) | [protected, virtual] |
Definition at line 1128 of file SoFCMeshFaceSet.cpp.
References MeshGui::SoFCMeshFacetElement::get(), MeshGui::SoFCMeshVertexElement::get(), and sbvec3f().
void SoFCMeshOpenEdgeSet::getPrimitiveCount | ( | SoGetPrimitiveCountAction * | action | ) | [protected, virtual] |
Adds the number of the triangles to the SoGetPrimitiveCountAction.
Definition at line 1194 of file SoFCMeshFaceSet.cpp.
References MeshGui::SoFCMeshFacetElement::get().
void SoFCMeshOpenEdgeSet::GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
Renders the open edges only.
Definition at line 1082 of file SoFCMeshFaceSet.cpp.
References MeshGui::SoFCMeshFacetElement::get(), and MeshGui::SoFCMeshVertexElement::get().
void SoFCMeshOpenEdgeSet::initClass | ( | void | ) | [static] |
Definition at line 1069 of file SoFCMeshFaceSet.cpp.