vtkCompositePainter Class Reference

#include <vtkCompositePainter.h>

Inheritance diagram for vtkCompositePainter:

Inheritance graph
[legend]
Collaboration diagram for vtkCompositePainter:

Collaboration graph
[legend]

List of all members.


Detailed Description

painter that can be inserted before any vtkDataSet painting chain to handle composite datasets.

vtkCompositePainter iterates over the leaves in a composite datasets. This painter can also handle the case when the dataset is not a composite dataset.

Definition at line 31 of file vtkCompositePainter.h.


Public Types

typedef vtkPainter Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkDataObjectGetOutput ()

Static Public Member Functions

static vtkCompositePainterNew ()
static int IsTypeOf (const char *type)
static vtkCompositePainterSafeDownCast (vtkObject *o)
static vtkInformationIntegerKeyCOLOR_LEAVES ()

Protected Member Functions

 vtkCompositePainter ()
 ~vtkCompositePainter ()
virtual void ReportReferences (vtkGarbageCollector *collector)
virtual void ProcessInformation (vtkInformation *)
virtual void SetColorLeaves (int)
virtual int GetColorLeaves ()
virtual void RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)

Protected Attributes

int ColorLeaves
vtkDataObjectOutputData

Member Typedef Documentation

Reimplemented from vtkPainter.

Definition at line 35 of file vtkCompositePainter.h.


Constructor & Destructor Documentation

vtkCompositePainter::vtkCompositePainter (  )  [protected]

vtkCompositePainter::~vtkCompositePainter (  )  [protected]


Member Function Documentation

static vtkCompositePainter* vtkCompositePainter::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

virtual const char* vtkCompositePainter::GetClassName (  )  [virtual]

Reimplemented from vtkPainter.

static int vtkCompositePainter::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPainter.

virtual int vtkCompositePainter::IsA ( const char *  name  )  [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPainter.

static vtkCompositePainter* vtkCompositePainter::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkPainter.

void vtkCompositePainter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkPainter.

static vtkInformationIntegerKey* vtkCompositePainter::COLOR_LEAVES (  )  [static]

When this key is present and set to 1 in the information passed to the painter, the painter colors each block using a unique color.

virtual vtkDataObject* vtkCompositePainter::GetOutput (  )  [virtual]

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

Reimplemented from vtkPainter.

virtual void vtkCompositePainter::ReportReferences ( vtkGarbageCollector collector  )  [protected, virtual]

Take part in garbage collection.

Reimplemented from vtkPainter.

virtual void vtkCompositePainter::ProcessInformation ( vtkInformation  )  [protected, virtual]

Called before RenderInternal() if the Information has been changed since the last time this method was called. Overridden to update the state of COLOR_LEAVES key.

Reimplemented from vtkPainter.

virtual void vtkCompositePainter::RenderInternal ( vtkRenderer renderer,
vtkActor actor,
unsigned long  typeflags,
bool  forceCompileOnly 
) [protected, virtual]

Performs the actual rendering. Subclasses may override this method. default implementation merely call a Render on the DelegatePainter, if any. When RenderInternal() is called, it is assured that the DelegatePainter is in sync with this painter i.e. UpdateDelegatePainter() has been called.

Reimplemented from vtkPainter.

virtual void vtkCompositePainter::SetColorLeaves ( int   )  [protected, virtual]

virtual int vtkCompositePainter::GetColorLeaves (  )  [protected, virtual]


Member Data Documentation

Definition at line 70 of file vtkCompositePainter.h.

Definition at line 73 of file vtkCompositePainter.h.


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

Generated on Mon Sep 27 18:20:24 2010 for VTK by  doxygen 1.5.6