Commit c4d7d7bb authored by Ken Martin's avatar Ken Martin
Browse files

added better memory freeing

parent c520964a
......@@ -40,6 +40,7 @@ class vtkRenderer : public vtkObject
{
public:
vtkRenderer();
~vtkRenderer();
char *GetClassName() {return "vtkRenderer";};
void PrintSelf(ostream& os, vtkIndent indent);
......@@ -154,6 +155,7 @@ public:
protected:
vtkVolumeRenderer *VolumeRenderer;
vtkCamera *ActiveCamera;
vtkLight *CreatedLight;
vtkLightCollection Lights;
vtkActorCollection Actors;
float Ambient[3];
......@@ -167,7 +169,9 @@ protected:
int Erase;
float Aspect[2];
float Center[2];
int SelfCreatedCamera;
int SelfCreatedLight;
void (*StartRenderMethod)(void *);
void (*StartRenderMethodArgDelete)(void *);
void *StartRenderMethodArg;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment