|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef STRUCTUREPROPERTIES_H
27 #define STRUCTUREPROPERTIES_H
173 #endif //STRUCTUREPROPERTIES_H
Describes the properties common to all structures.
Definition: StructureProperties.h:38
@ WEDGE
the structure is a wedge (like the Pink Floyd's "Dark Side Of the Moon" prism), it must be a cell and...
Definition: StructureProperties.h:160
@ TETRAHEDRON
the structure is a tetrahedron, it must be a cell and have sub-structures that are atoms
Definition: StructureProperties.h:159
GeometricType
Geometric type gives information about which kind of geometric representation is the structure.
Definition: StructureProperties.h:130
unsigned int getIndex() const
return the unique index in the global structure
Definition: StructureProperties.h:166
void xmlPrint(std::ostream &) const
print to an output stream in "pseaudo" XML format.
Definition: StructureProperties.cpp:115
static GeometricType toType(const std::string)
return the enum corresponding to this string
Definition: StructureProperties.cpp:35
This is the main class of this project. Following a nice concept, a physical model is able to represe...
Definition: PhysicalModel.h:86
@ INVALID
invalid geometry type
Definition: StructureProperties.h:154
GeometricType type
The geometric type,.
Definition: StructureProperties.h:174
@ PYRAMID
the structure has a quad base and one vertex outside the defined base plane (like an egyptian pyramid...
Definition: StructureProperties.h:161
void setIndex(const unsigned int)
set the index (BECAREFUL: it MUST be unique !!!)
Definition: StructureProperties.h:169
void setType(const GeometricType t)
Set the force type.
Definition: StructureProperties.h:163
@ HEXAHEDRON
the structure is a hexahedron, it must be a cell and have sub-structures that are atoms
Definition: StructureProperties.h:162
@ TRIANGLE
the structure is a triangle, i.e it must be a cell composed of 3 atoms
Definition: StructureProperties.h:157
@ LINE
the structure is a simple line, i.e it must be a cell composed of only 2 atoms
Definition: StructureProperties.h:156
StructureProperties(PhysicalModel *, const GeometricType)
the only default constructor : type must be set
Definition: StructureProperties.cpp:29
unsigned int index
unique index in the global structure
Definition: StructureProperties.h:178
@ POLY_VERTEX
the structure is a poly vertex, i.e it must be a cell and it is a point clouds
Definition: StructureProperties.h:164
@ ATOM
the structure is an atom, and hence should be represented by a single point
Definition: StructureProperties.h:155
Describes the properties common to all structures and components.
Definition: Properties.h:59
@ QUAD
the structure is a quad, i.e it must be a cell composed of 4 atoms
Definition: StructureProperties.h:158
static std::string toString(const GeometricType)
return the string equivalent to this geometric type
Definition: StructureProperties.cpp:72
GeometricType getType() const
Return the type of force.
Definition: StructureProperties.h:160
~StructureProperties()=default
@ POLY_LINE
the structure is a polyline, i.e it must be a cell and the order of the atom in the cell are arranged...
Definition: StructureProperties.h:163