110 bool getModified()
const;
113 virtual void setName(
const QString &);
116 virtual QMenu * getPopupMenu(QWidget* parent);
119 void progressOneStep();
122 virtual QPixmap getIcon();
135 void createPointData();
138 void destroyPointData();
148 virtual double getBoundingRadius();
151 virtual void getBounds(
double bounds[6]);
154 void computeBoundingRadius();
190 virtual vtkSmartPointer< vtkPointSet > getPointSet();
199 QWidget *getAtomDCWidget(
AtomDC *adc = NULL, QWidget *parent = NULL);
209 void buildPhysicalModelDCs();
214 virtual void initRepresentation();
261 return initialBoundingRadius;
266 return myLoadsManager;
272 return (
ComponentDC *) getDC(dynamic_cast<StructuralComponent *>(mc));
274 return (
ComponentDC *) getDC(dynamic_cast<MultiComponent *>(mc));
298 return (result == myADCMap.end()) ? NULL : (result->second);
double initialBoundingRadius
the bounding sphere radius calculated just after the PML is loaded
Definition: PMManagerDC.h:250
A cell has an unique index in the physical model object, is composed by atoms, and different basic pr...
Definition: Cell.h:46
The manager of the physical model data.
Definition: PMManagerDC.h:97
LoadsManager * getLoadsManager()
get the load manager
Definition: PMManagerDC.h:265
std::map< Atom *, AtomDC * >::iterator AtomDCMapIterator
the iterator corresponding to the AtomDCMap map
Definition: PMManagerDC.h:83
Exception class to handle abortion in component instanciation.
Definition: AbortException.h:43
std::map< ::Component *, ComponentDC * > ComponentDCMap
definition of the association STL map ComponentDCMap.
Definition: PMManagerDC.h:68
std::ComponentDCMap mySCDCMap
the SC / DC map
Definition: PMManagerDC.h:232
#define PHYSICALMODEL_COMPONENT_API
Definition: PMComponentAPI.h:54
std::pair< Atom *, AtomDC * > AtomDCPair
definition of a couple (=STL pair) [Atom *, AtomDC *] this associates an atom to its DC ...
Definition: PMManagerDC.h:75
void addAtomDCPair(std::AtomDCPair)
add the A/DC pair
Definition: PMManagerDC.h:290
std::ComponentDCMap myMCDCMap
the MC / DC map
Definition: PMManagerDC.h:229
Basic component to manage any kind of mesh.
Definition: MeshComponent.h:51
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:255
std::map< ::Component *, ComponentDC * >::iterator ComponentDCMapIterator
the iterator corresponding to the ComponentDC map
Definition: PMManagerDC.h:70
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:223
static QPixmap * myPixmap
the PMManagerDC icon
Definition: PMManagerDC.h:226
The manager of the Atom data.
Definition: AtomDC.h:74
void addStructuralComponentDCPair(std::ComponentDCPair)
add the SC/DC pair
Definition: PMManagerDC.h:285
AtomDCWidget * myAtomDCWidget
the atomdc widget
Definition: PMManagerDC.h:241
void addMultiComponentDCPair(std::ComponentDCPair)
add the MC/DC pair
Definition: PMManagerDC.h:280
LoadsManager * myLoadsManager
the load manager
Definition: PMManagerDC.h:247
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
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:49
Mode
This is a duplicate of RenderingMode Mode....
Definition: RenderingMode.h:40
ComponentDC * getDC(::Component *)
get the DC of a particular Component
Definition: PMManagerDC.h:270
This is the main class of this project.
Definition: PhysicalModel.h:86
virtual double getBoundingRadius()
get the bounding sphere radius (calculated when loaded)
Definition: PMManagerDC.h:260
The manager of the Cell data.
Definition: CellDC.h:47
PhysicalModel * myPM
the physical model managed here
Definition: PMManagerDC.h:244
A structural component is composed either by cell or by atoms.
Definition: StructuralComponent.h:52
std::pair< ::Component *, ComponentDC * > ComponentDCPair
definition of a couple (=STL pair) [Component *, ComponentDC *] this associates a Component to its DC...
Definition: PMManagerDC.h:60
std::AtomDCMap myADCMap
the A / DC map
Definition: PMManagerDC.h:238
std::map< Atom *, AtomDC * > AtomDCMap
definition of the association set (=map in STL) AtomDCMap.
Definition: PMManagerDC.h:81
unsigned int nrOfSteps
Total Number of Step.
Definition: PMManagerDC.h:220
unsigned int nrOfDoneSteps
Number of Step done yet.
Definition: PMManagerDC.h:217
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:235