|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
29 #ifndef MMLMONITORSDISLPAYS_COLORS_H
30 #define MMLMONITORSDISLPAYS_COLORS_H
39 ~
Colors()
override =
default;
Colors(Monitor *monitor, MMLComponent *manager)
constructor
Definition: Colors.cpp:39
MMLComponent * manager
display
Definition: MMLMonitorDisplay.h:64
vtkIdType getPointId(const Atom *a)
get the point Id from the corresponding atom, this is the opposite of pml->getAtom(id)
Definition: PMLComponent.h:290
bool colorsRegistered
Definition: Colors.cpp:36
PMLComponent * getPMLComponent()
get Physical model manager
Definition: MMLComponent.cpp:157
An atom has an unique index in the physical model object, a 3D position, and different basic properti...
Definition: Atom.h:49
PhysicalModel * getPhysicalModel()
Definition: PMLComponent.cpp:104
void setDataRepresentationOff(int dataType=SCALARS|VECTORS|TENSORS)
hide all the data representation of a given data type (hide all by default)
Definition: MeshComponent.cpp:845
unsigned int getNumberOfAtoms() const
get the number of atoms
Definition: PhysicalModel.cpp:716
@ SCALARSET
Definition: Monitor.h:108
Atom * getAtom(const unsigned int id)
Get the atom that has the global index given in parameters.
Definition: PhysicalModel.h:385
Monitor * monitor
monitor
Definition: MMLMonitorDisplay.h:62
static MMLMonitorDisplayFactory * getInstance()
return the unique instance of the factory
Definition: MMLMonitorDisplayFactory.cpp:60
void update() override
update display
Definition: Colors.cpp:44
int getIndexOfValues(const unsigned int i)
get index i of indexes vector
Definition: Monitor.cpp:240
virtual void hide()=0
hide display
void addDataArray(FieldType fieldType, const QString &name, vtkSmartPointer< vtkDataArray > data)
Add a data array.
Definition: MeshComponent.cpp:1066
Generic class for MML Monitor 3D/Graphical representation.
Definition: MMLMonitorDisplay.h:45
@ POINTS
data are attached to point
Definition: MeshComponent.h:67
This class manage an MML monitoring document ".mml".
Definition: MMLComponent.h:48
bool registerClass(std::string id, Monitor::type type)
Register a class into the map A registered class can be created using createMonitorDisplay().
Definition: MMLMonitorDisplayFactory.h:64
This class manages a physical model (PML) CamiTK component.
Definition: PMLComponent.h:103
double getValue(const unsigned int i)
get value i of values vector
Definition: Monitor.cpp:250
unsigned int getNumberOfIndex()
get number of index in indexes vetor
Definition: Monitor.cpp:260
#define MMLCOMPONENT_API
Definition: MMLComponentAPI.h:54
virtual std::string getTypeName()=0
A monitor calculate and store followed data (ex:calculation between current position and references) ...
Definition: Monitor.h:49
virtual void update()=0
update display
void hide() override
hide display
Definition: Colors.cpp:68