VTK
vtkKCoreLayout.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkKCoreLayout.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*----------------------------------------------------------------------------
16  Copyright (c) Sandia Corporation
17  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
18 ----------------------------------------------------------------------------*/
59 #ifndef vtkKCoreLayout_h
60 #define vtkKCoreLayout_h
61 
62 #include "vtkInfovisLayoutModule.h" // For export macro
63 #include "vtkGraphAlgorithm.h"
64 
65 class VTKINFOVISLAYOUT_EXPORT vtkKCoreLayout : public vtkGraphAlgorithm
66 {
67 public:
68  static vtkKCoreLayout* New();
70  void PrintSelf(ostream& os, vtkIndent indent);
71 
73  void SetGraphConnection(vtkAlgorithmOutput*);
74 
76  ~vtkKCoreLayout();
77 
79 
81 
85  vtkSetStringMacro(KCoreLabelArrayName);
87 
89 
94  vtkGetMacro( Polar, bool );
95  vtkSetMacro( Polar, bool );
96  vtkBooleanMacro( Polar, bool );
98 
100 
105  vtkGetMacro( Cartesian, bool );
106  vtkSetMacro( Cartesian, bool );
107  vtkBooleanMacro( Cartesian, bool );
109 
111 
116  vtkSetStringMacro(PolarCoordsRadiusArrayName);
117  vtkGetStringMacro(PolarCoordsRadiusArrayName);
119 
121 
126  vtkSetStringMacro(PolarCoordsAngleArrayName);
127  vtkGetStringMacro(PolarCoordsAngleArrayName);
129 
131 
136  vtkSetStringMacro(CartesianCoordsXArrayName);
137  vtkGetStringMacro(CartesianCoordsXArrayName);
139 
141 
146  vtkSetStringMacro(CartesianCoordsYArrayName);
147  vtkGetStringMacro(CartesianCoordsYArrayName);
149 
151 
155  vtkSetMacro( Epsilon, float );
156  vtkGetMacro( Epsilon, float );
158 
160 
164  vtkSetMacro( UnitRadius, float );
165  vtkGetMacro( UnitRadius, float );
167 
168 
170 
171 protected:
173 
176 
179 
180  bool Cartesian;
181  bool Polar;
182 
183  float Epsilon;
184  float UnitRadius;
185 
186 private:
187  vtkKCoreLayout(const vtkKCoreLayout&) VTK_DELETE_FUNCTION;
188  void operator=(const vtkKCoreLayout&) VTK_DELETE_FUNCTION;
189 };
190 
191 #endif
static vtkGraphAlgorithm * New()
Produces a layout for a graph labeled with K-Core information.
char * CartesianCoordsYArrayName
Store vtkAlgorithm input/output information.
char * KCoreLabelArrayName
char * PolarCoordsRadiusArrayName
Superclass for algorithms that produce only graph as output.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Proxy object to connect input/output ports.
a simple class to control print indentation
Definition: vtkIndent.h:39
char * CartesianCoordsXArrayName
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
char * PolarCoordsAngleArrayName