VTK
|
painter that paints lines. More...
#include <vtkLinesPainter.h>
Public Types | |
typedef vtkPrimitivePainter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkLinesPainter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkLinesPainter * | New () |
static int | IsTypeOf (const char *type) |
static vtkLinesPainter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkLinesPainter () | |
~vtkLinesPainter () | |
virtual void | RenderInternal (vtkRenderer *renderer, vtkActor *actor, unsigned long typeflags, bool forceCompileOnly) |
Protected Attributes | |
int | RenderPolys |
virtual int | RenderPrimitive (unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren) |
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 33 of file vtkLinesPainter.h.
Reimplemented from vtkPrimitivePainter.
Definition at line 37 of file vtkLinesPainter.h.
vtkLinesPainter::vtkLinesPainter | ( | ) | [protected] |
vtkLinesPainter::~vtkLinesPainter | ( | ) | [protected] |
static vtkLinesPainter* vtkLinesPainter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkLinesPainter::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 vtkPrimitivePainter.
virtual int vtkLinesPainter::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 vtkPrimitivePainter.
static vtkLinesPainter* vtkLinesPainter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPrimitivePainter.
virtual vtkObjectBase* vtkLinesPainter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPrimitivePainter.
vtkLinesPainter* vtkLinesPainter::NewInstance | ( | ) | const |
Reimplemented from vtkPrimitivePainter.
void vtkLinesPainter::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 vtkPrimitivePainter.
virtual void vtkLinesPainter::RenderInternal | ( | vtkRenderer * | renderer, |
vtkActor * | actor, | ||
unsigned long | typeflags, | ||
bool | forceCompileOnly | ||
) | [protected, virtual] |
Overriden to set RenderPolys flag. When set, polys are rendered as line loops.
Reimplemented from vtkPrimitivePainter.
virtual int vtkLinesPainter::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.
Implements vtkPrimitivePainter.
int vtkLinesPainter::RenderPolys [protected] |
Definition at line 44 of file vtkLinesPainter.h.