VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkEdgeCenters Class Reference

generate points at center of edges More...

#include <vtkEdgeCenters.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkEdgeCentersNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetVertexCells (int)
virtual int GetVertexCells ()
virtual void VertexCellsOn ()
virtual void VertexCellsOff ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkEdgeCentersSafeDownCast (vtkObjectBase *o)
static vtkEdgeCentersNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkEdgeCenters ()
 ~vtkEdgeCenters ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

int VertexCells

Detailed Description

generate points at center of edges

vtkEdgeCenters is a filter that takes as input any graph and generates on output points at the center of the cells in the dataset. These points can be used for placing glyphs (vtkGlyph3D) or labeling (vtkLabeledDataMapper). (The center is the parametric center of the cell, not necessarily the geometric or bounding box center.) The edge attributes will be associated with the points on output.

Warning:
You can choose to generate just points or points and vertex cells. Vertex cells are drawn during rendering; points are not. Use the ivar VertexCells to generate cells.
See also:
vtkGlyph3D vtkLabeledDataMapper

Definition at line 40 of file vtkEdgeCenters.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 43 of file vtkEdgeCenters.h.


Constructor & Destructor Documentation

vtkEdgeCenters::~vtkEdgeCenters ( ) [inline, protected]

Definition at line 58 of file vtkEdgeCenters.h.


Member Function Documentation

static int vtkEdgeCenters::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 vtkPolyDataAlgorithm.

virtual int vtkEdgeCenters::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 vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkEdgeCenters::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkEdgeCenters::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 vtkPolyDataAlgorithm.

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

Construct object with vertex cell generation turned off.

Reimplemented from vtkPolyDataAlgorithm.

virtual void vtkEdgeCenters::SetVertexCells ( int  ) [virtual]

Enable/disable the generation of vertex cells.

virtual int vtkEdgeCenters::GetVertexCells ( ) [virtual]

Enable/disable the generation of vertex cells.

virtual void vtkEdgeCenters::VertexCellsOn ( ) [virtual]

Enable/disable the generation of vertex cells.

virtual void vtkEdgeCenters::VertexCellsOff ( ) [virtual]

Enable/disable the generation of vertex cells.

virtual int vtkEdgeCenters::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkEdgeCenters::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

Definition at line 63 of file vtkEdgeCenters.h.


The documentation for this class was generated from the following file: