3 #ifndef TestAxisActorInternal_h
4 #define TestAxisActorInternal_h
117 axisZActor->
SetBounds(0, 0, 0, 0, 0, 10);
150 renderWindow->
SetSize(300, 300);
157 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()
virtual void SetUse2DMode(bool)
Set/Get the 2D mode.
void AddActor(vtkProp *p)
Add/Remove different types of props to the renderer.
void SetTitleScale(double scale)
virtual void SetColor(double, double, double)
Set the color of the text.
virtual void SetDiffuse(double)
Set/Get the diffuse lighting coefficient.
vtkProperty * GetProperty()
Set/Get the property object that controls this actors surface properties.
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.
virtual void SetBackground(double, double, double)
Set/Get the background color of the rendering screen using an rgb color specification.
virtual void AddRenderer(vtkRenderer *)
Add a renderer to the list of renderers.
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.
vtkCamera * GetActiveCamera()
Get the current camera.
void SetValue(vtkIdType id, vtkStdString value)
Set the data at a particular index.
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.
void SetNumberOfTuples(vtkIdType number) override
Set the number of tuples (a component group) in the array.
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 SetTitle(const char *t)
Set/Get the title of the axis actor.
virtual void SetLog(bool)
Set/Get The type of scale, enable logarithmic scale or linear by default.
a virtual camera for 3D rendering
void SetAxisLinesProperty(vtkProperty *)
Get/Set axis actor property (axis and its ticks) (kept for compatibility)
void SetLabels(vtkStringArray *labels)
virtual void SetOpacity(double)
Set/Get the text's opacity.
void SetTickLocationToOutside()
virtual void SetExponentOffset(double)
Set/Get the Y-offset used to position exponent.
void SetFocalPoint(double x, double y, double z)
Set/Get the focal of the camera in world coordinates.
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)
virtual void SetMultiSamples(int)
Set / Get the number of multisamples to use for hardware antialiasing.
void SetExponent(const char *t)
Set/Get the common exponent of the labels values.
virtual void SetAmbient(double)
Set/Get the ambient lighting coefficient.
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.
int TestAxisActorInternal(int use2dMode, int use3dProp)
virtual void SetColor(double r, double g, double b)
Set the color of the object.
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.
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 SetUseTextActor3D(bool)
Render text as polygons (vtkVectorText) or as sprites (vtkTextActor3D).
virtual void SetLabelTextProperty(vtkTextProperty *p)
Set/Get the axis labels text property.
void SetAxisTypeToZ()
Set/Get the type of this axis.
void SetTitleOffset(double titleOffsetY)
Set/Get the 2D-offsets used to position title texts.
virtual void SetExponentVisibility(bool)
Set/Get visibility of the axis detached exponent.