1 /*=========================================================================
4 Module: $RCSfile: wxMaracasIRMViewManager.h,v $
6 Date: $Date: 2009/04/01 16:16:59 $
7 Version: $Revision: 1.1 $
9 Copyright: (c) 2002, 2003
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notice for more information.
16 =========================================================================*/
21 #ifndef __wxMaracasIRMViewManagerH__
22 #define __wxMaracasIRMViewManagerH__
27 #include "vtkProp3D.h"
28 #include "vtkRenderer.h"
29 #include "vtkSTLReader.h"
30 #include "vtkPolyDataMapper.h"
32 #include "vtkProperty.h"
34 class wxMaracasIRMViewManager {
37 wxMaracasIRMViewManager();
38 ~wxMaracasIRMViewManager();
41 ** Sets the renderer to manage the prop3D from the view
43 void setRenderer(vtkRenderer* renderer);
45 ** Adds a prop3D to the manager and returns the identifier
47 int addProp3D(vtkProp3D* prop3D);
49 ** Changes the opacity in a prop3D
51 void changeOpacity(int propid, int value);
54 ** changes the isovalue in a prop3D
56 void changeIsoValue(int propid, int value);
59 ** loads a prop3D from a nSTL file
61 vtkProp3D* getProp3D(std::string filename);
64 std::vector<vtkProp3D*> prop3Dvect;
66 vtkRenderer* _renderer;