Go to the documentation of this file. 1 #ifndef TestAxisActorInternal_h
2 #define TestAxisActorInternal_h
115 axisZActor->
SetBounds(0, 0, 0, 0, 0, 10);
148 renderWindow->
SetSize(300, 300);
155 renderWindowInteractor->
Start();
void SetRenderWindow(vtkRenderWindow *aren)
Set/Get the rendering window being controlled by this object.
void SetTitleScale(const double scale)
virtual void SetSize(int, int)
void SetAxisMajorTicksProperty(vtkProperty *)
Get/Set axis actor property (axis and its ticks)
virtual void SetBackground(double, double, double)
Set/Get the background color of the rendering screen using an rgb color specification.
void SetAxisMinorTicksProperty(vtkProperty *)
Get/Set axis actor property (axis and its ticks)
void AddActor(vtkProp *p)
Add/Remove different types of props to the renderer.
vtkProperty * GetProperty()
void SetBounds(const double bounds[6])
Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
void SetTickLocationToInside(void)
virtual void SetDeltaRangeMinor(double)
virtual void SetTitleAlignLocation(int)
Get/Set the alignement of the title related to the axis.
virtual void SetExponentVisibility(bool)
Set/Get visibility of the axis detached exponent.
virtual void SetMinorTicksVisible(int)
Set/Get the flag that controls whether the minor ticks are visible.
virtual void SetColor(double, double, double)
Set the color of the text.
virtual void SetCamera(vtkCamera *)
Set/Get the camera for this axis.
virtual void SetMajorTickSize(double)
Set/Get the size of the major tick marks.
int TestAxisActorInternal(int use2dMode, int use3dProp)
virtual void SetUse2DMode(int)
Set/Get the 2D mode.
void SetAxisTypeToY(void)
virtual void SetLog(bool)
Set/Get The type of scale, enable logarithmic scale or linear by default.
void SetTitle(const char *t)
Set/Get the title of the axis actor,.
void SetFocalPoint(double x, double y, double z)
Set/Get the focal of the camera in world coordinates.
vtkCamera * GetActiveCamera()
Get the current camera.
virtual void SetOpacity(double)
Set/Get the text's opacity.
virtual void SetDeltaRangeMajor(double)
virtual void Render()
Ask each renderer owned by this RenderWindow to render its image and synchronize this process.
virtual void AddRenderer(vtkRenderer *)
Add a renderer to the list of renderers.
void SetValue(vtkIdType id, vtkStdString value)
Set the data at a particular index.
a virtual camera for 3D rendering
void SetExponent(const char *t)
Set/Get the common exponent of the labels values.
void SetAxisTypeToX(void)
void SetPosition(double x, double y, double z)
Set/Get the position of the camera in world coordinates.
void SetAxisTypeToZ(void)
virtual void SetColor(double r, double g, double b)
Set the color of the object.
virtual void SetMinorTickSize(double)
Set/Get the size of the major tick marks.
void SetTickLocationToBoth(void)
virtual void SetRange(double, double)
Specify the (min,max) axis range.
void SetTickLocationToOutside(void)
void SetAxisLinesProperty(vtkProperty *)
Get/Set axis actor property (axis and its ticks) (kept for compatibility)
void SetLabels(vtkStringArray *labels)
virtual void SetExponentOffset(double)
virtual void SetLabelTextProperty(vtkTextProperty *p)
Set/Get the axis labels text property.
virtual void Start()
Start the event loop.
virtual void SetLabelOffset(double)
Set/Get the offsets used to position texts.
virtual void SetPoint1(double x[3])
virtual void SetMinorRangeStart(double)
Set/Get the starting position for minor and major tick points on the range and the delta values that ...
void SetAxisMainLineProperty(vtkProperty *)
Get/Set main line axis actor property.
virtual void SetMultiSamples(int)
Set / Get the number of multisamples to use for hardware antialiasing.
virtual void SetAmbient(double)
Set/Get the ambient lighting coefficient.
void SetLabelScale(const double scale)
virtual void SetTitleOffset(double)
virtual void SetTitleTextProperty(vtkTextProperty *p)
Set/Get the axis title text property.
virtual void SetUseTextActor3D(int)
Render text as polygons (vtkVectorText) or as sprites (vtkTextActor3D).
virtual void SetExponentLocation(int)
Get/Set the location of the Detached Exponent related to the axis.
virtual void SetPoint2(double x[3])
virtual void SetDiffuse(double)
Set/Get the diffuse lighting coefficient.
void SetNumberOfTuples(vtkIdType number) override
Set the number of tuples (a component group) in the array.
virtual void SetMajorRangeStart(double)