#include <axlActor.h>
Public Types | |
enum | ActorState { passive, selection, edition } |
Public Slots | |
virtual void | hide (void) |
virtual void | show (void) |
virtual void | update (void) |
Public Slots inherited from axlAbstractActor | |
virtual void | onUpdateGeometry (void)=0 |
virtual void | onUpdateProperty (void) |
virtual void | onUpdateStructure (void) |
virtual void | hide (void) |
virtual void | show (void) |
virtual void | update (void) |
virtual void | onSamplingChanged (void) |
virtual void | onTubeFilterRadiusChanged (double radius) |
virtual void | onControlPointChanged (void) |
virtual void | onModeChanged (int state) |
virtual void | showCurrentPoint (double u, double v, dtkAbstractData *data) |
virtual void | moveCurrentPoint (double u, double v, dtkAbstractData *data) |
virtual void | hideCurrentPoint (double u, double v, dtkAbstractData *data) |
virtual void | onSelectBoundaryEdge (int numEdge, int previous, int n) |
Public Member Functions | |
virtual dtkAbstractData * | data (void)=0 |
virtual bool | isVisible (void) |
virtual void | setInteractor (void *interactor) |
virtual vtkRenderWindowInteractor * | getInteractor (void) |
virtual int | getState (void) |
virtual void | setState (int state) |
virtual void | setDisplay (bool display) |
virtual void | setOpacity (double opacity) |
virtual void | setSize (double size) |
virtual void | setColor (double red, double green, double blue) |
virtual void | setInterpolation (int interpolation) |
virtual void | setShader (QString vsfile) |
virtual void | setShaderFromString (QString vertex_shader_source, QString fragment_shader_source) |
virtual void | onRemoved (void) |
QStringList | fields (void) |
axlActor (void) | |
~axlActor (void) | |
dtkAbstractData * | getObserverData (void) |
vtkSmartPointer< vtkPoints > | getPoints (void) |
void | setPoints (vtkSmartPointer< vtkPoints > points) |
vtkSmartPointer< vtkDoubleArray > | getNormals (void) |
void | setNormals (vtkSmartPointer< vtkDoubleArray > normals) |
vtkSmartPointer< vtkPolyData > | getPolyData (void) |
void | setPolyData (vtkSmartPointer< vtkPolyData > polyData) |
vtkSmartPointer< vtkCellArray > | getCellArray (void) |
void | setCellArray (vtkSmartPointer< vtkCellArray > cellArray) |
vtkSmartPointer< vtkActor > | getActor (void) |
void | setActor (vtkSmartPointer< vtkActor > actor) |
vtkSmartPointer< vtkVolume > | getvtkVolume (void) |
void | setvtkVolume (vtkSmartPointer< vtkVolume > actor) |
vtkSmartPointer< vtkPolyDataMapper > | getMapper (void) |
void | setMapper (vtkSmartPointer< vtkPolyDataMapper > mapper) |
vtkSmartPointer< vtkDataSetMapper > | getDataSetMapper (void) |
void | setDataSetMapper (vtkSmartPointer< vtkDataSetMapper > mapper) |
vtkSmartPointer< vtkCellPicker > | getCellPicker () |
void | setCellPicker (vtkSmartPointer< vtkCellPicker > cellPicker) |
axlActorControlPolygonObserver * | getObserver (void) |
void | setObserver (axlActorControlPolygonObserver *observer) |
vtkSmartPointer< vtkUnstructuredGrid > | getUnstructuredGrid (void) |
void | setUnstructuredGrid (vtkSmartPointer< vtkUnstructuredGrid > unstructuredGrid) |
void | setObserverData (dtkAbstractData *data) |
void | NewObserver (void) |
void | deleteObserver (void) |
Public Member Functions inherited from axlAbstractActor | |
axlAbstractActor (axlAbstractActor *parent=0) | |
virtual | ~axlAbstractActor (void) |
virtual void | setData (dtkAbstractData *data) |
virtual void | showControlPoints (bool show) |
virtual bool | isShowControlPoints (void) |
virtual void | setMapperCollorArray (void) |
virtual void | setShaderFromString (QString xmlfile) |
virtual void | setParent (axlAbstractActor *parent) |
virtual axlAbstractActor * | parent (void) |
virtual axlMesh * | toMesh (void) |
virtual void | setMode (int state) |
virtual QString | identifier (void) |
Protected Member Functions | |
void | drawAssymblyMatrix (void) |
Additional Inherited Members | |
Signals inherited from axlAbstractActor | |
void | stateChanged (dtkAbstractData *data, int mode) |
void | updated (void) |
Definition at line 53 of file axlActor.h.
enum axlActor::ActorState |
Enumerator | |
---|---|
passive | |
selection | |
edition |
Definition at line 56 of file axlActor.h.
axlActor::axlActor | ( | void | ) |
Definition at line 771 of file axlActor.cpp.
axlActor::~axlActor | ( | void | ) |
Definition at line 779 of file axlActor.cpp.
|
pure virtual |
Implements axlAbstractActor.
Implemented in axlActorCone, axlActorCylinder, axlActorEllipsoid, axlActorLine, axlActorTorus, axlActorPlane, axlActorPoint, axlActorSphere, axlActorCurveBSpline, axlActorDataDynamic, axlActorMesh, axlActorSurfaceBSpline, axlActorVolumeBSpline, axlActorCircleArc, axlActorPointSet, axlActorSurfaceTrimmed, axlActorBSpline, axlActorVolumeDiscrete, and axlActorShapeBSpline.
void axlActor::deleteObserver | ( | void | ) |
Definition at line 405 of file axlActor.cpp.
|
protected |
Definition at line 761 of file axlActor.cpp.
QStringList axlActor::fields | ( | void | ) |
Definition at line 732 of file axlActor.cpp.
vtkSmartPointer< vtkActor > axlActor::getActor | ( | void | ) |
Definition at line 317 of file axlActor.cpp.
vtkSmartPointer< vtkCellArray > axlActor::getCellArray | ( | void | ) |
Definition at line 307 of file axlActor.cpp.
vtkSmartPointer< vtkCellPicker > axlActor::getCellPicker | ( | void | ) |
Definition at line 356 of file axlActor.cpp.
vtkSmartPointer< vtkDataSetMapper > axlActor::getDataSetMapper | ( | void | ) |
Definition at line 347 of file axlActor.cpp.
|
virtual |
Definition at line 264 of file axlActor.cpp.
vtkSmartPointer< vtkPolyDataMapper > axlActor::getMapper | ( | void | ) |
Definition at line 327 of file axlActor.cpp.
vtkSmartPointer< vtkDoubleArray > axlActor::getNormals | ( | void | ) |
Definition at line 285 of file axlActor.cpp.
axlActorControlPolygonObserver * axlActor::getObserver | ( | void | ) |
Definition at line 366 of file axlActor.cpp.
dtkAbstractData * axlActor::getObserverData | ( | void | ) |
Definition at line 270 of file axlActor.cpp.
vtkSmartPointer< vtkPoints > axlActor::getPoints | ( | void | ) |
Definition at line 275 of file axlActor.cpp.
vtkSmartPointer< vtkPolyData > axlActor::getPolyData | ( | void | ) |
Definition at line 295 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 429 of file axlActor.cpp.
vtkSmartPointer< vtkUnstructuredGrid > axlActor::getUnstructuredGrid | ( | void | ) |
Definition at line 376 of file axlActor.cpp.
vtkSmartPointer< vtkVolume > axlActor::getvtkVolume | ( | void | ) |
Definition at line 339 of file axlActor.cpp.
|
virtualslot |
Definition at line 595 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 249 of file axlActor.cpp.
void axlActor::NewObserver | ( | void | ) |
Definition at line 386 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 613 of file axlActor.cpp.
void axlActor::setActor | ( | vtkSmartPointer< vtkActor > | actor | ) |
Definition at line 322 of file axlActor.cpp.
void axlActor::setCellArray | ( | vtkSmartPointer< vtkCellArray > | cellArray | ) |
Definition at line 312 of file axlActor.cpp.
void axlActor::setCellPicker | ( | vtkSmartPointer< vtkCellPicker > | cellPicker | ) |
Definition at line 361 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 490 of file axlActor.cpp.
void axlActor::setDataSetMapper | ( | vtkSmartPointer< vtkDataSetMapper > | mapper | ) |
Definition at line 351 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Reimplemented in axlActorEllipsoid, axlActorPlane, axlActorPoint, axlActorSphere, axlActorDataDynamic, axlActorCone, axlActorCylinder, axlActorLine, axlActorTorus, axlActorVolumeDiscrete, axlActorCircleArc, and axlActorBSpline.
Definition at line 440 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 254 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 482 of file axlActor.cpp.
void axlActor::setMapper | ( | vtkSmartPointer< vtkPolyDataMapper > | mapper | ) |
Definition at line 332 of file axlActor.cpp.
void axlActor::setNormals | ( | vtkSmartPointer< vtkDoubleArray > | normals | ) |
Definition at line 290 of file axlActor.cpp.
void axlActor::setObserver | ( | axlActorControlPolygonObserver * | observer | ) |
Definition at line 371 of file axlActor.cpp.
void axlActor::setObserverData | ( | dtkAbstractData * | data | ) |
Definition at line 424 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 461 of file axlActor.cpp.
void axlActor::setPoints | ( | vtkSmartPointer< vtkPoints > | points | ) |
Definition at line 280 of file axlActor.cpp.
void axlActor::setPolyData | ( | vtkSmartPointer< vtkPolyData > | polyData | ) |
Definition at line 300 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Definition at line 517 of file axlActor.cpp.
|
virtual |
Definition at line 546 of file axlActor.cpp.
|
virtual |
Reimplemented from axlAbstractActor.
Reimplemented in axlActorPlane, axlActorPoint, axlActorLine, axlActorMesh, and axlActorPointSet.
Definition at line 471 of file axlActor.cpp.
|
virtual |
Definition at line 434 of file axlActor.cpp.
void axlActor::setUnstructuredGrid | ( | vtkSmartPointer< vtkUnstructuredGrid > | unstructuredGrid | ) |
Definition at line 381 of file axlActor.cpp.
void axlActor::setvtkVolume | ( | vtkSmartPointer< vtkVolume > | actor | ) |
Definition at line 343 of file axlActor.cpp.
|
virtualslot |
Definition at line 602 of file axlActor.cpp.
|
virtualslot |
Definition at line 608 of file axlActor.cpp.