|
| | PolygonSet () |
| |
| | ~PolygonSet () override |
| |
| void | setPolygons (const CArrayList< uint > &indices) |
| | initialize polygon indices
|
| |
| void | setPolygons (const DArrayList< uint > &indices) |
| |
| DArrayList< uint > & | polygonIndices () |
| |
| DArrayList< uint > & | vertex2Polygon () |
| |
| DArrayList< uint > & | polygon2Edge () |
| |
| DArray<::dyno::TopologyModule::Edg2Poly > & | edge2Polygon () |
| |
| void | copyFrom (PolygonSet< TDataType > &polygons) |
| |
| bool | isEmpty () override |
| |
| void | extractEdgeSet (EdgeSet< TDataType > &es) |
| | extract and merge edges from all polygons into one EdgeSet
|
| |
| void | extractTriangleSet (TriangleSet< TDataType > &ts) |
| | extract all triangles
|
| |
| void | extractQuadSet (QuadSet< TDataType > &qs) |
| | extract all quads
|
| |
| void | turnIntoTriangleSet (TriangleSet< TDataType > &ts) |
| | turn all polygons into triangles and store into one TriangleSet
|
| |
| void | triangleSetToPolygonSet (TriangleSet< TDataType > &ts) |
| | turn all polygons into triangles and store into one TriangleSet
|
| |
| | EdgeSet () |
| |
| | ~EdgeSet () override |
| |
| void | setEdges (std::vector< Edge > &edges) |
| |
| void | setEdges (DArray< Edge > &edges) |
| |
| void | requestPointNeighbors (DArrayList< int > &lists) |
| | Request the neighboring ids of each point according to the mesh topology Be sure update() is called as long as the topology is changed.
|
| |
| DArray< Edge > & | getEdges () |
| | Get all edges with each one containing the indices of two edge ends.
|
| |
| DArrayList< int > & | vertex2Edge () |
| | Get the Ver2 Edge object.
|
| |
| void | copyFrom (EdgeSet< TDataType > &edgeSet) |
| |
| void | clear () override |
| |
| void | loadSmeshFile (std::string filename) |
| |
| | EdgeSet () |
| |
| | ~EdgeSet () override |
| |
| void | setEdges (const DArray< Edge > &edges) |
| |
| void | setEdges (const std::vector< Edge > &edges) |
| |
| DArray< Edge > & | getEdges () |
| |
| void | copyFrom (EdgeSet &es) |
| |
| | PointSet () |
| |
| | ~PointSet () override |
| |
| void | copyFrom (PointSet< TDataType > &pointSet) |
| |
| void | setPoints (const std::vector< Coord > &pos) |
| |
| void | setPoints (const DArray< Coord > &pos) |
| |
| void | setSize (int size) |
| |
| int | getPointSize () |
| |
| void | requestBoundingBox (Coord &lo, Coord &hi) |
| | Return the lower and upper bounds for all points.
|
| |
| void | scale (const Real s) |
| |
| void | scale (const Coord s) |
| |
| void | translate (const Coord t) |
| |
| virtual void | rotate (const Coord angle) |
| |
| virtual void | rotate (const Quat< Real > q) |
| |
| void | loadObjFile (std::string filename) |
| |
| DArray< Coord > & | getPoints () |
| | Return the array of points.
|
| |
| | PointSet () |
| |
| | ~PointSet () override |
| |
| DArray< Vec3f > & | getPoints () |
| |
| void | setPoints (std::vector< Vec3f > &points) |
| |
| void | setPoints (const DArray< Vec3f > &points) |
| |
| void | clear () |
| |
| | TopologyModule () |
| |
| | ~TopologyModule () override |
| |
| virtual int | getDOF () |
| |
| void | tagAsChanged () |
| |
| void | tagAsUnchanged () |
| |
| bool | isTopologyChanged () |
| |
| void | update () |
| |
| | OBase () |
| |
| | ~OBase () override |
| |
| virtual std::string | caption () |
| | Return the caption.
|
| |
| virtual bool | captionVisible () |
| | Whether to hide the caption in the GUI.
|
| |
| virtual std::string | description () |
| | Return a description for the node or module, override this function to support user-defined description.
|
| |
| virtual std::string | getName () |
| |
| bool | addField (FBase *data) |
| | Add a field to Base FieldID will be set to the name of Field by default.
|
| |
| bool | addField (FieldID name, FBase *data) |
| | Add a field to Base.
|
| |
| bool | addFieldAlias (FieldID name, FBase *data) |
| |
| bool | addFieldAlias (FieldID name, FBase *data, FieldMap &fieldAlias) |
| |
| bool | findField (FBase *data) |
| | Find a field by its pointer.
|
| |
| bool | findFieldAlias (const FieldID name) |
| | Find a field by its name.
|
| |
| bool | findFieldAlias (const FieldID name, FieldMap &fieldAlias) |
| | Find a field in fieldAlias by its name This function is typically called by other functions.
|
| |
| bool | removeField (FBase *data) |
| | Remove a field by its pointer.
|
| |
| bool | removeFieldAlias (const FieldID name) |
| | Remove a field by its name.
|
| |
| bool | removeFieldAlias (const FieldID name, FieldMap &fieldAlias) |
| |
| FBase * | getField (const FieldID name) |
| | Return a field by its name.
|
| |
| std::vector< FBase * > & | getAllFields () |
| |
| virtual bool | attachField (FBase *field, std::string name, std::string desc, bool autoDestroy=true) |
| | Attach a field to Base.
|
| |
| template<typename T> |
| T * | getField (FieldID name) |
| |
| bool | isAllFieldsReady () |
| | Check the completeness of all required fields.
|
| |
| std::vector< FieldID > | getFieldAlias (FBase *data) |
| |
| int | getFieldAliasCount (FBase *data) |
| |
| void | setBlockCoord (float x, float y) |
| |
| float | bx () |
| |
| float | by () |
| |
| bool | findInputField (FBase *field) |
| |
| bool | addInputField (FBase *field) |
| |
| bool | removeInputField (FBase *field) |
| |
| std::vector< FBase * > & | getInputFields () |
| |
| bool | findOutputField (FBase *field) |
| |
| bool | addOutputField (FBase *field) |
| |
| bool | addToOutput (FBase *field) |
| |
| bool | removeOutputField (FBase *field) |
| |
| bool | removeFromOutput (FBase *field) |
| |
| std::vector< FBase * > & | getOutputFields () |
| |
| bool | findParameter (FBase *field) |
| |
| bool | addParameter (FBase *field) |
| |
| bool | removeParameter (FBase *field) |
| |
| std::vector< FBase * > & | getParameters () |
| |
| | Object () |
| |
| virtual | ~Object () |
| |
| ObjectId | objectId () |
| |
|
| typedef TDataType::Real | Real |
| |
| typedef TDataType::Coord | Coord |
| |
| typedef TopologyModule::Edge | Edge |
| |
| typedef TDataType::Real | Real |
| |
| typedef TDataType::Coord | Coord |
| |
| typedef PointType | Point |
| |
| typedef VectorND< PointType, 2 > | Edge |
| |
| typedef Vector< PointType, 3 > | Triangle |
| |
| typedef VectorND< PointType, 4 > | Quad |
| |
| typedef VectorND< PointType, 4 > | Tetrahedron |
| |
| typedef VectorND< PointType, 5 > | Pyramid |
| |
| typedef VectorND< PointType, 6 > | Pentahedron |
| |
| typedef VectorND< PointType, 8 > | Hexahedron |
| |
| typedef VectorND< PointType, 2 > | Edg2Tri |
| |
| typedef VectorND< PointType, 3 > | Tri2Edg |
| |
| typedef VectorND< PointType, 2 > | Edg2Quad |
| |
| typedef VectorND< PointType, 4 > | Quad2Edg |
| |
| typedef VectorND< PointType, 2 > | Tri2Tet |
| |
| typedef VectorND< PointType, 4 > | Tet2Tri |
| |
| typedef VectorND< PointType, 2 > | Tri2Quad |
| |
| typedef VectorND< PointType, 2 > | Quad2Hex |
| |
| typedef VectorND< PointType, 2 > | Edg2Hex |
| |
| typedef VectorND< PointType, 2 > | Edg2Poly |
| |
| typedef std::vector< FBase * > | FieldVector |
| |
| typedef std::map< FieldID, FBase * > | FieldMap |
| |
| static bool | registerClass (ClassInfo *ci) |
| |
| static Object * | createObject (std::string name) |
| |
| static std::map< std::string, ClassInfo * > * | getClassMap () |
| |
| static ObjectId | baseId () |
| | Base Id.
|
| |
| DArray< Edge > | mEdgeIndex |
| |
| DArray< Vec3f > | mPoints |
| |
| DArray< Edge > | mEdges |
| |
| DArrayList< int > | mVer2Edge |
| |
| DArray< Coord > | mCoords |
| |
| std::vector< FBase * > | fields_input |
| |
| std::vector< FBase * > | fields_output |
| |
| std::vector< FBase * > | fields_param |
| |
template<typename TDataType>
class dyno::PolygonSet< TDataType >
a class to store polygon whose vertex number is greater or equal than 3
Definition at line 28 of file PolygonSet.h.