3 #ifndef TestAxisActorInternal_h
4 #define TestAxisActorInternal_h
45 ::InitializeAxis(axis);
86 ::InitializeAxis(axis);
117 ::InitializeAxis(axis);
154 renderWindow->
SetSize(300, 300);
170 renderWindowInteractor->
Start();
virtual void SetPoint1(double x[3])
Specify the position of the first point defining the axis.
virtual void SetMinorRangeStart(double)
Set/Get the starting position for minor and major tick points on the range.
void SetTickLocationToInside()
void AddActor(vtkProp *p)
Add/Remove different types of props to the renderer.
virtual void SetNumberOfTuples(vtkIdType numTuples)
Set the number of tuples (a component group) in the array.
void SetTitleScale(double scale)
Set scale on underlying actor.
virtual void SetColor(double, double, double)
Set the color of the text.
void SetTitle(const std::string &title)
Set/Get the title of the axis actor.
virtual void SetPoint2(double x[3])
Specify the position of the second point defining the axis.
void SetTickLocationToBoth()
void SetRenderWindow(vtkRenderWindow *aren)
Set/Get the rendering window being controlled by this object.
void SetAxisTypeToY()
Set/Get the type of this axis.
Create an axis with tick marks and labels.
virtual void SetBackground(double, double, double)
Set/Get the background color of the rendering screen using an rgb color specification.
void SetExponent(const std::string &exp)
Set/Get the common exponent of the labels values.
virtual void AddRenderer(vtkRenderer *)
Add a renderer to the list of renderers.
vtkCamera * GetCamera()
Set/Get the camera for this axis.
void Render() override
Ask each renderer owned by this RenderWindow to render its image and synchronize this process...
virtual void SetDeltaRangeMinor(double)
Set/Get the delta range for minor and major tick points that determine their spacing.
void SetPosition(double x, double y, double z)
Set/Get the position of the camera in world coordinates.
void SetBounds(const double bounds[6])
Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetAxisTypeToX()
Set/Get the type of this axis.
int TestAxisActorInternal(vtkAxisActor *axis)
virtual void SetCamera(vtkCamera *)
Set/Get the camera for this axis.
virtual void SetTitleAlignLocation(int location)
Get/Set the alignment of the title related to the axis.
virtual void SetMajorTickSize(double)
Set/Get the size of major tick marks.
virtual void Start()
Start the event loop.
virtual void SetMinorTickSize(double)
Set/Get the size of minor tick marks.
virtual void SetSize(int width, int height)
Set the size (width and height) of the rendering window in screen coordinates (in pixels)...
void AddToWindow(vtkRenderWindow *renderWindow, vtkAxisActor *axis)
virtual void SetLog(bool)
Set/Get The type of scale, enable logarithmic scale or linear by default.
void SetAxisLinesProperty(vtkProperty *)
Get/Set axis actor property (axis and its ticks) (kept for compatibility)
void SetLabels(vtkStringArray *labels)
virtual void SetTitleOffset(double, double)
Set/Get the 2D-offsets used to position title texts.
virtual void SetOpacity(double)
Set/Get the text's opacity.
void SetViewUp(double vx, double vy, double vz)
Set/Get the view up direction for the camera.
virtual bool ResetCameraScreenSpace(double offsetRatio=0.9)
Automatically set up the camera based on the visible actors.
void SetTickLocationToOutside()
virtual void SetExponentOffset(double)
Set/Get the Y-offset used to position exponent.
void SetAxisMainLineProperty(vtkProperty *)
Get/Set main line axis actor property.
virtual void SetLabelOffset(double)
Set/Get the Y-offset used to position label.
virtual void SetDeltaRangeMajor(double)
Set/Get the delta range for minor and major tick points that determine their spacing.
void SetLabelScale(double scale)
Set scale on underlying actor.
virtual void SetMultiSamples(int)
Set / Get the number of multisamples to use for hardware antialiasing.
create a window for renderers to draw into
virtual void SetTitleTextProperty(vtkTextProperty *p)
Set/Get the axis title text property.
virtual void SetMinorTicksVisible(bool)
Set/Get the flag that controls whether the minor ticks are visible.
virtual void SetFontSize(int)
Set/Get the font size (in points).
virtual void SetColor(double r, double g, double b)
Set the color of the object.
void SetValue(vtkIdType id, ValueType value)
Set the data at a particular index.
virtual void SetMajorRangeStart(double)
Set/Get the starting position for minor and major tick points on the range.
void SetAxisMajorTicksProperty(vtkProperty *)
Get/Set axis actor property (axis and its ticks)
virtual void SetRange(double, double)
Specify the (min,max) axis range.
void SetActiveCamera(vtkCamera *)
Specify the camera to use for this renderer.
virtual void SetExponentLocation(int location)
Get/Set the location of the Detached Exponent related to the axis.
void SetAxisMinorTicksProperty(vtkProperty *)
Get/Set axis actor property (axis and its ticks)
virtual void SetLabelTextProperty(vtkTextProperty *p)
Set/Get the axis labels text property.
void SetAxisTypeToZ()
Set/Get the type of this axis.
virtual void SetExponentVisibility(bool)
Set/Get visibility of the axis detached exponent.