ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkPainter Class Reference

vtkPainter - Abstract class for drawing poly data. More...

Inheritance diagram for Kitware.VTK.vtkPainter:
[legend]
Collaboration diagram for Kitware.VTK.vtkPainter:
[legend]

List of all members.

Public Types

enum  LINES_WrapperEnum { LINES = 2, POLYS = 4, STRIPS = 8, VERTS = 1 }
 Take part in garbage collection. More...

Public Member Functions

 vtkPainter (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
override void Register (vtkObjectBase o)
 Take part in garbage collection.
virtual vtkPainter GetDelegatePainter ()
 Set/Get the painter to which this painter should propagare its draw calls.
virtual vtkInformation GetInformation ()
 Get/Set the information object associated with this painter.
virtual vtkDataObject GetInput ()
 Set the data object to paint. Currently we only support one data object per painter chain.
virtual vtkDataObject GetOutput ()
 Get the output data object from this painter. The default implementation simply forwards the input data object as the output.
virtual double GetProgress ()
 Set/Get the execution progress of a process object.
virtual double GetProgressMaxValue ()
 Set/Get the execution progress of a process object.
virtual double GetProgressMinValue ()
 Set/Get the execution progress of a process object.
virtual double GetTimeToDraw ()
 Get the time required to draw the geometry last time it was rendered. Default implementation adds the current TimeToDraw with that of the delegate painter.
override int IsA (string type)
 Undocumented Block.
new vtkPainter NewInstance ()
 Undocumented Block.
virtual void ReleaseGraphicsResources (vtkWindow arg0)
 Release any graphics resources that are being consumed by this painter. The parameter window could be used to determine which graphic resources to release. The call is propagated to the delegate painter, if any.
virtual void Render (vtkRenderer renderer, vtkActor actor, uint typeflags, bool forceCompileOnly)
 Generates rendering primitives of appropriate type(s). Multiple types of primitives can be requested by or-ring the primitive flags. Default implementation calls UpdateDelegatePainter() to update the deletagate painter and then calls RenderInternal(). forceCompileOnly is passed to the display list painters.
virtual void SetDelegatePainter (vtkPainter arg0)
 Set/Get the painter to which this painter should propagare its draw calls.
virtual void SetInformation (vtkInformation arg0)
 Get/Set the information object associated with this painter.
void SetInput (vtkDataObject arg0)
 Set the data object to paint. Currently we only support one data object per painter chain.
virtual void SetProgress (double _arg)
 Set/Get the execution progress of a process object.
virtual void UpdateBounds (IntPtr bounds)
 Expand or shrink the estimated bounds of the object based on the geometric transformations performed in the painter. If the painter does not modify the geometry, the bounds are passed through.

Static Public Member Functions

static vtkInformationIntegerKey CONSERVE_MEMORY ()
 Keys used to specify control the behaviour of the painter. When on, the painter avoids using more memory than it has to. Thus, auxiliary data structures for faster rendering may not be built. Is off by default.
static vtkInformationIntegerKey HIGH_QUALITY ()
 Keys used to specify control the behaviour of the painter. When off, the painter may make approximations that will make the rendering go faster but may degrade image quality. Is on by default.
static new int IsTypeOf (string type)
 Undocumented Block.
static vtkInformationIntegerKey STATIC_DATA ()
 Keys used to specify control the behaviour of the painter. When on, the painter assumes that the poly data changes infrequently. It is thus more likely to take time and memory to build auxiliary data structures for faster frame rates. Is off by default.
static new vtkPainter SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkPainter"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "10vtkPainter"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Take part in garbage collection.

Private Member Functions

static internal void vtkPainter_Register_14 (HandleRef pThis, HandleRef o)
static internal void vtkPainter_UnRegister_23 (HandleRef pThis, HandleRef o)
static internal IntPtr vtkPainter_CONSERVE_MEMORY_01 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPainter_GetDelegatePainter_02 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPainter_GetInformation_03 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPainter_GetInput_04 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPainter_GetOutput_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkPainter_GetProgress_06 (HandleRef pThis)
static internal double vtkPainter_GetProgressMaxValue_07 (HandleRef pThis)
static internal double vtkPainter_GetProgressMinValue_08 (HandleRef pThis)
static internal double vtkPainter_GetTimeToDraw_09 (HandleRef pThis)
static internal IntPtr vtkPainter_HIGH_QUALITY_10 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkPainter_IsA_11 (HandleRef pThis, string type)
static internal int vtkPainter_IsTypeOf_12 (string type)
static internal IntPtr vtkPainter_NewInstance_13 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkPainter_ReleaseGraphicsResources_15 (HandleRef pThis, HandleRef arg0)
static internal void vtkPainter_Render_16 (HandleRef pThis, HandleRef renderer, HandleRef actor, uint typeflags, byte forceCompileOnly)
static internal IntPtr vtkPainter_STATIC_DATA_17 (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkPainter_SafeDownCast_18 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkPainter_SetDelegatePainter_19 (HandleRef pThis, HandleRef arg0)
static internal void vtkPainter_SetInformation_20 (HandleRef pThis, HandleRef arg0)
static internal void vtkPainter_SetInput_21 (HandleRef pThis, HandleRef arg0)
static internal void vtkPainter_SetProgress_22 (HandleRef pThis, double _arg)
static internal void vtkPainter_UpdateBounds_24 (HandleRef pThis, IntPtr bounds)

Static Private Member Functions

static vtkPainter ()
 Automatically generated type registration mechanics.

Detailed Description

vtkPainter - Abstract class for drawing poly data.

Description This defines the interface for a Painter. Painters are helpers used by Mapper to perform the rendering. The mapper sets up a chain of painters and passes the render request to the painter. Every painter may have a delegate painter to which the render request is forwarded. The Painter may modify the request or data before passing it to the delegate painter. All the information to control the rendering must be passed to the painter using the vtkInformation object. A concrete painter may read special keys from the vtkInformation object and affect the rendering.

vtkPainterPolyDataMapper


Member Enumeration Documentation

Take part in garbage collection.

Enumerator:
LINES 

enum member

POLYS 

enum member

STRIPS 

enum member

VERTS 

enum member


Constructor & Destructor Documentation

static Kitware.VTK.vtkPainter.vtkPainter ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkPainter.vtkPainter ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

Keys used to specify control the behaviour of the painter. When on, the painter avoids using more memory than it has to. Thus, auxiliary data structures for faster rendering may not be built. Is off by default.

Here is the call graph for this function:

override void Kitware.VTK.vtkPainter.Dispose ( bool  disposing) [protected]

Set/Get the painter to which this painter should propagare its draw calls.

Reimplemented in Kitware.VTK.vtkDefaultPainter.

Here is the call graph for this function:

Get/Set the information object associated with this painter.

Here is the call graph for this function:

Set the data object to paint. Currently we only support one data object per painter chain.

Here is the call graph for this function:

Get the output data object from this painter. The default implementation simply forwards the input data object as the output.

Reimplemented in Kitware.VTK.vtkScalarsToColorsPainter, Kitware.VTK.vtkSurfaceLICPainter, and Kitware.VTK.vtkCompositePainter.

Here is the call graph for this function:

virtual double Kitware.VTK.vtkPainter.GetProgress ( ) [virtual]

Set/Get the execution progress of a process object.

virtual double Kitware.VTK.vtkPainter.GetProgressMaxValue ( ) [virtual]

Set/Get the execution progress of a process object.

virtual double Kitware.VTK.vtkPainter.GetProgressMinValue ( ) [virtual]

Set/Get the execution progress of a process object.

virtual double Kitware.VTK.vtkPainter.GetTimeToDraw ( ) [virtual]

Get the time required to draw the geometry last time it was rendered. Default implementation adds the current TimeToDraw with that of the delegate painter.

Reimplemented in Kitware.VTK.vtkOpenGLLightingPainter, Kitware.VTK.vtkOpenGLRepresentationPainter, and Kitware.VTK.vtkDisplayListPainter.

Keys used to specify control the behaviour of the painter. When off, the painter may make approximations that will make the rendering go faster but may degrade image quality. Is on by default.

Here is the call graph for this function:

override int Kitware.VTK.vtkPainter.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkPainter.IsTypeOf ( string  type) [static]
override void Kitware.VTK.vtkPainter.Register ( vtkObjectBase  o) [virtual]

Take part in garbage collection.

Reimplemented from Kitware.VTK.vtkObjectBase.

Release any graphics resources that are being consumed by this painter. The parameter window could be used to determine which graphic resources to release. The call is propagated to the delegate painter, if any.

Reimplemented in Kitware.VTK.vtkDefaultPainter, Kitware.VTK.vtkSurfaceLICPainter, Kitware.VTK.vtkOpenGLScalarsToColorsPainter, and Kitware.VTK.vtkOpenGLDisplayListPainter.

virtual void Kitware.VTK.vtkPainter.Render ( vtkRenderer  renderer,
vtkActor  actor,
uint  typeflags,
bool  forceCompileOnly 
) [virtual]

Generates rendering primitives of appropriate type(s). Multiple types of primitives can be requested by or-ring the primitive flags. Default implementation calls UpdateDelegatePainter() to update the deletagate painter and then calls RenderInternal(). forceCompileOnly is passed to the display list painters.

Reimplemented in Kitware.VTK.vtkDefaultPainter, and Kitware.VTK.vtkPolyDataPainter.

virtual void Kitware.VTK.vtkPainter.SetDelegatePainter ( vtkPainter  arg0) [virtual]

Set/Get the painter to which this painter should propagare its draw calls.

Reimplemented in Kitware.VTK.vtkDefaultPainter.

virtual void Kitware.VTK.vtkPainter.SetInformation ( vtkInformation  arg0) [virtual]

Get/Set the information object associated with this painter.

Set the data object to paint. Currently we only support one data object per painter chain.

virtual void Kitware.VTK.vtkPainter.SetProgress ( double  _arg) [virtual]

Set/Get the execution progress of a process object.

Keys used to specify control the behaviour of the painter. When on, the painter assumes that the poly data changes infrequently. It is thus more likely to take time and memory to build auxiliary data structures for faster frame rates. Is off by default.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkPainter.UpdateBounds ( IntPtr  bounds) [virtual]

Expand or shrink the estimated bounds of the object based on the geometric transformations performed in the painter. If the painter does not modify the geometry, the bounds are passed through.

Reimplemented in Kitware.VTK.vtkDefaultPainter.

static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_CONSERVE_MEMORY_01 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_GetDelegatePainter_02 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_GetInformation_03 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_GetInput_04 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_GetOutput_05 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkPainter.vtkPainter_GetProgress_06 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkPainter.vtkPainter_GetProgressMaxValue_07 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkPainter.vtkPainter_GetProgressMinValue_08 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkPainter.vtkPainter_GetTimeToDraw_09 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_HIGH_QUALITY_10 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkPainter.vtkPainter_IsA_11 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkPainter.vtkPainter_IsTypeOf_12 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_NewInstance_13 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_Register_14 ( HandleRef  pThis,
HandleRef  o 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_ReleaseGraphicsResources_15 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_Render_16 ( HandleRef  pThis,
HandleRef  renderer,
HandleRef  actor,
uint  typeflags,
byte  forceCompileOnly 
) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_SafeDownCast_18 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_SetDelegatePainter_19 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_SetInformation_20 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_SetInput_21 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_SetProgress_22 ( HandleRef  pThis,
double  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkPainter.vtkPainter_STATIC_DATA_17 ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_UnRegister_23 ( HandleRef  pThis,
HandleRef  o 
) [private]
static internal void Kitware.VTK.vtkPainter.vtkPainter_UpdateBounds_24 ( HandleRef  pThis,
IntPtr  bounds 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkPainter.MRClassNameKey = "10vtkPainter" [static]
new const string Kitware.VTK.vtkPainter.MRFullTypeName = "Kitware.VTK.vtkPainter"

The documentation for this class was generated from the following file: