Program: wxMaracas
Module: $RCSfile: wxMaracasSurfaceRenderingManager.h,v $
Language: C++
- Date: $Date: 2009/10/15 11:56:43 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2009/11/09 19:14:56 $
+ Version: $Revision: 1.2 $
Copyright: (c) 2002, 2003
License:
#include <iostream>
#include <vector>
+#include <vtkMatrix4x4.h>
#include "wxMaracasSurfaceRenderingManagerData.h"
** Sets the renderer to manage the prop3D from the surface render
**/
void setRenderer(vtkRenderer* renderer);
+
+ /**
+ ** Gets the renderer which manages the prop3D from the surface render
+ **/
+ vtkRenderer* getRenderer();
+
+ /**
+ ** Updates surface
+ **/
+ void Update(int pid)throw(char*);
+
/**
** Adds a prop3D to the manager and returns the identifier
**/
**/
vtkImageData* getImageData(std::string filename);
+ /**
+ ** Gets image data asotiated with the rendering manager
+ **/
+ vtkImageData* getImageData();
+
/**
** adds or removes an actor depending of the bool value
**/
void changeColor(int propid, double red, double green, double blue) throw(char*);
void deleteActor(int propid)throw (char *);
+
+ void Transform(vtkMatrix4x4* tmatrix);
private:
std::vector<wxMaracasSurfaceRenderingManagerData*> prop3Dvect;
vtkRenderer* _renderer;
+ vtkImageData* image;
int _idCount;