Go to the documentation of this file.
61 #ifndef vtkCubeAxesActor_h
62 #define vtkCubeAxesActor_h
64 #define VTK_FLY_OUTER_EDGES 0
65 #define VTK_FLY_CLOSEST_TRIAD 1
66 #define VTK_FLY_FURTHEST_TRIAD 2
67 #define VTK_FLY_STATIC_TRIAD 3
68 #define VTK_FLY_STATIC_EDGES 4
70 #define VTK_TICKS_INSIDE 0
71 #define VTK_TICKS_OUTSIDE 1
72 #define VTK_TICKS_BOTH 2
74 #define VTK_GRID_LINES_ALL 0
75 #define VTK_GRID_LINES_CLOSEST 1
76 #define VTK_GRID_LINES_FURTHEST 2
78 #define NUMBER_OF_ALIGNED_AXIS 4
523 double sphereCenter[3],
double & sphereRadius);
535 unsigned int & zBit);
546 double MaxOf(
double,
double,
double,
double);
686 double RenderedBounds[6];
687 double OrientedBounds[6];
690 double AxisOrigin[3];
693 double AxisBaseForX[3];
694 double AxisBaseForY[3];
695 double AxisBaseForZ[3];
706 int LastUseOrientedBounds;
715 bool AutoLabelScaling;
721 double LastXRange[2];
722 double LastYRange[2];
723 double LastZRange[2];
724 double LastBounds[6];
736 bool MustAdjustXValue;
737 bool MustAdjustYValue;
738 bool MustAdjustZValue;
740 bool ForceXLabelReset;
741 bool ForceYLabelReset;
742 bool ForceZLabelReset;
744 double XAxisRange[2];
745 double YAxisRange[2];
746 double ZAxisRange[2];
758 double MajorStart[3];
759 double DeltaMajor[3];
764 void TransformBounds(
vtkViewport *viewport,
const double bounds[6],
766 void AdjustAxes(
double bounds[6],
770 double xRange[2],
double yRange[2],
double zRange[2]);
772 bool ComputeTickSize(
double bounds[6]);
773 void AdjustValues(
const double xRange[2],
774 const double yRange[2],
775 const double zRange[2]);
776 void AdjustRange(
const double bounds[6]);
779 void SetNonDependentAttributes(
void);
782 double rangeMin,
double rangeMax);
void SetTitleOffset(double offset)
vtkProperty * GetYAxesGridlinesProperty()
#define vtkGetVector6Macro(name, type)
vtkProperty * GetXAxesLinesProperty()
virtual int RenderOpaqueGeometry(vtkViewport *)
void SetXAxesLinesProperty(vtkProperty *)
#define NUMBER_OF_ALIGNED_AXIS
vtkProperty * ZAxesGridpolysProperty
#define vtkGetObjectMacro(name, type)
void SetUseTextActor3D(int val)
vtkProperty * ZAxesGridlinesProperty
#define vtkSetVector2Macro(name, type)
Create an axis with tick marks and labels.
double MaxOf(double, double, double, double)
vtkProperty * GetXAxesInnerGridlinesProperty()
vtkProperty * XAxesGridlinesProperty
#define vtkGetVector2Macro(name, type)
void SetTickLocationToBoth(void)
double DistanceLODThreshold
double MaxOf(double, double)
#define vtkSetVector3Macro(name, type)
void SetAxisLabels(int axis, vtkStringArray *value)
vtkProperty * XAxesInnerGridlinesProperty
void SetZAxesGridpolysProperty(vtkProperty *)
#define VTK_FLY_FURTHEST_TRIAD
record modification and/or execution time
#define VTK_FLY_STATIC_EDGES
void SetFlyModeToClosestTriad()
vtkProperty * GetXAxesGridpolysProperty()
void SetYAxesGridpolysProperty(vtkProperty *)
#define vtkTypeMacro(thisClass, superclass)
int XAxisMinorTickVisibility
create a plot of a bounding box edges -
virtual int RenderOverlay(vtkViewport *)
vtkProperty * GetZAxesGridlinesProperty()
void SetFlyModeToStaticEdges()
void ComputeStickyAxesBoundingSphere(vtkViewport *viewport, const double bounds[6], double sphereCenter[3], double &sphereRadius)
void SetYAxesInnerGridlinesProperty(vtkProperty *)
void GetViewportLimitedBounds(vtkViewport *viewport, double bounds[6])
vtkProperty * GetXAxesGridlinesProperty()
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
void SetZAxesGridlinesProperty(vtkProperty *)
int Digits(double min, double max)
void SetYAxesGridlinesProperty(vtkProperty *)
void PrintSelf(ostream &os, vtkIndent indent)
vtkProperty * YAxesInnerGridlinesProperty
int ZAxisMinorTickVisibility
window superclass for vtkRenderWindow
vtkProperty * GetZAxesInnerGridlinesProperty()
#define vtkSetClampMacro(name, type, min, max)
int LabelExponent(double min, double max)
static void GetBoundsPointBits(unsigned int pointIndex, unsigned int &xBit, unsigned int &yBit, unsigned int &zBit)
#define vtkGetVector3Macro(name, type)
GLsizei const GLfloat * value
void SetXAxesGridlinesProperty(vtkProperty *)
static vtkCubeAxesActor * New()
void SetTickLocationToOutside(void)
#define VTK_FLY_OUTER_EDGES
vtkTextProperty * GetTitleTextProperty(int)
vtkTextProperty * GetLabelTextProperty(int)
double ViewAngleLODThreshold
virtual int RenderTranslucentGeometry(vtkViewport *)
int YAxisMinorTickVisibility
represents an object (geometry & properties) in a rendered scene
vtkProperty * GetYAxesLinesProperty()
void ReleaseGraphicsResources(vtkWindow *)
a simple class to control print indentation
vtkProperty * YAxesGridpolysProperty
#define vtkSetStringMacro(name)
int FindFurtherstAxisIndex(double pts[8][3])
a virtual camera for 3D rendering
static void GetBoundsPoint(unsigned int pointIndex, const double bounds[6], double point[3])
void UpdateLabels(vtkAxisActor **axis, int index)
void SetFlyModeToFurthestTriad()
vtkProperty * XAxesLinesProperty
void UpdateGridLineVisibility(int axisIndex)
vtkProperty * ZAxesLinesProperty
vtkProperty * YAxesGridlinesProperty
#define vtkGetMacro(name, type)
void SetLabelScaling(bool, int, int, int)
vtkGetStringMacro(ExtensionsString)
void SetTickLocationToInside(void)
#define VTK_FLY_STATIC_TRIAD
virtual double * GetRenderedBounds()
abstract specification for Viewports
void SetYAxesLinesProperty(vtkProperty *)
void SetSaveTitlePosition(int val)
represent text properties.
vtkBooleanMacro(IgnoreDriverBugs, bool)
void SetZAxesInnerGridlinesProperty(vtkProperty *)
vtkSetMacro(IgnoreDriverBugs, bool)
vtkProperty * ZAxesInnerGridlinesProperty
int HasTranslucentPolygonalGeometry()
void SetFlyModeToOuterEdges()
vtkStringArray * GetAxisLabels(int axis)
vtkProperty * GetZAxesLinesProperty()
#define vtkSetVector6Macro(name, type)
vtkProperty * YAxesLinesProperty
void SetLabelOffset(double offset)
vtkProperty * GetYAxesInnerGridlinesProperty()
a vtkAbstractArray subclass for strings
virtual void GetRenderedBounds(double rBounds[6])
void SetXAxesGridpolysProperty(vtkProperty *)
represent surface properties of a geometric object
void FindBoundaryEdge(int &indexOfAxisX, int &indexOfAxisY, int &indexOfAxisZ, double pts[8][3])
void SetScreenSize(double screenSize)
double FSign(double, double)
void SetUse2DMode(int val)
virtual void SetCamera(vtkCamera *)
vtkProperty * GetYAxesGridpolysProperty()
vtkProperty * GetZAxesGridpolysProperty()
void SetZAxesLinesProperty(vtkProperty *)
void SetFlyModeToStaticTriad()
int FindClosestAxisIndex(double pts[8][3])
int GetNumTicks(double range, double fxt)
#define VTKRENDERINGANNOTATION_EXPORT
vtkProperty * XAxesGridpolysProperty
#define VTK_TICKS_OUTSIDE
void SetXAxesInnerGridlinesProperty(vtkProperty *)
#define VTK_FLY_CLOSEST_TRIAD