VTK
|
routes parallel edges as arcs More...
#include <vtkArcParallelEdgeStrategy.h>
Public Types | |
typedef vtkEdgeLayoutStrategy | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkArcParallelEdgeStrategy * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Layout () |
virtual int | GetNumberOfSubdivisions () |
virtual void | SetNumberOfSubdivisions (int) |
Static Public Member Functions | |
static vtkArcParallelEdgeStrategy * | New () |
static int | IsTypeOf (const char *type) |
static vtkArcParallelEdgeStrategy * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkArcParallelEdgeStrategy () | |
~vtkArcParallelEdgeStrategy () | |
Protected Attributes | |
int | NumberOfSubdivisions |
routes parallel edges as arcs
Parallel edges are drawn as arcs, and self-loops are drawn as ovals. When only one edge connects two vertices it is drawn as a straight line.
Definition at line 41 of file vtkArcParallelEdgeStrategy.h.
Reimplemented from vtkEdgeLayoutStrategy.
Definition at line 45 of file vtkArcParallelEdgeStrategy.h.
vtkArcParallelEdgeStrategy::vtkArcParallelEdgeStrategy | ( | ) | [protected] |
vtkArcParallelEdgeStrategy::~vtkArcParallelEdgeStrategy | ( | ) | [protected] |
static vtkArcParallelEdgeStrategy* vtkArcParallelEdgeStrategy::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
static int vtkArcParallelEdgeStrategy::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 vtkEdgeLayoutStrategy.
virtual int vtkArcParallelEdgeStrategy::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 vtkEdgeLayoutStrategy.
static vtkArcParallelEdgeStrategy* vtkArcParallelEdgeStrategy::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkEdgeLayoutStrategy.
virtual vtkObjectBase* vtkArcParallelEdgeStrategy::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkEdgeLayoutStrategy.
Reimplemented from vtkEdgeLayoutStrategy.
void vtkArcParallelEdgeStrategy::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 vtkEdgeLayoutStrategy.
virtual void vtkArcParallelEdgeStrategy::Layout | ( | ) | [virtual] |
This is the layout method where the graph that was set in SetGraph() is laid out.
Implements vtkEdgeLayoutStrategy.
virtual int vtkArcParallelEdgeStrategy::GetNumberOfSubdivisions | ( | ) | [virtual] |
Get/Set the number of subdivisions on each edge.
virtual void vtkArcParallelEdgeStrategy::SetNumberOfSubdivisions | ( | int | ) | [virtual] |
Get/Set the number of subdivisions on each edge.
int vtkArcParallelEdgeStrategy::NumberOfSubdivisions [protected] |
Definition at line 62 of file vtkArcParallelEdgeStrategy.h.