MCPcopy Create free account
hub / github.com/Kitware/VTK / vtkGetVectorMacro

Function vtkGetVectorMacro

Rendering/Annotation/vtkAxisActor.h:107–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 */
106 vtkSetVector2Macro(Range, double);
107 vtkGetVectorMacro(Range, double, 2);
108 ///@}
109
110 ///@{
111 /**
112 * Set or get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
113 * Default: (-1, 1, -1, 1, -1, 1).
114 */
115 void SetBounds(const double bounds[6]);
116 void SetBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
117 double* GetBounds() VTK_SIZEHINT(6) override;
118 void GetBounds(double bounds[6]);
119 ///@}
120
121 ///@{
122 /**
123 * Set/Get the std::format or printf style format with which to print the labels on the axis.
124 */
125 void SetLabelFormat(const char* format);
126 vtkGetStringMacro(LabelFormat);
127 ///@}
128
129 ///@{
130 /**
131 * Render text as polygons (vtkVectorText) or as sprites (vtkTextActor3D).
132 * In 2D mode, the value is ignored and text is rendered as vtkTextActor.
133 * False(0) by default.
134 * See Also:
135 * GetUse2DMode(), SetUse2DMode
136 */
137 vtkSetMacro(UseTextActor3D, bool);
138 vtkGetMacro(UseTextActor3D, bool);
139 ///@}
140
141 ///@{
142 /**
143 * Set/Get the flag that controls whether the minor ticks are visible.
144 * Default: true.
145 */
146 vtkSetMacro(MinorTicksVisible, bool);
147 vtkGetMacro(MinorTicksVisible, bool);
148 vtkBooleanMacro(MinorTicksVisible, bool);
149 ///@}
150
151 ///@{
152 /**
153 * Set/Get the title of the axis actor.
154 */
155 void SetTitle(const std::string& title);
156 vtkGetMacro(Title, std::string);
157 ///@}
158
159 ///@{
160 /**
161 * Set/Get the common exponent of the labels values.
162 */
163 void SetExponent(const std::string& exp);
164 vtkGetMacro(Exponent, std::string);

Callers

nothing calls this directly

Calls 1

vtkSetClampMacroFunction · 0.70

Tested by

no test coverage detected