1 #ifndef SMALLCHANGE_SOFEM_H 2 #define SMALLCHANGE_SOFEM_H 36 #include <Inventor/nodekits/SoSubKit.h> 37 #include <Inventor/nodekits/SoBaseKit.h> 38 #include <Inventor/fields/SoSFBool.h> 39 #include <Inventor/SbVec3f.h> 41 #include <SmallChange/basic.h> 55 SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
56 SO_KIT_CATALOG_ENTRY_HEADER(shapehints);
57 SO_KIT_CATALOG_ENTRY_HEADER(mbind);
58 SO_KIT_CATALOG_ENTRY_HEADER(nbind);
59 SO_KIT_CATALOG_ENTRY_HEADER(nodes);
60 SO_KIT_CATALOG_ENTRY_HEADER(colors);
61 SO_KIT_CATALOG_ENTRY_HEADER(normals);
62 SO_KIT_CATALOG_ENTRY_HEADER(faceset);
79 void removeHiddenFaces(
const SbBool onoff);
81 void addNode(
const int nodeidx,
const SbVec3f & xyz);
82 void add3DElement(
const int elementidx,
const int32_t * nodes,
const int layerindex = 0);
83 void add2DElement(
const int elementidx,
const int32_t * nodes,
const int layerindex = 0);
85 void setNodeColor(
const int nodeidx,
const SbColor & color);
86 void setElementColor(
const int elementidx,
const SbColor & color);
88 void enableAllElements(
const SbBool onoroff);
89 void enableElement(
const int elementidx,
const SbBool onoroff);
90 void enableElements(
const SbPlane & plane,
const SbBool onoroff);
91 void enableLayer(
const int layerindex,
const SbBool onoroff);
93 void create3DIndices(int32_t * idxarray,
const int32_t * nodes);
94 void create2DIndices(int32_t * idxarray,
const int32_t * nodes);
98 void updateScene(
void);
100 static void ccw_cb(
void * data,
SoSensor * sensor);
101 static void update_cb(
void * data,
SoSensor * sensor);
106 #endif // !SMALLCHANGE_SOFEM_H
SoSFBool ccw
Definition: SoFEMKit.h:67
The SoFEMKit class is used to visualize finite element meshes.
Definition: SoFEMKit.h:50
virtual void GLRender(SoGLRenderAction *action)
static void initClass(void)
virtual void getBoundingBox(SoGetBoundingBoxAction *action)