VTK
|
painter that manages lighting. More...
#include <vtkOpenGLLightingPainter.h>
Public Types | |
typedef vtkLightingPainter | Superclass |
![]() | |
typedef vtkPolyDataPainter | Superclass |
![]() | |
typedef vtkPainter | Superclass |
![]() | |
enum | { VERTS = 0x1, LINES = 0x2, POLYS = 0x4, STRIPS = 0x8 } |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkOpenGLLightingPainter * | New () |
static int | IsTypeOf (const char *type) |
static vtkOpenGLLightingPainter * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkLightingPainter * | New () |
static int | IsTypeOf (const char *type) |
static vtkLightingPainter * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPolyDataPainter * | SafeDownCast (vtkObject *o) |
static vtkInformationIntegerKey * | BUILD_NORMALS () |
static vtkInformationIntegerKey * | DISABLE_SCALAR_COLOR () |
static vtkInformationObjectBaseKey * | DATA_ARRAY_TO_VERTEX_ATTRIBUTE () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPainter * | SafeDownCast (vtkObject *o) |
static vtkInformationIntegerKey * | STATIC_DATA () |
static vtkInformationIntegerKey * | CONSERVE_MEMORY () |
static vtkInformationIntegerKey * | HIGH_QUALITY () |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObject *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
virtual void | RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly) |
![]() | |
vtkLightingPainter () | |
~vtkLightingPainter () | |
![]() | |
vtkPolyDataPainter () | |
~vtkPolyDataPainter () | |
virtual void | SetBuildNormals (int) |
virtual void | ProcessInformation (vtkInformation *) |
![]() | |
vtkPainter () | |
~vtkPainter () | |
virtual void | ReportReferences (vtkGarbageCollector *collector) |
void | UpdateDelegatePainter () |
virtual void | PassInformation (vtkPainter *toPainter) |
virtual void | PrepareForRendering (vtkRenderer *, vtkActor *) |
virtual void | UpdateDelegateProgress (vtkPainter *delegate, double amount) |
virtual void | ObserverPainterProgress (vtkPainter *toObserve) |
void | UpdateProgress (double amount) |
vtkAbstractArray * | GetInputArrayToProcess (int fieldAssociation, int fieldAttributeType, vtkDataSet *ds, bool *use_cell_data=0) |
vtkAbstractArray * | GetInputArrayToProcess (int fieldAssociation, const char *name, vtkDataSet *dsl, bool *use_cell_data=0) |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
virtual double | GetTimeToDraw () |
vtkOpenGLLightingPainter () | |
~vtkOpenGLLightingPainter () | |
Additional Inherited Members | |
![]() | |
int | BuildNormals |
![]() |
painter that manages lighting.
This painter manages lighting. Ligting is disabled when rendering points/lines and no normals are present or rendering Polygons/TStrips and representation is points and no normals are present.
Definition at line 31 of file vtkOpenGLLightingPainter.h.
Definition at line 35 of file vtkOpenGLLightingPainter.h.
|
protected |
This painter overrides GetTimeToDraw() to never pass the request to the delegate. This is done since this class may propagate a single render request multiple times to the delegate. In that case the time accumulation responsibility is borne by the painter causing the multiple rendering requests i.e. this painter itself.
|
protected |
This painter overrides GetTimeToDraw() to never pass the request to the delegate. This is done since this class may propagate a single render request multiple times to the delegate. In that case the time accumulation responsibility is borne by the painter causing the multiple rendering requests i.e. this painter itself.
|
static |
|
virtual |
Reimplemented from vtkLightingPainter.
|
static |
|
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 vtkLightingPainter.
|
static |
|
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 vtkLightingPainter.
|
inlinevirtual |
This painter overrides GetTimeToDraw() to never pass the request to the delegate. This is done since this class may propagate a single render request multiple times to the delegate. In that case the time accumulation responsibility is borne by the painter causing the multiple rendering requests i.e. this painter itself.
Reimplemented from vtkPainter.
Definition at line 44 of file vtkOpenGLLightingPainter.h.
|
protectedvirtual |
Setups lighting state before calling render on delegate painter.
Reimplemented from vtkPainter.