Go to the documentation of this file.
46 #include "vtkRenderingOpenGLModule.h"
56 class vtkPainterObserver;
129 unsigned long typeflags,
bool forceCompileOnly);
143 vtkSetClampMacro(Progress,
double,0.0,1.0);
144 vtkGetMacro(Progress,
double);
175 {
return this->Input; }
220 unsigned long typeflags,
bool forceCompileOnly);
253 int fieldAttributeType,
255 bool *use_cell_data=0);
258 bool *use_cell_data=0);
263 friend class vtkPainterObserver;
281 void operator=(
const vtkPainter &) VTK_DELETE_FUNCTION;
287 #endif //vtkPainter_h
vtkAbstractArray * GetInputArrayToProcess(int fieldAssociation, int fieldAttributeType, vtkDataSet *ds, bool *use_cell_data=0)
Helper method to get input array to process.
virtual void SetInformation(vtkInformation *)
virtual void UpdateDelegateProgress(vtkPainter *delegate, double amount)
Called when the delegate painter reports its progress.
virtual void ObserverPainterProgress(vtkPainter *toObserve)
Adds a progress event observer to toObserve.
record modification and/or execution time
virtual void Render(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Generates rendering primitives of appropriate type(s).
static vtkInformationIntegerKey * CONSERVE_MEMORY()
Keys used to specify control the behaviour of the painter.
abstract base class for most VTK objects
vtkAbstractArray * GetInputArrayToProcess(int fieldAssociation, const char *name, vtkDataSet *dsl, bool *use_cell_data=0)
void UpdateProgress(double amount)
Update the progress of the process object.
virtual void UpdateBounds(double bounds[6])
Expand or shrink the estimated bounds of the object based on the geometric transformations performed ...
double ProgressScaleFactor
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTimeStamp InformationProcessTime
window superclass for vtkRenderWindow
vtkPainterObserver * Observer
void UnRegister(vtkObjectBase *o) override
Decrease the reference count (release by another object).
virtual void RenderInternal(vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly)
Performs the actual rendering.
abstract base class for most VTK objects
static vtkInformationIntegerKey * HIGH_QUALITY()
Keys used to specify control the behaviour of the painter.
represents an object (geometry & properties) in a rendered scene
void UpdateDelegatePainter()
Updates the delegate painter.
virtual void ProcessInformation(vtkInformation *)
Called before RenderInternal() if the Information has been changed since the last time this method wa...
a simple class to control print indentation
virtual double GetTimeToDraw()
Get the time required to draw the geometry last time it was rendered.
vtkPainter * DelegatePainter
Abstract class for drawing poly data.
virtual void PassInformation(vtkPainter *toPainter)
Pass on the information and data (output) from the this to the argument painter.
Detect and break reference loops.
abstract class to specify dataset behavior
Abstract superclass for all arrays.
virtual vtkDataObject * GetOutput()
Get the output data object from this painter.
static vtkInformationIntegerKey * STATIC_DATA()
Keys used to specify control the behaviour of the painter.
Timer support and logging.
virtual void SetDelegatePainter(vtkPainter *)
vtkWeakPointer< vtkWindow > LastWindow
abstract specification for renderers
virtual void ReleaseGraphicsResources(vtkWindow *)
Release any graphics resources that are being consumed by this painter.
virtual void PrepareForRendering(vtkRenderer *, vtkActor *)
Some subclasses may need to do some preprocessing before the actual rendering can be done eg.
void ReportReferences(vtkGarbageCollector *collector) override
Take part in garbage collection.
general representation of visualization data
vtkInformation * Information
void SetInput(vtkDataObject *)
Set the data object to paint.
void Register(vtkObjectBase *o) override
Take part in garbage collection.