Program: wxMaracas
Module: $RCSfile: wxMaracasIRMViewManager.h,v $
Language: C++
- Date: $Date: 2009/04/14 12:47:30 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2009/05/04 07:35:42 $
+ Version: $Revision: 1.4 $
Copyright: (c) 2002, 2003
License:
/**
** changes the isovalue in a prop3D
**/
- void changeIsoValue(int value);
+ void changeIsoValue(double value);
/**
** Check if the variables are setted correctly
**/
/**
** Changes the color of the actor
**/
- void changeColor(double red, double green, double blue);
+ void changeColor(double red, double green, double blue);
private:
vtkProp3D* _prop3D;
int _maxgreylevel;
/**
- **
+ ** to the image render
**/
+ vtkMarchingCubes* _cubesFilter;
+ vtkCleanPolyData* _cleanFilter;
vtkPolyDataMapper* _dataMapper;
- vtkPolyData* _polydata;
+
/**
** Get's the max grey level of the image
**/
/**
** Adds a prop3D to the manager and returns the identifier
**/
- int addPropMHD(vtkImageData* imagedata, std::string dataname);
+ int addPropMHD(vtkImageData* imagedata, std::string dataname) throw(char*);
/**
** Changes the opacity in a prop3D
**/
/**
** changes the isovalue in a prop3D
**/
- void changeIsoValue(int propid, int value)throw(char*);
+ void changeIsoValue(int propid, double value)throw(char*);
/**
** loads a prop3D from a nSTL file
** Changes the color of the actor
**/
void changeColor(int propid, double red, double green, double blue) throw(char*);
+
+ void deleteActor(int propid)throw (char *);
private:
std::vector<wxMaracasIRMViewManagerData*> prop3Dvect;