VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkEdgeCenters Class Reference

generate points at center of edges More...

#include <vtkEdgeCenters.h>

Inherits vtkPolyDataAlgorithm.

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 vtkObjectBase * NewInstanceInternal () 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

typedef vtkPolyDataAlgorithm vtkEdgeCenters::Superclass

Definition at line 43 of file vtkEdgeCenters.h.

Constructor & Destructor Documentation

vtkEdgeCenters::vtkEdgeCenters ( )
protected
vtkEdgeCenters::~vtkEdgeCenters ( )
inlineprotected

Definition at line 58 of file vtkEdgeCenters.h.

Member Function Documentation

static int vtkEdgeCenters::IsTypeOf ( const char *  type)
static
virtual int vtkEdgeCenters::IsA ( const char *  type)
virtual
static vtkEdgeCenters* vtkEdgeCenters::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkEdgeCenters::NewInstanceInternal ( ) const
protectedvirtual
vtkEdgeCenters* vtkEdgeCenters::NewInstance ( ) const
void vtkEdgeCenters::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkEdgeCenters* vtkEdgeCenters::New ( )
static

Construct object with vertex cell generation turned off.

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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkEdgeCenters::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

Member Data Documentation

int vtkEdgeCenters::VertexCells
protected

Definition at line 63 of file vtkEdgeCenters.h.


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