|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More...
|
|
vtkSimple3DCirclesStrategy * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
void | Layout () override |
| Standard layout method. More...
|
|
void | SetGraph (vtkGraph *graph) override |
| Set graph (warning: HierarchicalOrder and HierarchicalLayers will set to zero. More...
|
|
|
virtual void | SetMethod (int) |
| Set or get circle generating method (FixedRadiusMethod/FixedDistanceMethod). More...
|
|
virtual int | GetMethod () |
| Set or get circle generating method (FixedRadiusMethod/FixedDistanceMethod). More...
|
|
|
virtual void | SetRadius (double) |
| If Method is FixedRadiusMethod: Set or get the radius of the circles. More...
|
|
virtual double | GetRadius () |
| If Method is FixedRadiusMethod: Set or get the radius of the circles. More...
|
|
|
virtual void | SetHeight (double) |
| Set or get the vertical (local z) distance between the circles. More...
|
|
virtual double | GetHeight () |
| Set or get the vertical (local z) distance between the circles. More...
|
|
|
virtual void | SetOrigin (double, double, double) |
| Set or get the origin of the geometry. More...
|
|
virtual void | SetOrigin (double[3]) |
| Set or get the origin of the geometry. More...
|
|
virtual double * | GetOrigin () |
| Set or get the origin of the geometry. More...
|
|
virtual void | GetOrigin (double &, double &, double &) |
| Set or get the origin of the geometry. More...
|
|
virtual void | GetOrigin (double[3]) |
| Set or get the origin of the geometry. More...
|
|
|
virtual void | SetDirection (double dx, double dy, double dz) |
| Set or get the normal vector of the circles plain. More...
|
|
virtual void | SetDirection (double d[3]) |
| Set or get the normal vector of the circles plain. More...
|
|
virtual double * | GetDirection () |
| Set or get the normal vector of the circles plain. More...
|
|
virtual void | GetDirection (double &, double &, double &) |
| Set or get the normal vector of the circles plain. More...
|
|
virtual void | GetDirection (double[3]) |
| Set or get the normal vector of the circles plain. More...
|
|
|
virtual void | SetMarkedStartVertices (vtkAbstractArray *_arg) |
| Set or get initial vertices. More...
|
|
virtual vtkAbstractArray * | GetMarkedStartVertices () |
| Set or get initial vertices. More...
|
|
|
virtual void | SetMarkedValue (vtkVariant _arg) |
| Set or get MarkedValue. More...
|
|
virtual vtkVariant | GetMarkedValue () |
| Set or get MarkedValue. More...
|
|
|
virtual void | SetForceToUseUniversalStartPointsFinder (vtkTypeBool) |
| Set or get ForceToUseUniversalStartPointsFinder. More...
|
|
virtual vtkTypeBool | GetForceToUseUniversalStartPointsFinder () |
| Set or get ForceToUseUniversalStartPointsFinder. More...
|
|
virtual void | ForceToUseUniversalStartPointsFinderOn () |
| Set or get ForceToUseUniversalStartPointsFinder. More...
|
|
virtual void | ForceToUseUniversalStartPointsFinderOff () |
| Set or get ForceToUseUniversalStartPointsFinder. More...
|
|
|
virtual void | SetAutoHeight (vtkTypeBool) |
| Set or get auto height (Default: false). More...
|
|
virtual vtkTypeBool | GetAutoHeight () |
| Set or get auto height (Default: false). More...
|
|
virtual void | AutoHeightOn () |
| Set or get auto height (Default: false). More...
|
|
virtual void | AutoHeightOff () |
| Set or get auto height (Default: false). More...
|
|
|
virtual void | SetMinimumRadian (double) |
| Set or get minimum radian (used by auto height). More...
|
|
virtual double | GetMinimumRadian () |
| Set or get minimum radian (used by auto height). More...
|
|
|
virtual void | SetMinimumDegree (double degree) |
| Set or get minimum degree (used by auto height). More...
|
|
virtual double | GetMinimumDegree () |
| Set or get minimum degree (used by auto height). More...
|
|
|
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. More...
|
|
virtual vtkIntArray * | GetHierarchicalLayers () |
| Set or get hierarchical layers id by vertices (An usual vertex's layer id is greater or equal to zero. More...
|
|
|
virtual void | SetHierarchicalOrder (vtkIdTypeArray *_arg) |
| Set or get hierarchical ordering of vertices (The array starts from the first vertex's id. More...
|
|
virtual vtkIdTypeArray * | GetHierarchicalOrder () |
| Set or get hierarchical ordering of vertices (The array starts from the first vertex's id. More...
|
|
vtkGraphLayoutStrategy * | NewInstance () const |
|
virtual void | Initialize () |
| This method allows the layout strategy to do initialization of data structures or whatever else it might want to do. More...
|
|
virtual int | IsLayoutComplete () |
| If your concrete class is iterative than you should overload IsLayoutComplete() otherwise it simply returns 1 by default;. More...
|
|
virtual void | SetWeightEdges (bool state) |
| Whether to use edge weights in the layout or not. More...
|
|
virtual bool | GetWeightEdges () |
| Whether to use edge weights in the layout or not. More...
|
|
virtual void | SetEdgeWeightField (const char *field) |
| Set/Get the field to use for the edge weights. More...
|
|
virtual char * | GetEdgeWeightField () |
| Set/Get the field to use for the edge weights. More...
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on. More...
|
|
virtual void | DebugOff () |
| Turn debugging output off. More...
|
|
bool | GetDebug () |
| Get the value of the debug flag. More...
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag. More...
|
|
virtual void | Modified () |
| Update the modification time for this object. More...
|
|
virtual vtkMTimeType | GetMTime () |
| Return this object's modified time. More...
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
std::string | GetObjectDescription () const override |
| The object description printed in messages and PrintSelf output. More...
|
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method. More...
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
virtual void | SetObjectName (const std::string &objectName) |
| Set/get the name of this object for reporting purposes. More...
|
|
virtual std::string | GetObjectName () const |
| Set/get the name of this object for reporting purposes. More...
|
|
const char * | GetClassName () const |
| Return the class name as a string. More...
|
|
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
| Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
|
|
virtual void | Delete () |
| Delete a VTK object. More...
|
|
virtual void | FastDelete () |
| Delete a reference to this object. More...
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream. More...
|
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object). More...
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object). More...
|
|
int | GetReferenceCount () |
| Return the current reference count of this object. More...
|
|
void | SetReferenceCount (int) |
| Sets the reference count. More...
|
|
bool | GetIsInMemkind () const |
| A local state flag that remembers whether this object lives in the normal or extended memory space. More...
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual bool | UsesGarbageCollector () const |
| Indicate whether the class uses vtkGarbageCollector or not. More...
|
|
|
static vtkSimple3DCirclesStrategy * | New () |
|
static vtkTypeBool | IsTypeOf (const char *type) |
|
static vtkSimple3DCirclesStrategy * | SafeDownCast (vtkObjectBase *o) |
|
static vtkTypeBool | IsTypeOf (const char *type) |
|
static vtkGraphLayoutStrategy * | SafeDownCast (vtkObjectBase *o) |
|
static vtkObject * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
|
|
static void | BreakOnError () |
| This method is called when vtkErrorMacro executes. More...
|
|
static void | SetGlobalWarningDisplay (int val) |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static void | GlobalWarningDisplayOn () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static void | GlobalWarningDisplayOff () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static int | GetGlobalWarningDisplay () |
| This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
|
static vtkTypeBool | IsTypeOf (const char *name) |
| Return 1 if this class type is the same type of (or a subclass of) the named class. More...
|
|
static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
| Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). More...
|
|
static vtkObjectBase * | New () |
| Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
|
|
static void | SetMemkindDirectory (const char *directoryname) |
| The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. More...
|
|
static bool | GetUsingMemkind () |
| A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. More...
|
|
places vertices on circles in 3D
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 between 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 separately. 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
- Tests:
- vtkSimple3DCirclesStrategy (Tests)
Definition at line 59 of file vtkSimple3DCirclesStrategy.h.