![]() |
PeriDyno 1.0.0
|
#include <TopologyModule.h>
Public Types | |
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 |
Public Member Functions | |
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 () |
Protected Member Functions | |
virtual void | updateTopology () |
Private Attributes | |
bool | m_topologyChanged |
Additional Inherited Members | |
![]() | |
static bool | registerClass (ClassInfo *ci) |
static Object * | createObject (std::string name) |
static std::map< std::string, ClassInfo * > * | getClassMap () |
static ObjectId | baseId () |
Base Id. | |
![]() | |
std::vector< FBase * > | fields_input |
std::vector< FBase * > | fields_output |
std::vector< FBase * > | fields_param |
Definition at line 24 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Edg2Hex |
Definition at line 50 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Edg2Poly |
Definition at line 52 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Edg2Quad |
Definition at line 41 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Edg2Tri |
Definition at line 38 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Edge |
Definition at line 30 of file TopologyModule.h.
typedef VectorND<PointType, 8> dyno::TopologyModule::Hexahedron |
Definition at line 36 of file TopologyModule.h.
typedef VectorND<PointType, 6> dyno::TopologyModule::Pentahedron |
Definition at line 35 of file TopologyModule.h.
typedef PointType dyno::TopologyModule::Point |
Definition at line 29 of file TopologyModule.h.
typedef VectorND<PointType, 5> dyno::TopologyModule::Pyramid |
Definition at line 34 of file TopologyModule.h.
typedef VectorND<PointType, 4> dyno::TopologyModule::Quad |
Definition at line 32 of file TopologyModule.h.
typedef VectorND<PointType, 4> dyno::TopologyModule::Quad2Edg |
Definition at line 42 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Quad2Hex |
Definition at line 49 of file TopologyModule.h.
typedef VectorND<PointType, 4> dyno::TopologyModule::Tet2Tri |
Definition at line 45 of file TopologyModule.h.
typedef VectorND<PointType, 4> dyno::TopologyModule::Tetrahedron |
Definition at line 33 of file TopologyModule.h.
typedef VectorND<PointType, 3> dyno::TopologyModule::Tri2Edg |
Definition at line 39 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Tri2Quad |
Definition at line 47 of file TopologyModule.h.
typedef VectorND<PointType, 2> dyno::TopologyModule::Tri2Tet |
Definition at line 44 of file TopologyModule.h.
typedef Vector<PointType, 3> dyno::TopologyModule::Triangle |
Definition at line 31 of file TopologyModule.h.
dyno::TopologyModule::TopologyModule | ( | ) |
Definition at line 8 of file TopologyModule.cpp.
|
override |
Definition at line 15 of file TopologyModule.cpp.
|
inlinevirtual |
Definition at line 58 of file TopologyModule.h.
|
inline |
Definition at line 62 of file TopologyModule.h.
|
inline |
Definition at line 60 of file TopologyModule.h.
|
inline |
Definition at line 61 of file TopologyModule.h.
void dyno::TopologyModule::update | ( | ) |
Definition at line 19 of file TopologyModule.cpp.
|
inlineprotectedvirtual |
Reimplemented in dyno::DiscreteElements< TDataType >, dyno::EdgeSet< TDataType >, dyno::EdgeSet< TDataType >, dyno::PolygonSet< TDataType >, dyno::QuadSet< TDataType >, dyno::SimplexSet< TDataType >, dyno::TetrahedronSet< TDataType >, dyno::TriangleSet< TDataType >, and dyno::TriangleSet< TDataType >.
Definition at line 70 of file TopologyModule.h.
|
private |
Definition at line 73 of file TopologyModule.h.