convert a vtkGraph to vtkPolyData
More...
#include <vtkGraphToPolyData.h>
Inherits vtkPolyDataAlgorithm.
convert a vtkGraph to vtkPolyData
Converts a vtkGraph to a vtkPolyData. This assumes that the points of the graph have already been filled (perhaps by vtkGraphLayout), and coverts all the edge of the graph into lines in the polydata. The vertex data is passed along to the point data, and the edge data is passed along to the cell data.
Only the owned graph edges (i.e. edges with ghost level 0) are copied into the vtkPolyData.
- Examples:
- vtkGraphToPolyData (Examples)
- Tests:
- vtkGraphToPolyData (Tests)
Definition at line 46 of file vtkGraphToPolyData.h.
vtkGraphToPolyData::vtkGraphToPolyData |
( |
| ) |
|
|
protected |
vtkGraphToPolyData::~vtkGraphToPolyData |
( |
| ) |
|
|
inlineprotected |
static int vtkGraphToPolyData::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkGraphToPolyData::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkGraphToPolyData::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkGraphToPolyData::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkGraphToPolyData::SetEdgeGlyphOutput |
( |
bool |
| ) |
|
|
virtual |
Create a second output containing points and orientation vectors for drawing arrows or other glyphs on edges. This output should be set as the first input to vtkGlyph3D to place glyphs on the edges. vtkGlyphSource2D's VTK_EDGEARROW_GLYPH provides a good glyph for drawing arrows. Default value is off.
virtual bool vtkGraphToPolyData::GetEdgeGlyphOutput |
( |
| ) |
|
|
virtual |
Create a second output containing points and orientation vectors for drawing arrows or other glyphs on edges. This output should be set as the first input to vtkGlyph3D to place glyphs on the edges. vtkGlyphSource2D's VTK_EDGEARROW_GLYPH provides a good glyph for drawing arrows. Default value is off.
virtual void vtkGraphToPolyData::EdgeGlyphOutputOn |
( |
| ) |
|
|
virtual |
Create a second output containing points and orientation vectors for drawing arrows or other glyphs on edges. This output should be set as the first input to vtkGlyph3D to place glyphs on the edges. vtkGlyphSource2D's VTK_EDGEARROW_GLYPH provides a good glyph for drawing arrows. Default value is off.
virtual void vtkGraphToPolyData::EdgeGlyphOutputOff |
( |
| ) |
|
|
virtual |
Create a second output containing points and orientation vectors for drawing arrows or other glyphs on edges. This output should be set as the first input to vtkGlyph3D to place glyphs on the edges. vtkGlyphSource2D's VTK_EDGEARROW_GLYPH provides a good glyph for drawing arrows. Default value is off.
virtual void vtkGraphToPolyData::SetEdgeGlyphPosition |
( |
double |
| ) |
|
|
virtual |
The position of the glyph point along the edge. 0 puts a glyph point at the source of each edge. 1 puts a glyph point at the target of each edge. An intermediate value will place the glyph point between the source and target. The default value is 1.
virtual double vtkGraphToPolyData::GetEdgeGlyphPosition |
( |
| ) |
|
|
virtual |
The position of the glyph point along the edge. 0 puts a glyph point at the source of each edge. 1 puts a glyph point at the target of each edge. An intermediate value will place the glyph point between the source and target. The default value is 1.
int vtkGraphToPolyData::RequestData |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
Convert the vtkGraph into vtkPolyData.
int vtkGraphToPolyData::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protected |
Set the input type of the algorithm to vtkGraph.
bool vtkGraphToPolyData::EdgeGlyphOutput |
|
protected |
double vtkGraphToPolyData::EdgeGlyphPosition |
|
protected |
bool vtkGraphToPolyData::ArcEdges |
|
protected |
vtkIdType vtkGraphToPolyData::NumberOfArcSubdivisions |
|
protected |
The documentation for this class was generated from the following file: