#include <SoFCMeshNode.h>
Public Member Functions | |
| void | setMesh (const Mesh::MeshObject *mesh) |
| Sets the mesh. | |
| SoFCMeshOpenEdge () | |
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 82 of file SoFCMeshNode.h.
| SoFCMeshOpenEdge::SoFCMeshOpenEdge | ( | ) |
Definition at line 655 of file SoFCMeshNode.cpp.
| void SoFCMeshOpenEdge::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 726 of file SoFCMeshNode.cpp.
References Base::BoundBox3< _Precision >::CalcCenter(), SketcherExample::f, MeshCore::MeshKernel::GetBoundBox(), Mesh::MeshObject::getKernel(), 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 SoFCMeshOpenEdge::generatePrimitives | ( | SoAction * | action | ) | [protected, virtual] |
Definition at line 718 of file SoFCMeshNode.cpp.
| void SoFCMeshOpenEdge::getPrimitiveCount | ( | SoGetPrimitiveCountAction * | action | ) | [protected, virtual] |
Adds the number of the triangles to the SoGetPrimitiveCountAction.
Definition at line 745 of file SoFCMeshNode.cpp.
References MeshCore::MeshKernel::GetFacets(), and Mesh::MeshObject::getKernel().
| void SoFCMeshOpenEdge::GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
Renders the open edges only.
Definition at line 671 of file SoFCMeshNode.cpp.
| void SoFCMeshOpenEdge::initClass | ( | void | ) | [static] |
Definition at line 650 of file SoFCMeshNode.cpp.
| void SoFCMeshOpenEdge::setMesh | ( | const Mesh::MeshObject * | mesh | ) |
Sets the mesh.
Definition at line 663 of file SoFCMeshNode.cpp.
Referenced by MeshGui::ViewProviderMeshNode::showOpenEdges().
1.6.1