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
65class VTKINFOVISLAYOUT_EXPORT vtkKCoreLayout : public vtkGraphAlgorithm
66{
67public:
70 void PrintSelf(ostream& os, vtkIndent indent);
71
74
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
171protected:
173
176
179
181 bool Polar;
182
183 float Epsilon;
185
186private:
187 vtkKCoreLayout(const vtkKCoreLayout&) VTK_DELETE_FUNCTION;
188 void operator=(const vtkKCoreLayout&) VTK_DELETE_FUNCTION;
189};
190
191#endif
Proxy object to connect input/output ports.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Produces a layout for a graph labeled with K-Core information.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
char * CartesianCoordsXArrayName
char * KCoreLabelArrayName
char * PolarCoordsAngleArrayName
void SetGraphConnection(vtkAlgorithmOutput *)
Convenience function provided for setting the graph input.
char * PolarCoordsRadiusArrayName
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
static vtkKCoreLayout * New()
char * CartesianCoordsYArrayName
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.