#include <vtkSurfaceRepresentation.h>
vtkSurfaceRepresentation is used to show a geometric dataset in a view. The representation uses a vtkGeometryFilter to convert the dataset to polygonal data (e.g. volumetric data is converted to its external surface). The representation may then be added to vtkRenderView.
Definition at line 47 of file vtkSurfaceRepresentation.h.
Public Types | |
typedef vtkDataRepresentation | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetInputConnection (vtkAlgorithmOutput *conn) |
Static Public Member Functions | |
static vtkSurfaceRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkSurfaceRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkSurfaceRepresentation () | |
~vtkSurfaceRepresentation () | |
virtual bool | AddToView (vtkView *view) |
virtual bool | RemoveFromView (vtkView *view) |
virtual vtkSelection * | ConvertSelection (vtkView *view, vtkSelection *selection) |
Protected Attributes | |
vtkGeometryFilter * | GeometryFilter |
vtkPolyDataMapper * | Mapper |
vtkActor * | Actor |
vtkExtractSelection * | ExtractSelection |
vtkGeometryFilter * | SelectionGeometryFilter |
vtkPolyDataMapper * | SelectionMapper |
vtkActor * | SelectionActor |
vtkSurfaceRepresentation::vtkSurfaceRepresentation | ( | ) | [protected] |
vtkSurfaceRepresentation::~vtkSurfaceRepresentation | ( | ) | [protected] |
static vtkSurfaceRepresentation* vtkSurfaceRepresentation::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataRepresentation.
virtual const char* vtkSurfaceRepresentation::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataRepresentation.
static int vtkSurfaceRepresentation::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataRepresentation.
virtual int vtkSurfaceRepresentation::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkDataRepresentation.
static vtkSurfaceRepresentation* vtkSurfaceRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataRepresentation.
void vtkSurfaceRepresentation::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 vtkDataRepresentation.
virtual void vtkSurfaceRepresentation::SetInputConnection | ( | vtkAlgorithmOutput * | conn | ) | [virtual] |
Sets the input pipeline connection to this representation.
Reimplemented from vtkDataRepresentation.
virtual bool vtkSurfaceRepresentation::AddToView | ( | vtkView * | view | ) | [protected, virtual] |
Adds the representation to the view. This is called from vtkView::AddRepresentation().
virtual bool vtkSurfaceRepresentation::RemoveFromView | ( | vtkView * | view | ) | [protected, virtual] |
Removes the representation to the view. This is called from vtkView::RemoveRepresentation().
virtual vtkSelection* vtkSurfaceRepresentation::ConvertSelection | ( | vtkView * | view, | |
vtkSelection * | selection | |||
) | [protected, virtual] |
Convert the selection to a type appropriate for sharing with other representations through vtkSelectionLink. If the selection cannot be applied to this representation, returns NULL.
Reimplemented from vtkDataRepresentation.
Internal pipeline objects.
Definition at line 76 of file vtkSurfaceRepresentation.h.
vtkPolyDataMapper* vtkSurfaceRepresentation::Mapper [protected] |
Internal pipeline objects.
Definition at line 77 of file vtkSurfaceRepresentation.h.
vtkActor* vtkSurfaceRepresentation::Actor [protected] |
Internal pipeline objects.
Definition at line 78 of file vtkSurfaceRepresentation.h.
Internal pipeline objects.
Definition at line 79 of file vtkSurfaceRepresentation.h.
Internal pipeline objects.
Definition at line 80 of file vtkSurfaceRepresentation.h.
Internal pipeline objects.
Definition at line 81 of file vtkSurfaceRepresentation.h.
vtkActor* vtkSurfaceRepresentation::SelectionActor [protected] |
Internal pipeline objects.
Definition at line 82 of file vtkSurfaceRepresentation.h.