Commit 596d3696 authored by Francois Bertel's avatar Francois Bertel

ENH:Wrap render passes.

parent 9543e138
......@@ -280,28 +280,12 @@ SET_SOURCE_FILES_PROPERTIES(
)
SET_SOURCE_FILES_PROPERTIES(
vtkCameraPass
vtkClearZPass
vtkDefaultPass
vtkDepthPeelingPass
vtkGaussianBlurPass
vtkImageProcessingPass
vtkLightsPass
vtkOpaquePass
vtkRenderPass
vtkRenderState
vtkOverlayPass
vtkOpenGLState
vtkRenderPassCollection
vtkSequencePass
vtkShader2
vtkShader2Collection
vtkShaderProgram2
vtkShadowMapPass
vtkSobelGradientMagnitudePass
vtkTextureUnitManager
vtkTranslucentPass
vtkVolumetricPass
WRAP_EXCLUDE
)
......
......@@ -38,10 +38,12 @@ public:
vtkTypeRevisionMacro(vtkCameraPass,vtkRenderPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
// Description:
// Release graphics resources and ask components to release their own
......
......@@ -33,10 +33,12 @@ public:
vtkTypeRevisionMacro(vtkClearZPass,vtkRenderPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
// Description:
// Set/Get the depth value. Initial value is 1.0 (farest).
......
......@@ -43,12 +43,14 @@ public:
vtkTypeRevisionMacro(vtkDefaultPass,vtkRenderPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// Call RenderOpaqueGeometry(), RenderTranslucentPolygonalGeometry(),
// RenderVolumetricGeometry(), RenderOverlay()
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
protected:
// Description:
......
......@@ -50,10 +50,12 @@ public:
vtkTypeRevisionMacro(vtkDepthPeelingPass,vtkRenderPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
// Description:
// Release graphics resources and ask components to release their own
......@@ -97,7 +99,7 @@ public:
// rendering a layer other than the first one? (Boolean value)
// If so, the uniform variables UseTexture and Texture can be set.
// (Used by vtkOpenGLProperty or vtkOpenGLTexture)
int GetDepthPeelingHigherLayer();
// int GetDepthPeelingHigherLayer();
protected:
// Description:
......
......@@ -62,10 +62,12 @@ public:
vtkTypeRevisionMacro(vtkGaussianBlurPass,vtkImageProcessingPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
// Description:
// Release graphics resources and ask components to release their own
......
......@@ -37,10 +37,12 @@ public:
vtkTypeRevisionMacro(vtkLightsPass,vtkRenderPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
protected:
// Description:
......
......@@ -37,10 +37,12 @@ public:
vtkTypeRevisionMacro(vtkOpaquePass,vtkDefaultPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
protected:
// Description:
......
......@@ -37,10 +37,12 @@ public:
vtkTypeRevisionMacro(vtkOverlayPass,vtkDefaultPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
protected:
// Description:
......
......@@ -54,11 +54,13 @@ class VTK_RENDERING_EXPORT vtkRenderPass : public vtkObject
vtkTypeRevisionMacro(vtkRenderPass,vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// It modifies NumberOfRenderedProps.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s)=0;
//ETX
// Description:
// Number of props rendered at the last Render call.
......
......@@ -38,11 +38,13 @@ public:
vtkTypeRevisionMacro(vtkSequencePass,vtkRenderPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
// Description:
// Release graphics resources and ask components to release their own
// resources.
......
......@@ -72,10 +72,12 @@ public:
// OCCLUDER() key.
static vtkInformationIntegerKey *RECEIVER();
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
// Description:
// Release graphics resources and ask components to release their own
......
......@@ -72,10 +72,12 @@ public:
vtkTypeRevisionMacro(vtkSobelGradientMagnitudePass,vtkImageProcessingPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
// Description:
// Release graphics resources and ask components to release their own
......
......@@ -37,10 +37,12 @@ public:
vtkTypeRevisionMacro(vtkTranslucentPass,vtkDefaultPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
protected:
// Description:
......
......@@ -37,10 +37,12 @@ public:
vtkTypeRevisionMacro(vtkVolumetricPass,vtkDefaultPass);
void PrintSelf(ostream& os, vtkIndent indent);
//BTX
// Description:
// Perform rendering according to a render state \p s.
// \pre s_exists: s!=0
virtual void Render(const vtkRenderState *s);
//ETX
protected:
// 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