Section: Visualization Toolkit Graphics Classes
Only the owned graph edges (i.e. edges with ghost level 0) are copied into the vtkPolyData.
To create an instance of class vtkGraphToPolyData, simply invoke its constructor as follows
obj = vtkGraphToPolyData
obj
is an instance of the vtkGraphToPolyData class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGraphToPolyData = obj.NewInstance ()
vtkGraphToPolyData = obj.SafeDownCast (vtkObject o)
obj.SetEdgeGlyphOutput (bool )
- 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.
bool = obj.GetEdgeGlyphOutput ()
- 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.
obj.EdgeGlyphOutputOn ()
- 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.
obj.EdgeGlyphOutputOff ()
- 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.
obj.SetEdgeGlyphPosition (double )
- 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.
double = obj.GetEdgeGlyphPosition ()
- 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.