painter that paints lines. More...
#include <vtkKWEIlluminatedLinesPainter.h>


Public Member Functions | |
| vtkTypeRevisionMacro (vtkKWEIlluminatedLinesPainter, vtkLinesPainter) | |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | ReleaseGraphicsResources (vtkWindow *) |
Static Public Member Functions | |
| static vtkKWEIlluminatedLinesPainter * | New () |
| static vtkInformationIntegerKey * | ENABLE () |
| 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< vtkWindow > | LastRenderWindow |
| vtkShaderProgram2 * | Program |
| vtkShader2 * | FragmentShader |
|
| |
| static bool | IsSupported (vtkRenderWindow *renWin) |
| vtkKWEIlluminatedLinesPainter () | |
| ~vtkKWEIlluminatedLinesPainter () | |
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.
| vtkKWEIlluminatedLinesPainter::vtkKWEIlluminatedLinesPainter | ( | ) | [protected] |
Returns if the context supports the required extensions.
| vtkKWEIlluminatedLinesPainter::~vtkKWEIlluminatedLinesPainter | ( | ) | [protected] |
Returns if the context supports the required extensions.
| 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] |
int vtkKWEIlluminatedLinesPainter::Enable [protected] |
Definition at line 93 of file vtkKWEIlluminatedLinesPainter.h.
Definition at line 95 of file vtkKWEIlluminatedLinesPainter.h.
vtkShaderProgram2* vtkKWEIlluminatedLinesPainter::Program [protected] |
Definition at line 96 of file vtkKWEIlluminatedLinesPainter.h.
vtkShader2* vtkKWEIlluminatedLinesPainter::FragmentShader [protected] |
Definition at line 97 of file vtkKWEIlluminatedLinesPainter.h.
1.7.1