-
-
-class wxMaracasIRMViewManagerData {
-
-public:
- wxMaracasIRMViewManagerData(vtkProp3D* _prop3Dvect, std::string dataname="");
- wxMaracasIRMViewManagerData(vtkImageData* imagedata, std::string dataname="");
- ~wxMaracasIRMViewManagerData();
-
-
- /**
- ** Adds a prop3D to the world of the application
- **/
- void setVtkImageData(vtkImageData* imagedata);
- /**
- ** Adds a prop3D to the world of the application
- **/
- void setProp3D(vtkProp3D* prop3D);
- /**
- ** Changes the opacity in a prop3D
- **/
- void changeOpacity(int value);
- /**
- ** changes the isovalue in a prop3D
- **/
- void changeIsoValue(int value);
- /**
- ** Check if the variables are setted correctly
- **/
- void checkInvariant();
- /**
- ** get the prop3D
- **/
- vtkProp3D* getProp3D();
- /**
- ** return the id from the daat
- **/
- int getId();
- /**
- ** set data id
- **/
- void setId(int propid);
- /**
- ** Get the filanme
- **/
- std::string getDataname();
- /**
- ** Set the filanme
- **/
- void setDataname(std::string dataname);
- /**
- ** Returns the grey max level of the image
- **/
-
- int getMaxGreyLevel();
-
- /**
- ** creates the image
- **/
- void contourExtractor(int isovalue);
-
- /**
- ** Changes the color of the actor
- **/
- void changeColor(double red, double green, double blue);
-
-private:
- vtkProp3D* _prop3D;
- vtkImageData* _imagedata;
- int _id;
- std::string _dataname;
- int _maxgreylevel;
-
- /**
- **
- **/
- vtkPolyDataMapper* _dataMapper;
- vtkPolyData* _polydata;
- /**
- ** Get's the max grey level of the image
- **/
- int getMaxLevel(vtkImageData* img);
-
-
-
-};
-