 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
26 #ifndef CELLPROPERTIES_H
27 #define CELLPROPERTIES_H
71 virtual void xmlPrint(std::ostream&);
83 #endif // CELLPROPERTIES_H
Describes the properties common to all structures.
Definition: StructureProperties.h:37
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:157
the structure is a tetrahedron, it must be a cell and have sub-structures that are atoms
Definition: StructureProperties.h:156
GeometricType
Geometric type gives information about which kind of geometric representation is the structure.
Definition: StructureProperties.h:128
void xmlToFields(xsd::cxx::tree::attribute_set< char > attrs)
convert the xml node parameters to data fields
Definition: Properties.cpp:44
static void resetUniqueIndex()
Reinitialize the unique index to zero (usually that what you want to do when you start to load a new ...
Definition: CellProperties.cpp:30
PhysicalModel * myPM
pointer to the physical model the object is in
Definition: Properties.h:135
Describes and manages the properties attached to cells.
Definition: CellProperties.h:43
CellProperties(PhysicalModel *myPM, const StructureProperties::GeometricType t)
Default constructor : generate an unique index.
Definition: CellProperties.cpp:57
std::string getName() const
get the name (be careful, this method DOES NOT return a copy, so you got the direct ptr to the name!...
Definition: Properties.h:249
This is the main class of this project. Following a nice concept, a physical model is able to represe...
Definition: PhysicalModel.h:85
the structure has a quad base and one vertex outside the defined base plane (like an egyptian pyramid...
Definition: StructureProperties.h:158
the structure is a hexahedron, it must be a cell and have sub-structures that are atoms
Definition: StructureProperties.h:159
the structure is a triangle, i.e it must be a cell composed of 3 atoms
Definition: StructureProperties.h:154
void setName(std::string)
set the name (use the string = operator)
Definition: Properties.h:253
the structure is a simple line, i.e it must be a cell composed of only 2 atoms
Definition: StructureProperties.h:153
static unsigned int maxUniqueIndex
unique number (used to generate unique index for cells if not given at the instantiation)
Definition: CellProperties.h:79
unsigned int index
unique index in the global structure
Definition: StructureProperties.h:176
the structure is a poly vertex, i.e it must be a cell and it is a point clouds
Definition: StructureProperties.h:161
the structure is a quad, i.e it must be a cell composed of 4 atoms
Definition: StructureProperties.h:155
virtual void xmlPrint(std::ostream &)
print to an output stream in "pseaudo" XML format.
Definition: CellProperties.cpp:70
~CellProperties()=default
the destructor...
GeometricType getType() const
Return the type of force.
Definition: StructureProperties.h:159
std::map< std::string, std::string > fields
map containing all the different fields (name, value stored as string )
Definition: Properties.h:128
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:160