Section: Visualization Toolkit Rendering Classes
The data placed into the output is the renderer's image rgb values. Optionally, you can also grab the image depth (e.g., z-buffer) values, and place then into the output (point) field data.
To create an instance of class vtkRendererSource, simply invoke its constructor as follows
obj = vtkRendererSource
obj
is an instance of the vtkRendererSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkRendererSource = obj.NewInstance ()
vtkRendererSource = obj.SafeDownCast (vtkObject o)
long = obj.GetMTime ()
- Return the MTime also considering the Renderer.
obj.SetInput (vtkRenderer )
- Indicates what renderer to get the pixel data from.
vtkRenderer = obj.GetInput ()
- Returns which renderer is being used as the source for the pixel data.
obj.SetWholeWindow (int )
- Use the entire RenderWindow as a data source or just the Renderer.
The default is zero, just the Renderer.
int = obj.GetWholeWindow ()
- Use the entire RenderWindow as a data source or just the Renderer.
The default is zero, just the Renderer.
obj.WholeWindowOn ()
- Use the entire RenderWindow as a data source or just the Renderer.
The default is zero, just the Renderer.
obj.WholeWindowOff ()
- Use the entire RenderWindow as a data source or just the Renderer.
The default is zero, just the Renderer.
obj.SetRenderFlag (int )
- If this flag is on, the Executing causes a render first.
int = obj.GetRenderFlag ()
- If this flag is on, the Executing causes a render first.
obj.RenderFlagOn ()
- If this flag is on, the Executing causes a render first.
obj.RenderFlagOff ()
- If this flag is on, the Executing causes a render first.
obj.SetDepthValues (int )
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed into a field data attributes named "ZBuffer" .
int = obj.GetDepthValues ()
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed into a field data attributes named "ZBuffer" .
obj.DepthValuesOn ()
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed into a field data attributes named "ZBuffer" .
obj.DepthValuesOff ()
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed into a field data attributes named "ZBuffer" .
obj.SetDepthValuesInScalars (int )
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed in the scalars as a fourth Z component (shift and scaled
to map the full 0..255 range).
int = obj.GetDepthValuesInScalars ()
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed in the scalars as a fourth Z component (shift and scaled
to map the full 0..255 range).
obj.DepthValuesInScalarsOn ()
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed in the scalars as a fourth Z component (shift and scaled
to map the full 0..255 range).
obj.DepthValuesInScalarsOff ()
- A boolean value to control whether to grab z-buffer
(i.e., depth values) along with the image data. The z-buffer data
is placed in the scalars as a fourth Z component (shift and scaled
to map the full 0..255 range).
vtkImageData = obj.GetOutput ()
- Get the output data object for a port on this algorithm.