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

added start and end render methods

parent 2ea25bdc
...@@ -146,6 +146,11 @@ public: ...@@ -146,6 +146,11 @@ public:
void DisplayToWorld(); void DisplayToWorld();
void WorldToDisplay(); void WorldToDisplay();
void SetStartRenderMethod(void (*f)(void *), void *arg);
void SetEndRenderMethod(void (*f)(void *), void *arg);
void SetStartRenderMethodArgDelete(void (*f)(void *));
void SetEndRenderMethodArgDelete(void (*f)(void *));
protected: protected:
vlVolumeRenderer *VolumeRenderer; vlVolumeRenderer *VolumeRenderer;
vlCamera *ActiveCamera; vlCamera *ActiveCamera;
...@@ -162,6 +167,13 @@ protected: ...@@ -162,6 +167,13 @@ protected:
int Erase; int Erase;
float Aspect[2]; float Aspect[2];
float Center[2]; float Center[2];
void (*StartRenderMethod)(void *);
void (*StartRenderMethodArgDelete)(void *);
void *StartRenderMethodArg;
void (*EndRenderMethod)(void *);
void (*EndRenderMethodArgDelete)(void *);
void *EndRenderMethodArg;
}; };
// Description: // Description:
......
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