25 #include <vtkAssembly.h>
26 #include <vtkSmartPointer.h>
27 #include <vtkVersion.h>
43 class vtkPolyDataMapper;
44 class vtkRenderWindowInteractor;
45 class vtkUnstructuredGrid;
47 class vtkDataSetMapper;
50 class axlActorPrivate;
63 virtual dtkAbstractData *
data(
void) = 0;
68 virtual vtkRenderWindowInteractor *getInteractor(
void);
70 virtual void setState(
int state);
73 virtual void setSize(
double size);
74 virtual void setColor(
double red,
double green,
double blue);
79 QString fragment_shader_source);
84 QStringList fields(
void);
87 void drawAssymblyMatrix(
void);
90 virtual void hide(
void);
91 virtual void show(
void);
99 dtkAbstractData * getObserverData(
void);
100 vtkSmartPointer<vtkPoints> getPoints(
void);
101 void setPoints(vtkSmartPointer<vtkPoints> points);
102 vtkSmartPointer<vtkDoubleArray> getNormals(
void);
103 void setNormals(vtkSmartPointer<vtkDoubleArray> normals);
104 vtkSmartPointer<vtkPolyData> getPolyData(
void);
105 void setPolyData(vtkSmartPointer<vtkPolyData> polyData);
106 vtkSmartPointer<vtkCellArray> getCellArray(
void);
107 void setCellArray(vtkSmartPointer<vtkCellArray> cellArray);
108 vtkSmartPointer<vtkActor> getActor(
void);
109 void setActor(vtkSmartPointer<vtkActor> actor);
110 vtkSmartPointer<vtkVolume> getvtkVolume(
void);
111 void setvtkVolume(vtkSmartPointer<vtkVolume> actor);
112 vtkSmartPointer<vtkPolyDataMapper> getMapper(
void);
113 void setMapper(vtkSmartPointer<vtkPolyDataMapper> mapper);
114 vtkSmartPointer<vtkDataSetMapper> getDataSetMapper(
void);
115 void setDataSetMapper(vtkSmartPointer<vtkDataSetMapper> mapper);
116 vtkSmartPointer<vtkCellPicker> getCellPicker();
117 void setCellPicker(vtkSmartPointer<vtkCellPicker> cellPicker);
120 vtkSmartPointer<vtkUnstructuredGrid> getUnstructuredGrid(
void);
121 void setUnstructuredGrid(vtkSmartPointer<vtkUnstructuredGrid> unstructuredGrid);
122 void setObserverData(dtkAbstractData *data);
123 void NewObserver(
void);
124 void deleteObserver(
void);
#define AXLVTKVIEWPLUGIN_EXPORT
virtual dtkAbstractData * data(void)=0
virtual bool isVisible(void)
virtual void onRemoved(void)
virtual void setShader(QString xmlfile)
virtual void update(void)
virtual void setInterpolation(int interpolation)
virtual void setSize(double size)
virtual int getState(void)
virtual void setOpacity(double opacity)
virtual void setDisplay(bool display)
virtual void setInteractor(void *interactor)
virtual void setColor(double red, double green, double blue)
virtual void setShaderFromString(QString xmlfile)