- void createControls(wxString filename, wxString dataname);
- wxMaracasMultipleVolumeRendererPanel* addVolume(vtkImageData* img, std::string dataname);
- wxMaracasSurfaceRenderingPanel* addSurface1(vtkImageData* img, std::string dataname);
- wxMaracasSurfaceRenderingPanel* addSurface2(vtkImageData* img, std::string dataname);
- wxMaracasSurfaceRenderingPanel* addSurface3(vtkImageData* img, std::string dataname);
+
+ void createControls(vtkImageData* inImg, std::string pathfile, std::string filename);
+ void setRenderer(vtkRenderer* rend);
+ void addVolume(vtkImageData* img, std::string dataname);
+ void addSurface1(vtkImageData* img, std::string dataname);
+ void addSurface2(vtkImageData* img, std::string dataname);
+ void addSurface3(vtkImageData* img, std::string dataname);
+
+ void deleteVolume(int volid);
+ void addRemoveActorV(int id, bool addremove);
+ void addRemoveActorSA(int id, bool addremove);
+ void addRemoveActorSB(int id, bool addremove);
+ void addRemoveActorSC(int id, bool addremove);
+ void addRemoveActorMPR(bool addremove);
+ void addMPROptions();
+
+ // ----- Volume rendering functions ----- //
+ void SetValuesColorPointsFunction(int volid, std::vector<double> greylevelcolors,std::vector<double> red,std::vector<double> green,std::vector<double> blue);
+ void SetValuesPointsFunction(int volid, std::vector<double> greylevel, std::vector<double> values);
+ vtkPiecewiseFunction* GetTransferFunction(int volumeid);
+ vtkColorTransferFunction* GetColorFunction(int volumeid);
+
+ // ----- Surface rendering functions ----- //
+ void changeOpacityA(int _propid, int value);
+ void changeIsoValueA(int propid, double value);
+ void changeColorA(int propid, double red, double green, double blue);
+ void changeOpacityB(int _propid, int value);
+ void changeIsoValueB(int propid, double value);
+ void changeColorB(int propid, double red, double green, double blue);
+ void changeOpacityC(int _propid, int value);
+ void changeIsoValueC(int propid, double value);
+ void changeColorC(int propid, double red, double green, double blue);
+