51 #ifndef __vtkCubeAxesActor2D_h
52 #define __vtkCubeAxesActor2D_h
56 #define VTK_FLY_OUTER_EDGES 0
57 #define VTK_FLY_CLOSEST_TRIAD 1
58 #define VTK_FLY_NONE 2
97 void SetViewProp(
vtkProp* prop);
98 vtkGetObjectMacro(ViewProp,
vtkProp);
106 vtkSetVector6Macro(Bounds,
double);
108 void GetBounds(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
109 double& zmin,
double& zmax);
117 vtkSetVector6Macro(Ranges,
double);
119 void GetRanges(
double& xmin,
double& xmax,
double& ymin,
double& ymax,
120 double& zmin,
double& zmax);
121 void GetRanges(
double ranges[6]);
128 vtkSetMacro( XOrigin,
double );
129 vtkSetMacro( YOrigin,
double );
130 vtkSetMacro( ZOrigin,
double );
136 vtkSetMacro(UseRanges,
int);
137 vtkGetMacro(UseRanges,
int);
138 vtkBooleanMacro(UseRanges,
int);
153 vtkGetMacro(FlyMode,
int);
167 vtkSetMacro(Scaling,
int);
168 vtkGetMacro(Scaling,
int);
169 vtkBooleanMacro(Scaling,
int);
176 vtkSetClampMacro(NumberOfLabels,
int, 0, 50);
177 vtkGetMacro(NumberOfLabels,
int);
183 vtkSetStringMacro(XLabel);
184 vtkGetStringMacro(XLabel);
185 vtkSetStringMacro(YLabel);
186 vtkGetStringMacro(YLabel);
187 vtkSetStringMacro(ZLabel);
188 vtkGetStringMacro(ZLabel);
195 {
return this->XAxis;}
197 {
return this->YAxis;}
199 {
return this->ZAxis;}
219 vtkSetStringMacro(LabelFormat);
220 vtkGetStringMacro(LabelFormat);
226 vtkSetClampMacro(FontFactor,
double, 0.1, 2.0);
227 vtkGetMacro(FontFactor,
double);
235 vtkGetMacro(Inertia,
int);
245 vtkSetClampMacro(ShowActualBounds,
int, 0, 1);
246 vtkGetMacro(ShowActualBounds,
int);
253 vtkSetMacro(CornerOffset,
double);
254 vtkGetMacro(CornerOffset,
double);
264 vtkSetMacro(XAxisVisibility,
int);
265 vtkGetMacro(XAxisVisibility,
int);
266 vtkBooleanMacro(XAxisVisibility,
int);
267 vtkSetMacro(YAxisVisibility,
int);
268 vtkGetMacro(YAxisVisibility,
int);
269 vtkBooleanMacro(YAxisVisibility,
int);
270 vtkSetMacro(ZAxisVisibility,
int);
271 vtkGetMacro(ZAxisVisibility,
int);
272 vtkBooleanMacro(ZAxisVisibility,
int);
279 #if defined(_COMPILER_VERSION)
280 # pragma set woff 3303
282 #if defined(__INTEL_COMPILER)
283 # pragma warning (push)
284 # pragma warning (disable:858)
287 #ifdef VTK_WORKAROUND_WINDOWS_MANGLE
288 # define SetPropA SetProp
289 # define SetPropW SetProp
290 # define GetPropA GetProp
291 # define GetPropW GetProp
296 VTK_LEGACY(
virtual void SetProp(
vtkProp* prop));
300 VTK_LEGACY(
virtual vtkProp* GetProp());
302 #ifdef VTK_WORKAROUND_WINDOWS_MANGLE
308 VTK_LEGACY(
virtual void SetPropA(
vtkProp* prop));
309 VTK_LEGACY(
virtual void SetPropW(
vtkProp* prop));
310 VTK_LEGACY(
virtual vtkProp* GetPropA());
311 VTK_LEGACY(
virtual vtkProp* GetPropW());
316 #if defined(__INTEL_COMPILER)
317 # pragma warning (pop)
319 #if defined(_COMPILER_VERSION)
320 # pragma reset woff 3303
373 void TransformBounds(
vtkViewport *viewport,
double bounds[6],
375 int ClipBounds(
vtkViewport *viewport,
double pts[8][3],
double bounds[6]);
376 double EvaluatePoint(
double planes[24],
double x[3]);
377 double EvaluateBounds(
double planes[24],
double bounds[6]);
378 void AdjustAxes(
double pts[8][3],
double bounds[6],
379 int idx,
int xIdx,
int yIdx,
int zIdx,
int zIdx2,
380 int xAxes,
int yAxes,
int zAxes,
381 double xCoords[4],
double yCoords[4],
double zCoords[4],
382 double xRange[2],
double yRange[2],
double zRange[2]);
abstract superclass for all actors, volumes and annotations
void SetFlyModeToOuterEdges()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
virtual void ShallowCopy(vtkProp *prop)
virtual void ReleaseGraphicsResources(vtkWindow *)
abstract specification for Viewports
abstract class to specify dataset behavior
vtkAxisActor2D * GetXAxisActor2D()
a actor that draws 2D data
record modification and/or execution time
Create an axis with tick marks and labels.
virtual double * GetBounds()
window superclass for vtkRenderWindow
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOpaqueGeometry(vtkViewport *viewport)
a simple class to control print indentation
a virtual camera for 3D rendering
void PrintSelf(ostream &os, vtkIndent indent)
static vtkActor2D * New()
#define VTK_FLY_OUTER_EDGES
void SetFlyModeToClosestTriad()
represent text properties.
create a 2D plot of a bounding box edges - used for navigation
vtkAxisActor2D * GetZAxisActor2D()
virtual void ShallowCopy(vtkProp *prop)
vtkTextProperty * AxisLabelTextProperty
vtkTextProperty * AxisTitleTextProperty
virtual int RenderOverlay(vtkViewport *viewport)
vtkAxisActor2D * GetYAxisActor2D()
#define VTK_LARGE_INTEGER
#define VTK_FLY_CLOSEST_TRIAD