30 #include <camitkcore/Component.h> 33 #include <vtkFollower.h> 34 #include <vtkSmartPointer.h> 85 virtual void setParent(InterfaceNode *);
87 virtual QPixmap getIcon();
90 void pointPicked(vtkIdType,
bool);
93 virtual void setSelected(
const bool,
const bool recursive=
false);
96 virtual void setEnhancedModes(
const EnhancedModes);
99 virtual void setName(
const QString &);
102 virtual void setPointSet(vtkSmartPointer<vtkPointSet>);
105 virtual QMenu * getPopupMenu(QWidget* parent);
108 virtual QWidget * getPropertyWidget(QWidget* parent = 0);
111 virtual QObject * getPropertyObject();
114 virtual bool doubleClicked();
118 void setPosition(
double,
double,
double);
121 void getPosition(
double &,
double &,
double &);
127 void updatePosition();
130 void resetAlreadyMovedFlag();
137 return myPMManagerDC;
158 void clearPointData();
161 void updatePointData(
const double);
177 virtual void initRepresentation();
The manager of the physical model data.
Definition: PMManagerDC.h:97
std::map< camitk::InterfaceNode *, unsigned int > IndexInParentItemMap
definition of the association set (=map in STL) IndexInParentItemMap.
Definition: AtomDC.h:58
This class allows you to display a geometric object (arrow, sphere, ...) positionned on an atom...
Definition: AtomDecoration.h:46
std::set< StructuralComponentDC * > pointDataSC
list of all the SC who asked for a point data in this AtomDC
Definition: AtomDC.h:207
static QPixmap * myPixmap
the AtomDC pixmap
Definition: AtomDC.h:201
Atom * getAtom()
get the atom this dc is representing
Definition: AtomDC.h:217
#define PHYSICALMODEL_COMPONENT_API
Definition: PMComponentAPI.h:54
QMap< QString, AtomDecoration * > decorations
list of decorations attached to this AtomDC
Definition: AtomDC.h:210
std::pair< camitk::InterfaceNode *, unsigned int > IndexInParentItemPair
definition of a couple (=STL pair) [InterfaceNode *, unsigned int] this associates a parent data comp...
Definition: AtomDC.h:51
The class AtomDCProperties defines an object that allows interaction of some properties of an atom...
Definition: AtomDCProperties.h:47
std::map< camitk::InterfaceNode *, unsigned int >::iterator IndexInParentItemMapIterator
the iterator corresponding to the IndexInParentItemMap map
Definition: AtomDC.h:60
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:299
The manager of the Atom data.
Definition: AtomDC.h:74
AtomDCProperties * myProp
the atom'properties
Definition: AtomDC.h:198
Atom * myAtom
The atom the dc is representing.
Definition: AtomDC.h:174
PMManagerDC * myPMManagerDC
the PMManagerDC
Definition: AtomDC.h:213
bool alreadyMoved
true if the atom has been already moved by another SC This is a way to solve the bug which occurs whe...
Definition: AtomDC.h:187
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
std::IndexInParentItemMap mySCDCindexes
correspondance between a SCDC and the order number of this atom dc in a particular SCDC (parent items...
Definition: AtomDC.h:192
std::vector< double * > pointData
list of all the point data adresses
Definition: AtomDC.h:204
Geometry
the geometric type
Definition: GeometricObject.h:58
AtomDCPopup * myPopupMenu
the popup menu
Definition: AtomDC.h:195
virtual PMManagerDC * getPMManagerDC()
get the PMManagerDC (given during instanciation), allows one to get PML/Component maps ...
Definition: AtomDC.h:136