14 #ifndef vtkGridAxes3DActor_h 15 #define vtkGridAxes3DActor_h 48 vtkSetVector6Macro(GridBounds,
double);
49 vtkGetVector6Macro(GridBounds,
double);
73 virtual void SetFaceMask(
unsigned int mask);
74 vtkGetMacro(FaceMask,
unsigned int);
91 virtual void SetLabelMask(
unsigned int mask);
92 unsigned int GetLabelMask();
116 vtkSetMacro(LabelUniqueEdgesOnly,
bool);
117 vtkGetMacro(LabelUniqueEdgesOnly,
bool);
124 void SetGenerateGrid(
bool val);
125 bool GetGenerateGrid();
126 vtkBooleanMacro(GenerateGrid,
bool);
134 void SetGenerateEdges(
bool val);
135 bool GetGenerateEdges();
136 vtkBooleanMacro(GenerateEdges,
bool);
144 void SetGenerateTicks(
bool val);
145 bool GetGenerateTicks();
146 vtkBooleanMacro(GenerateTicks,
bool);
177 void SetTitle(
int axis,
const std::string&
title);
178 void SetXTitle(
const std::string& title) { this->SetTitle(0, title); }
179 void SetYTitle(
const std::string& title) { this->SetTitle(1, title); }
180 void SetZTitle(
const std::string& title) { this->SetTitle(2, title); }
181 const std::string& GetTitle(
int axis);
188 void SetUseCustomLabels(
int axis,
bool val);
193 void SetNumberOfLabels(
int axis,
vtkIdType val);
223 void SetNotation(
int axis,
int notation);
227 int GetNotation(
int axis);
234 void SetPrecision(
int axis,
int val);
238 int GetPrecision(
int axis);
248 void SetTickLabelFunction(
int axis, std::function<
double(
double)> func);
249 std::function<double(double)> GetTickLabelFunction(
int axis);
268 virtual void GetRenderedBounds(
double bounds[6]);
274 vtkSetMacro(ForceOpaque,
bool);
275 vtkGetMacro(ForceOpaque,
bool);
276 vtkBooleanMacro(ForceOpaque,
bool);
291 double GridBounds[6];
void SetNumberOfXLabels(vtkIdType val)
void SetZTitle(const std::string &title)
Get/Set the text to use for titles for the axis.
void SetYLabelTextProperty(vtkTextProperty *prop)
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
void SetYUseCustomLabels(bool val)
void SetZNotation(int notation)
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
#define VTKREMOTINGVIEWS_EXPORT
virtual int RenderOpaqueGeometry(vtkViewport *)
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOverlay(vtkViewport *)
void SetNumberOfZLabels(vtkIdType val)
void SetYTitle(const std::string &title)
Get/Set the text to use for titles for the axis.
FaceMasks
Values for FaceMask.
vtkTuple< vtkNew< vtkDoubleArray >, 3 > CustomLabels
void SetXUseCustomLabels(bool val)
void SetYLabel(vtkIdType index, double value)
vtkTypeUInt64 vtkMTimeType
void SetYNotation(int notation)
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
void SetZLabel(vtkIdType index, double value)
virtual void ReleaseGraphicsResources(vtkWindow *)
virtual double * GetBounds()
void SetXLabel(vtkIdType index, double value)
void SetYTitleTextProperty(vtkTextProperty *prop)
Get/Set the vtkTextProperty for the title for each the axes.
void ShallowCopy(vtkProp *prop)
void SetZPrecision(int val)
Get/set the numerical precision to use, default is 2.
void PrintSelf(ostream &os, vtkIndent indent)
void SetZUseCustomLabels(bool val)
vtkMTimeType CustomLabelsMTime
void SetXLabelTextProperty(vtkTextProperty *prop)
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
void SetXNotation(int notation)
Get/set the numerical notation, standard, scientific or mixed (0, 1, 2).
vtkTuple< bool, 3 > UseCustomLabels
vtkTuple< vtkNew< vtkGridAxes2DActor >, 6 > GridAxes2DActors
actor for a cube-axes like prop in the 3D view.
bool LabelUniqueEdgesOnly
void SetZTitleTextProperty(vtkTextProperty *prop)
Get/Set the vtkTextProperty for the title for each the axes.
void SetXPrecision(int val)
Get/set the numerical precision to use, default is 2.
void SetZLabelTextProperty(vtkTextProperty *prop)
Get/Set the vtkTextProperty that governs how the axis labels are displayed.
void SetXTitleTextProperty(vtkTextProperty *prop)
Get/Set the vtkTextProperty for the title for each the axes.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
actor for an axes plane in a 3D view.
virtual double * GetBounds()=0
void SetYPrecision(int val)
Get/set the numerical precision to use, default is 2.
void SetNumberOfYLabels(vtkIdType val)
void operator=(const vtkObjectBase &)
virtual void GetActors(vtkPropCollection *)
void SetXTitle(const std::string &title)
Get/Set the text to use for titles for the axis.