#include <SoFCMeshObject.h>
Public Member Functions | |
SoFCMeshObjectBoundary () | |
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 253 of file SoFCMeshObject.h.
SoFCMeshObjectBoundary::SoFCMeshObjectBoundary | ( | ) |
Definition at line 1542 of file SoFCMeshObject.cpp.
void SoFCMeshObjectBoundary::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 1646 of file SoFCMeshObject.cpp.
References Base::BoundBox3< _Precision >::CalcCenter(), MeshGui::SoFCMeshObjectElement::get(), Mesh::MeshObject::getKernel(), MeshCore::MeshKernel::GetPoints(), 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 SoFCMeshObjectBoundary::generatePrimitives | ( | SoAction * | action | ) | [protected, virtual] |
Definition at line 1598 of file SoFCMeshObject.cpp.
References MeshGui::SoFCMeshObjectElement::get(), MeshCore::MeshKernel::GetFacets(), Mesh::MeshObject::getKernel(), MeshCore::MeshKernel::GetPoints(), and sbvec3f().
void SoFCMeshObjectBoundary::getPrimitiveCount | ( | SoGetPrimitiveCountAction * | action | ) | [protected, virtual] |
Adds the number of the triangles to the SoGetPrimitiveCountAction.
Definition at line 1671 of file SoFCMeshObject.cpp.
References MeshGui::SoFCMeshObjectElement::get(), MeshCore::MeshKernel::GetFacets(), and Mesh::MeshObject::getKernel().
void SoFCMeshObjectBoundary::GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
Renders the open edges only.
Definition at line 1550 of file SoFCMeshObject.cpp.
References MeshGui::SoFCMeshObjectElement::get().
void SoFCMeshObjectBoundary::initClass | ( | void | ) | [static] |
Definition at line 1537 of file SoFCMeshObject.cpp.
Referenced by initMeshGui().