VTK
|
this painter paints polygons. More...
#include <vtkPolygonsPainter.h>
Public Types | |
typedef vtkPrimitivePainter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPolygonsPainter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkPolygonsPainter * | New () |
static int | IsTypeOf (const char *type) |
static vtkPolygonsPainter * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPolygonsPainter () | |
~vtkPolygonsPainter () | |
virtual int | RenderPrimitive (unsigned long flags, vtkDataArray *n, vtkUnsignedCharArray *c, vtkDataArray *t, vtkRenderer *ren) |
this painter paints polygons.
This painter renders Polys in vtkPolyData. It can render the polys in any representation (VTK_POINTS, VTK_WIREFRAME, VTK_SURFACE).
Definition at line 28 of file vtkPolygonsPainter.h.
Reimplemented from vtkPrimitivePainter.
Definition at line 32 of file vtkPolygonsPainter.h.
vtkPolygonsPainter::vtkPolygonsPainter | ( | ) | [protected] |
vtkPolygonsPainter::~vtkPolygonsPainter | ( | ) | [protected] |
static vtkPolygonsPainter* vtkPolygonsPainter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkPolygonsPainter::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 vtkPolygonsPainter::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 vtkPolygonsPainter* vtkPolygonsPainter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPrimitivePainter.
virtual vtkObjectBase* vtkPolygonsPainter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPrimitivePainter.
Reimplemented from vtkPrimitivePainter.
void vtkPolygonsPainter::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 int vtkPolygonsPainter::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.