Public Member Functions |
| | vtkSimple3DCirclesStrategy (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkSimple3DCirclesStrategy () |
| | *Undocumented Block
|
| virtual void | AutoHeightOff () |
| | Set or get auto height (Default: false). If AutoHeight is true, (r(i+1) - r(i-1))/Height will be smaller than tan(MinimumRadian). If you want equal distances and parallel circles, you should turn off AutoHeight.
|
| virtual void | AutoHeightOn () |
| | Set or get auto height (Default: false). If AutoHeight is true, (r(i+1) - r(i-1))/Height will be smaller than tan(MinimumRadian). If you want equal distances and parallel circles, you should turn off AutoHeight.
|
| virtual void | ForceToUseUniversalStartPointsFinderOff () |
| | Set or get ForceToUseUniversalStartPointsFinder. If ForceToUseUniversalStartPointsFinder is true, MarkedStartVertices won't be used. In this case the input graph must be vtkDirectedAcyclicGraph (Defualt: false).
|
| virtual void | ForceToUseUniversalStartPointsFinderOn () |
| | Set or get ForceToUseUniversalStartPointsFinder. If ForceToUseUniversalStartPointsFinder is true, MarkedStartVertices won't be used. In this case the input graph must be vtkDirectedAcyclicGraph (Defualt: false).
|
| virtual int | GetAutoHeight () |
| | Set or get auto height (Default: false). If AutoHeight is true, (r(i+1) - r(i-1))/Height will be smaller than tan(MinimumRadian). If you want equal distances and parallel circles, you should turn off AutoHeight.
|
| virtual double[] | GetDirection () |
| | Set or get the normal vector of the circles plain. The height is growing in this direction. The direction must not be zero vector. The default vector is (0.0,0.0,1.0)
|
| virtual void | GetDirection (ref double _arg1, ref double _arg2, ref double _arg3) |
| | Set or get the normal vector of the circles plain. The height is growing in this direction. The direction must not be zero vector. The default vector is (0.0,0.0,1.0)
|
| virtual void | GetDirection (IntPtr _arg) |
| | Set or get the normal vector of the circles plain. The height is growing in this direction. The direction must not be zero vector. The default vector is (0.0,0.0,1.0)
|
| virtual int | GetForceToUseUniversalStartPointsFinder () |
| | Set or get ForceToUseUniversalStartPointsFinder. If ForceToUseUniversalStartPointsFinder is true, MarkedStartVertices won't be used. In this case the input graph must be vtkDirectedAcyclicGraph (Defualt: false).
|
| virtual double | GetHeight () |
| | Set or get the vertical (local z) distance between the circles. If AutoHeight is on, this is the minimal height between the circle layers.
|
| virtual vtkIntArray | GetHierarchicalLayers () |
| | Set or get hierarchical layers id by vertices (An usual vertex's layer id is greater or equal to zero. If a vertex is standalone, its layer id is -2.) If no HierarchicalLayers array is defined, vtkSimple3DCirclesStrategy will generate it automatically (default).
|
| virtual vtkIdTypeArray | GetHierarchicalOrder () |
| | Set or get hierarchical ordering of vertices (The array starts from the first vertex's id. All id must be greater or equal to zero!) If no HierarchicalOrder is defined, vtkSimple3DCirclesStrategy will generate it automatically (default).
|
| virtual vtkAbstractArray | GetMarkedStartVertices () |
| | Set or get initial vertices. If MarkedStartVertices is added, loop is accepted in the graph. (If all of the loop start vertices are marked in MarkedStartVertices array.) MarkedStartVertices size must be equal with the number of the vertices in the graph. Start vertices must be marked by MarkedValue. (E.g.: if MarkedValue=3 and MarkedStartPoints is { 0, 3, 5, 3 }, the start points ids will be {1,3}.) )
|
| virtual int | GetMethod () |
| | *BTX
*enum
{ *FixedRadiusMethod = 0, FixedDistanceMethod = 1 }; *ETX Set or get cicrle generating method (FixedRadiusMethod/FixedDistanceMethod). Default is FixedRadiusMethod.
|
| virtual double | GetMinimumDegree () |
| | Set or get minimum degree (used by auto height). There is no separated minimum degree, so minimum radian will be changed.
|
| virtual double | GetMinimumRadian () |
| | Set or get minimum radian (used by auto height).
|
| virtual double[] | GetOrigin () |
| | Set or get the origin of the geometry. This is the center of the first circle. SetOrigin(x,y,z)
|
| virtual void | GetOrigin (ref double _arg1, ref double _arg2, ref double _arg3) |
| | Set or get the origin of the geometry. This is the center of the first circle. SetOrigin(x,y,z)
|
| virtual void | GetOrigin (IntPtr _arg) |
| | Set or get the origin of the geometry. This is the center of the first circle. SetOrigin(x,y,z)
|
| virtual double | GetRadius () |
| | If Method is FixedRadiusMethod: Set or get the radius of the circles. If Method is FixedDistanceMethod: Set or get the distance of the points in the circle.
|
| override int | IsA (string type) |
| | *Undocumented Block
|
| override void | Layout () |
| | Standard layout method.
|
| new vtkSimple3DCirclesStrategy | NewInstance () |
| | *Undocumented Block
|
| virtual void | SetAutoHeight (int _arg) |
| | Set or get auto height (Default: false). If AutoHeight is true, (r(i+1) - r(i-1))/Height will be smaller than tan(MinimumRadian). If you want equal distances and parallel circles, you should turn off AutoHeight.
|
| virtual void | SetDirection (double dx, double dy, double dz) |
| | Set or get the normal vector of the circles plain. The height is growing in this direction. The direction must not be zero vector. The default vector is (0.0,0.0,1.0)
|
| virtual void | SetDirection (IntPtr d) |
| | Set or get the normal vector of the circles plain. The height is growing in this direction. The direction must not be zero vector. The default vector is (0.0,0.0,1.0)
|
| virtual void | SetForceToUseUniversalStartPointsFinder (int _arg) |
| | Set or get ForceToUseUniversalStartPointsFinder. If ForceToUseUniversalStartPointsFinder is true, MarkedStartVertices won't be used. In this case the input graph must be vtkDirectedAcyclicGraph (Defualt: false).
|
| override void | SetGraph (vtkGraph graph) |
| | Set graph (warning: HierarchicalOrder and HierarchicalLayers will set to zero. These reference counts will be decreased!)
|
| virtual void | SetHeight (double _arg) |
| | Set or get the vertical (local z) distance between the circles. If AutoHeight is on, this is the minimal height between the circle layers.
|
| virtual void | SetHierarchicalLayers (vtkIntArray _arg) |
| | Set or get hierarchical layers id by vertices (An usual vertex's layer id is greater or equal to zero. If a vertex is standalone, its layer id is -2.) If no HierarchicalLayers array is defined, vtkSimple3DCirclesStrategy will generate it automatically (default).
|
| virtual void | SetHierarchicalOrder (vtkIdTypeArray _arg) |
| | Set or get hierarchical ordering of vertices (The array starts from the first vertex's id. All id must be greater or equal to zero!) If no HierarchicalOrder is defined, vtkSimple3DCirclesStrategy will generate it automatically (default).
|
| virtual void | SetMarkedStartVertices (vtkAbstractArray _arg) |
| | Set or get initial vertices. If MarkedStartVertices is added, loop is accepted in the graph. (If all of the loop start vertices are marked in MarkedStartVertices array.) MarkedStartVertices size must be equal with the number of the vertices in the graph. Start vertices must be marked by MarkedValue. (E.g.: if MarkedValue=3 and MarkedStartPoints is { 0, 3, 5, 3 }, the start points ids will be {1,3}.) )
|
| virtual void | SetMethod (int _arg) |
| | *BTX
*enum
{ *FixedRadiusMethod = 0, FixedDistanceMethod = 1 }; *ETX Set or get cicrle generating method (FixedRadiusMethod/FixedDistanceMethod). Default is FixedRadiusMethod.
|
| virtual void | SetMinimumDegree (double degree) |
| | Set or get minimum degree (used by auto height). There is no separated minimum degree, so minimum radian will be changed.
|
| virtual void | SetMinimumRadian (double _arg) |
| | Set or get minimum radian (used by auto height).
|
| virtual void | SetOrigin (double _arg1, double _arg2, double _arg3) |
| | Set or get the origin of the geometry. This is the center of the first circle. SetOrigin(x,y,z)
|
| virtual void | SetOrigin (IntPtr _arg) |
| | Set or get the origin of the geometry. This is the center of the first circle. SetOrigin(x,y,z)
|
| virtual void | SetRadius (double _arg) |
| | If Method is FixedRadiusMethod: Set or get the radius of the circles. If Method is FixedDistanceMethod: Set or get the distance of the points in the circle.
|
| | vtkGraphLayoutStrategy (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| virtual string | GetEdgeWeightField () |
| | Set/Get the field to use for the edge weights.
|
| virtual bool | GetWeightEdges () |
| | Whether to use edge weights in the layout or not.
|
| virtual void | Initialize () |
| | This method allows the layout strategy to do initialization of data structures or whatever else it might want to do.
|
| virtual int | IsLayoutComplete () |
| | If your concrete class is iterative than you should overload IsLayoutComplete() otherwise it simply returns 1 by default;.
|
| virtual void | SetEdgeWeightField (string field) |
| | Set/Get the field to use for the edge weights.
|
| virtual void | SetWeightEdges (bool state) |
| | Whether to use edge weights in the layout or not.
|
| | vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkObject () |
| | Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
| uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| virtual void | DebugOff () |
| | Turn debugging output off.
|
| virtual void | DebugOn () |
| | Turn debugging output on.
|
| vtkCommand | GetCommand (uint tag) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| byte | GetDebug () |
| | Get the value of the debug flag.
|
| virtual uint | GetMTime () |
| | Return this object's modified time.
|
| int | HasObserver (uint arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (string arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | HasObserver (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (uint arg0, IntPtr callData) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (string arg0, IntPtr callData) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| int | InvokeEvent (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| virtual void | Modified () |
| | Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
|
| void | RemoveAllObservers () |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObserver (vtkCommand arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObserver (uint tag) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (uint arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (string arg0, vtkCommand arg1) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (uint arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | RemoveObservers (string arg0) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed.
|
| void | SetDebug (byte debugFlag) |
| | Set the value of the debug flag. A non-zero value turns debugging on.
|
| override string | ToString () |
| | Returns the result of calling vtkObject::Print as a C# string.
|
| delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
| | Generic signature for all vtkObject events.
|
| void | RemoveAllHandlersForAllEvents () |
| | Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
|
| | vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) |
| | Automatically generated constructor - called from generated code. DO NOT call directly.
|
| | vtkObjectBase () |
| | Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
|
| virtual void | Register (vtkObjectBase o) |
| | Increase the reference count (mark as used by another object).
|
| virtual void | FastDelete () |
| | Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
|
| string | GetClassName () |
| | Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
|
| int | GetReferenceCount () |
| | Return the current reference count of this object.
|
| void | SetReferenceCount (int arg0) |
| | Sets the reference count. (This is very dangerous, use with care.)
|
vtkSimple3DCirclesStrategy - places vertices on circles in 3D
Description Places vertices on circles depending on the graph vertices hierarchy level. The source graph could be vtkDirectedAcyclicGraph or vtkDirectedGraph if MarkedStartPoints array was added. The algorithm collects the standalone points, too and take them to a separated circle. If method is FixedRadiusMethod, the radius of the circles will be equal. If method is FixedDistanceMethod, the distance beetwen the points on circles will be equal.
In first step initial points are searched. A point is initial, if its in degree equal zero and out degree is greater than zero (or marked by MarkedStartVertices and out degree is greater than zero). Independent vertices (in and out degree equal zero) are collected separatelly. In second step the hierarchical level is generated for every vertex. In third step the hierarchical order is generated. If a vertex has no hierarchical level and it is not independent, the graph has loop so the algorithm exit with error message. Finally the vertices positions are calculated by the hierarchical order and by the vertices hierarchy levels.
Thanks Ferenc Nasztanovics, naszt.nosp@m.a@na.nosp@m.szta..nosp@m.hu, Budapest University of Technology and Economics, Department of Structural Mechanics
References in 3D rotation was used: http://en.citizendium.org/wiki/Rotation_matrix