Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

vtkKWEIlluminatedLinesPainter Class Reference

painter that paints lines. More...

#include <vtkKWEIlluminatedLinesPainter.h>

Inheritance diagram for vtkKWEIlluminatedLinesPainter:
Inheritance graph
[legend]
Collaboration diagram for vtkKWEIlluminatedLinesPainter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 vtkTypeRevisionMacro (vtkKWEIlluminatedLinesPainter, vtkLinesPainter)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ReleaseGraphicsResources (vtkWindow *)

Static Public Member Functions

static
vtkKWEIlluminatedLinesPainter
New ()
static vtkInformationIntegerKeyENABLE ()
static void UpdateMapper (vtkPainterPolyDataMapper *mapper)

Protected Member Functions

virtual void ProcessInformation (vtkInformation *)
virtual void PrepareForRendering (vtkRenderer *, vtkActor *)
virtual void SetEnable (int)

virtual int RenderPrimitive (unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren)

Protected Attributes

int Enable
vtkWeakPointer< vtkWindowLastRenderWindow
vtkShaderProgram2Program
vtkShader2FragmentShader



static bool IsSupported (vtkRenderWindow *renWin)
 vtkKWEIlluminatedLinesPainter ()
 ~vtkKWEIlluminatedLinesPainter ()

Detailed Description

painter that paints lines.

This painter tries to paint lines efficiently. Request to Render any other primitive are ignored and not passed to the delegate painter, if any. This painter cannot handle cell colors/normals. If they are present the request is passed on to the Delegate painter. If this class is able to render the primitive, the render request is not propagated to the delegate painter.

Definition at line 47 of file vtkKWEIlluminatedLinesPainter.h.


Constructor & Destructor Documentation

vtkKWEIlluminatedLinesPainter::vtkKWEIlluminatedLinesPainter (  )  [protected]

Returns if the context supports the required extensions.

vtkKWEIlluminatedLinesPainter::~vtkKWEIlluminatedLinesPainter (  )  [protected]

Returns if the context supports the required extensions.


Member Function Documentation

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

Reimplemented from vtkLinesPainter.

vtkKWEIlluminatedLinesPainter::vtkTypeRevisionMacro ( vtkKWEIlluminatedLinesPainter  ,
vtkLinesPainter   
)
void vtkKWEIlluminatedLinesPainter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkLinesPainter.

virtual void vtkKWEIlluminatedLinesPainter::ReleaseGraphicsResources ( vtkWindow  )  [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 vtkPainter.

static vtkInformationIntegerKey* vtkKWEIlluminatedLinesPainter::ENABLE (  )  [static]

Key used to enable/disable this painter.

static void vtkKWEIlluminatedLinesPainter::UpdateMapper ( vtkPainterPolyDataMapper mapper  )  [static]

Initializes the mapper with a new instance of vtkKWEIlluminatedLinesPainter inserted at the correct location.

static bool vtkKWEIlluminatedLinesPainter::IsSupported ( vtkRenderWindow renWin  )  [static]

Returns if the context supports the required extensions.

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

Called before RenderInternal() if the Information has been changed since the last time this method was called.

Reimplemented from vtkPrimitivePainter.

virtual void vtkKWEIlluminatedLinesPainter::PrepareForRendering ( vtkRenderer ,
vtkActor  
) [protected, virtual]

Some subclasses may need to do some preprocessing before the actual rendering can be done eg. build effecient representation for the data etc. This should be done here. This method get called after the ProcessInformation() but before RenderInternal().

Reimplemented from vtkPrimitivePainter.

virtual int vtkKWEIlluminatedLinesPainter::RenderPrimitive ( unsigned long  flags,
vtkDataArray n,
vtkUnsignedCharArray c,
vtkDataArray t,
vtkRenderer ren 
) [protected, virtual]

The actual rendering happens here. This method is called only when SupportedPrimitive is present in typeflags when Render() is invoked.

Reimplemented from vtkLinesPainter.

virtual void vtkKWEIlluminatedLinesPainter::SetEnable ( int   )  [protected, virtual]

Member Data Documentation

Definition at line 93 of file vtkKWEIlluminatedLinesPainter.h.

Definition at line 95 of file vtkKWEIlluminatedLinesPainter.h.

Definition at line 96 of file vtkKWEIlluminatedLinesPainter.h.

Definition at line 97 of file vtkKWEIlluminatedLinesPainter.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines