60 typedef std::pair< ::Component *, ComponentDC *> ComponentDCPair;
68 typedef std::map < ::Component *, ComponentDC *> ComponentDCMap;
70 typedef std::map < ::Component *, ComponentDC *>::iterator ComponentDCMapIterator;
75 typedef std::pair<Atom *, AtomDC *> AtomDCPair;
81 typedef std::map <Atom *, AtomDC *> AtomDCMap;
83 typedef std::map <Atom *, AtomDC *>::iterator AtomDCMapIterator;
113 virtual void setName(
const QString &);
119 void progressOneStep();
135 void createPointData();
138 void destroyPointData();
151 virtual void getBounds(
double bounds[6]);
154 void computeBoundingRadius();
178 void addMultiComponentDCPair(std::ComponentDCPair);
181 void addStructuralComponentDCPair(std::ComponentDCPair);
184 void addCellDCPair(std::ComponentDCPair);
187 void addAtomDCPair(std::AtomDCPair);
196 QWidget *getAtomDCWidget(
AtomDC *adc = NULL, QWidget *parent = NULL);
206 void buildPhysicalModelDCs();
294 std::AtomDCMapIterator result =
myADCMap.find(a);
295 return (result ==
myADCMap.end()) ? NULL : (result->second);
double initialBoundingRadius
the bounding sphere radius calculated just after the PML is loaded
Definition: PMManagerDC.h:247
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:41
The manager of the physical model data.
Definition: PMManagerDC.h:97
LoadsManager * getLoadsManager()
get the load manager
Definition: PMManagerDC.h:262
Exception class to handle abortion in component instanciation.
Definition: AbortException.h:44
std::ComponentDCMap mySCDCMap
the SC / DC map
Definition: PMManagerDC.h:229
#define PHYSICALMODEL_COMPONENT_API
Definition: PMComponentAPI.h:54
void addAtomDCPair(std::AtomDCPair)
add the A/DC pair
Definition: PMManagerDC.h:287
std::ComponentDCMap myMCDCMap
the MC / DC map
Definition: PMManagerDC.h:226
static QPixmap * myPixmap
the PMManagerDC icon
Definition: PMManagerDC.h:223
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:44
The manager of the MultiComponent data.
Definition: MultiComponentDC.h:50
virtual bool isInstanceOf(const char *) const =0
pure virtual method, implemented in the child-class
PhysicalModel * getPhysicalModel()
get the current managed PhysicalModel
Definition: PMManagerDC.h:252
Mode
This is a duplicate of RenderingMode Mode....
Definition: RenderingMode.h:40
virtual void initRepresentation()
the concrete building of the 3D objects (Slice/Geometry): none in this case, everything is done by in...
Definition: MeshComponent.h:106
The manager of the Component data.
Definition: ComponentDC.h:43
This class manages the applied all loads (see LML), deformation add-on, atom data monitoring and atom...
Definition: LoadsManager.h:69
PMManagerDCPopup * myPopupMenu
the popup menu
Definition: PMManagerDC.h:220
virtual QMenu * getPopupMenu(QWidget *parent=0)
get the popup menu to display (always return NULL, overwrite this method if you want to give here you...
Definition: sdk/libraries/core/component/Component.h:529
The manager of the Atom data.
Definition: AtomDC.h:74
void addStructuralComponentDCPair(std::ComponentDCPair)
add the SC/DC pair
Definition: PMManagerDC.h:282
AtomDCWidget * myAtomDCWidget
the atomdc widget
Definition: PMManagerDC.h:238
void addMultiComponentDCPair(std::ComponentDCPair)
add the MC/DC pair
Definition: PMManagerDC.h:277
LoadsManager * myLoadsManager
the load manager
Definition: PMManagerDC.h:244
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
The manager of the Structural component data.
Definition: StructuralComponentDC.h:83
virtual bool getModified() const
set the modified flag
Definition: sdk/libraries/core/component/Component.h:826
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:44
virtual void getBounds(double *bounds)
compute the object's bounding box [xmin,xmax, ymin,ymax, zmin,zmax], see Component.cpp
ComponentDC * getDC(::Component *)
get the DC of a particular Component
Definition: PMManagerDC.h:267
This is the main class of this project.
Definition: PhysicalModel.h:74
virtual double getBoundingRadius()
get the bounding sphere radius (calculated when loaded)
Definition: PMManagerDC.h:257
The manager of the Cell data.
Definition: CellDC.h:47
virtual QPixmap getIcon()
Get the pixmap that will be displayed for this node.
Definition: sdk/libraries/core/component/Component.h:804
PhysicalModel * myPM
the physical model managed here
Definition: PMManagerDC.h:241
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:48
std::AtomDCMap myADCMap
the A / DC map
Definition: PMManagerDC.h:235
virtual void setName(const QString &)
set the name to be displayed
Definition: sdk/libraries/core/component/Component.h:814
unsigned int nrOfSteps
Total Number of Step.
Definition: PMManagerDC.h:217
unsigned int nrOfDoneSteps
Number of Step done yet.
Definition: PMManagerDC.h:214
A multi-component stores other components, hence providing a way to have an tree representation of co...
Definition: MultiComponent.h:44
std::ComponentDCMap myCDCMap
the Cell / DC map
Definition: PMManagerDC.h:232
virtual double getBoundingRadius()
compute the object's bounding sphere radius,