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

vtkDefaultPainter - sets up a default chain of painters. More...

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

List of all members.

Public Member Functions

 vtkDefaultPainter (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkDefaultPainter ()
 *Undocumented Block
virtual vtkClipPlanesPainter GetClipPlanesPainter ()
 Get/Set the painter that handles clipping.
virtual
vtkCoincidentTopologyResolutionPainter 
GetCoincidentTopologyResolutionPainter ()
 Painter used to resolve coincident topology.
virtual vtkCompositePainter GetCompositePainter ()
 Get/Set the painter used to handle composite datasets.
override vtkPainter GetDelegatePainter ()
 Set/Get the painter to which this painter should propagare its draw calls. These methods are overridden so that the delegate is set to the end of the Painter Chain.
virtual vtkDisplayListPainter GetDisplayListPainter ()
 Get/Set the painter that builds display lists.
virtual vtkLightingPainter GetLightingPainter ()
 Get/Set the painter that controls lighting.
virtual vtkRepresentationPainter GetRepresentationPainter ()
 Painter used to convert polydata to Wireframe/Points representation.
virtual vtkScalarsToColorsPainter GetScalarsToColorsPainter ()
 Get/Set the painter that maps scalars to colors.
override int IsA (string type)
 *Undocumented Block
new vtkDefaultPainter NewInstance ()
 *Undocumented Block
override 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.
override void Render (vtkRenderer renderer, vtkActor actor, uint typeflags, bool forceCompileOnly)
 Overridden to setup the chain of painter depending on the actor representation. The chain is rebuilt if this->MTime has changed since last BuildPainterChain(); Building of the chain does not depend on input polydata, hence it does not check if the input has changed at all.
void SetClipPlanesPainter (vtkClipPlanesPainter arg0)
 Get/Set the painter that handles clipping.
void SetCoincidentTopologyResolutionPainter (vtkCoincidentTopologyResolutionPainter arg0)
 Painter used to resolve coincident topology.
void SetCompositePainter (vtkCompositePainter arg0)
 Get/Set the painter used to handle composite datasets.
override void SetDelegatePainter (vtkPainter arg0)
 Set/Get the painter to which this painter should propagare its draw calls. These methods are overridden so that the delegate is set to the end of the Painter Chain.
void SetDisplayListPainter (vtkDisplayListPainter arg0)
 Get/Set the painter that builds display lists.
void SetLightingPainter (vtkLightingPainter arg0)
 Get/Set the painter that controls lighting.
void SetRepresentationPainter (vtkRepresentationPainter arg0)
 Painter used to convert polydata to Wireframe/Points representation.
void SetScalarsToColorsPainter (vtkScalarsToColorsPainter arg0)
 Get/Set the painter that maps scalars to colors.
override void UpdateBounds (IntPtr bounds)
 Expand or shrink the estimated bounds based on the geometric transformations applied in the painter. The bounds are left unchanged if the painter does not change the geometry.
- Public Member Functions inherited from Kitware.VTK.vtkPainter
 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 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.
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.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new vtkDefaultPainter New ()
 *Undocumented Block
static new int IsTypeOf (string type)
 *Undocumented Block
static new vtkDefaultPainter SafeDownCast (vtkObjectBase o)
 *Undocumented Block
- Static Public Member Functions inherited from Kitware.VTK.vtkPainter
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 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 Public Member Functions inherited from Kitware.VTK.vtkObject
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. It allows the debugger to break on error.
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkDefaultPainter"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkPainter
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "17vtkDefaultPainter"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkPainter
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkDefaultPainter ()
 Automatically generated type registration mechanics.

Additional Inherited Members

- Public Types inherited from Kitware.VTK.vtkPainter
enum  LINES_WrapperEnum { LINES = 2, POLYS = 4, STRIPS = 8, VERTS = 1 }
 Take part in garbage collection. More...

Detailed Description

vtkDefaultPainter - sets up a default chain of painters.

Description This painter does not do any actual rendering. Sets up a default pipeline of painters to mimick the behaiour of old vtkPolyDataMapper. The chain is as follows: input–> vtkScalarsToColorsPainter –> vtkClipPlanesPainter –> vtkDisplayListPainter –> vtkCompositePainter –> vtkCoincidentTopologyResolutionPainter –> vtkLightingPainter –> vtkRepresentationPainter –> <Delegate of vtkDefaultPainter>. Typically, the delegate of the default painter be one that is capable of r rendering graphics primitives or a vtkChooserPainter which can select appropriate painters to do the rendering.


Constructor & Destructor Documentation

static Kitware.VTK.vtkDefaultPainter.vtkDefaultPainter ( )
staticprivate

Automatically generated type registration mechanics.

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

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

Kitware.VTK.vtkDefaultPainter.vtkDefaultPainter ( )

*Undocumented Block


Member Function Documentation

override void Kitware.VTK.vtkDefaultPainter.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.

virtual vtkClipPlanesPainter Kitware.VTK.vtkDefaultPainter.GetClipPlanesPainter ( )
virtual

Get/Set the painter that handles clipping.

Here is the call graph for this function:

virtual vtkCoincidentTopologyResolutionPainter Kitware.VTK.vtkDefaultPainter.GetCoincidentTopologyResolutionPainter ( )
virtual

Painter used to resolve coincident topology.

Here is the call graph for this function:

virtual vtkCompositePainter Kitware.VTK.vtkDefaultPainter.GetCompositePainter ( )
virtual

Get/Set the painter used to handle composite datasets.

Here is the call graph for this function:

override vtkPainter Kitware.VTK.vtkDefaultPainter.GetDelegatePainter ( )
virtual

Set/Get the painter to which this painter should propagare its draw calls. These methods are overridden so that the delegate is set to the end of the Painter Chain.

Reimplemented from Kitware.VTK.vtkPainter.

Here is the call graph for this function:

virtual vtkDisplayListPainter Kitware.VTK.vtkDefaultPainter.GetDisplayListPainter ( )
virtual

Get/Set the painter that builds display lists.

Here is the call graph for this function:

virtual vtkLightingPainter Kitware.VTK.vtkDefaultPainter.GetLightingPainter ( )
virtual

Get/Set the painter that controls lighting.

Here is the call graph for this function:

virtual vtkRepresentationPainter Kitware.VTK.vtkDefaultPainter.GetRepresentationPainter ( )
virtual

Painter used to convert polydata to Wireframe/Points representation.

Here is the call graph for this function:

virtual vtkScalarsToColorsPainter Kitware.VTK.vtkDefaultPainter.GetScalarsToColorsPainter ( )
virtual

Get/Set the painter that maps scalars to colors.

Here is the call graph for this function:

override int Kitware.VTK.vtkDefaultPainter.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.

static new int Kitware.VTK.vtkDefaultPainter.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.

static new vtkDefaultPainter Kitware.VTK.vtkDefaultPainter.New ( )
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.

new vtkDefaultPainter Kitware.VTK.vtkDefaultPainter.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.

override void Kitware.VTK.vtkDefaultPainter.ReleaseGraphicsResources ( vtkWindow  arg0)
virtual

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 from Kitware.VTK.vtkPainter.

override void Kitware.VTK.vtkDefaultPainter.Render ( vtkRenderer  renderer,
vtkActor  actor,
uint  typeflags,
bool  forceCompileOnly 
)
virtual

Overridden to setup the chain of painter depending on the actor representation. The chain is rebuilt if this->MTime has changed since last BuildPainterChain(); Building of the chain does not depend on input polydata, hence it does not check if the input has changed at all.

Reimplemented from Kitware.VTK.vtkPainter.

static new vtkDefaultPainter Kitware.VTK.vtkDefaultPainter.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.

Here is the call graph for this function:

void Kitware.VTK.vtkDefaultPainter.SetClipPlanesPainter ( vtkClipPlanesPainter  arg0)

Get/Set the painter that handles clipping.

void Kitware.VTK.vtkDefaultPainter.SetCoincidentTopologyResolutionPainter ( vtkCoincidentTopologyResolutionPainter  arg0)

Painter used to resolve coincident topology.

void Kitware.VTK.vtkDefaultPainter.SetCompositePainter ( vtkCompositePainter  arg0)

Get/Set the painter used to handle composite datasets.

override void Kitware.VTK.vtkDefaultPainter.SetDelegatePainter ( vtkPainter  arg0)
virtual

Set/Get the painter to which this painter should propagare its draw calls. These methods are overridden so that the delegate is set to the end of the Painter Chain.

Reimplemented from Kitware.VTK.vtkPainter.

void Kitware.VTK.vtkDefaultPainter.SetDisplayListPainter ( vtkDisplayListPainter  arg0)

Get/Set the painter that builds display lists.

void Kitware.VTK.vtkDefaultPainter.SetLightingPainter ( vtkLightingPainter  arg0)

Get/Set the painter that controls lighting.

void Kitware.VTK.vtkDefaultPainter.SetRepresentationPainter ( vtkRepresentationPainter  arg0)

Painter used to convert polydata to Wireframe/Points representation.

void Kitware.VTK.vtkDefaultPainter.SetScalarsToColorsPainter ( vtkScalarsToColorsPainter  arg0)

Get/Set the painter that maps scalars to colors.

override void Kitware.VTK.vtkDefaultPainter.UpdateBounds ( IntPtr  bounds)
virtual

Expand or shrink the estimated bounds based on the geometric transformations applied in the painter. The bounds are left unchanged if the painter does not change the geometry.

Reimplemented from Kitware.VTK.vtkPainter.


Member Data Documentation

new readonly string Kitware.VTK.vtkDefaultPainter.MRClassNameKey = "17vtkDefaultPainter"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.

new const string Kitware.VTK.vtkDefaultPainter.MRFullTypeName = "Kitware.VTK.vtkDefaultPainter"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkPainter.

Reimplemented in Kitware.VTK.vtkSurfaceLICDefaultPainter.


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