Go to the documentation of this file.
20 #ifndef vtkGridAxes2DActor_h
21 #define vtkGridAxes2DActor_h
24 #include "vtkRemotingViewsModule.h"
52 vtkSetVector6Macro(GridBounds,
double);
53 vtkGetVector6Macro(GridBounds,
double);
71 vtkSetClampMacro(Face,
int, MIN_YZ, MAX_XY);
72 vtkGetMacro(Face,
int);
95 vtkSetMacro(LabelMask,
unsigned int);
96 vtkGetMacro(LabelMask,
unsigned int);
113 void UpdateGeometry(
vtkViewport* viewport,
bool doRegularUpdate);
146 void SetTitle(
int axis,
const std::string& title);
147 const std::string& GetTitle(
int axis);
155 void SetNotation(
int axis,
int notation);
156 int GetNotation(
int axis);
163 void SetPrecision(
int axis,
int val);
164 int GetPrecision(
int axis);
174 void SetTickLabelFunction(
int axis, std::function<
double(
double)> func);
175 std::function<
double(
double)> GetTickLabelFunction(
int axis);
195 vtkBooleanMacro(GenerateGrid,
bool);
204 vtkBooleanMacro(GenerateEdges,
bool);
214 vtkBooleanMacro(GenerateTicks,
bool);
227 this->GetGridBounds(this->Bounds);
236 vtkSetMacro(ForceOpaque,
bool);
237 vtkGetMacro(ForceOpaque,
bool);
238 vtkBooleanMacro(ForceOpaque,
bool);
277 std::function<
double(
double)> TickLabelFunction[3] = {
nullptr,
nullptr,
nullptr };
285 friend class vtkLabels;
void operator=(const vtkObjectBase &)
virtual int RenderOverlay(vtkViewport *)
LabelMasks
Valid values for LabelMask.
virtual int RenderOpaqueGeometry(vtkViewport *)
void SetGenerateEdges(bool val)
Turn off to not generate the polydata for the plane's edges.
void SetGenerateTicks(bool val)
Turn off to not generate the markers for the tick positions.
vtkNew< vtkGridAxesHelper > Helper
vtkNew< vtkContextScene > AxisHelperScene
vtkTypeUInt64 vtkMTimeType
void PrintSelf(ostream &os, vtkIndent indent)
bool GetGenerateTicks()
Turn off to not generate the markers for the tick positions.
virtual void GetActors(vtkPropCollection *)
vtkTimeStamp UpdateLabelTextPropertiesMTime
void SetGenerateGrid(bool val)
Turn off to not generate polydata for the plane's grid.
actor for a cube-axes like prop in the 3D view.
bool GetGenerateGrid()
Turn off to not generate polydata for the plane's grid.
double * GetBounds() override
Returns the prop bounds.
bool GetGenerateEdges()
Turn off to not generate the polydata for the plane's edges.
vtkTuple< vtkSmartPointer< vtkTextProperty >, 3 > TitleTextProperty
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
vtkTuple< vtkSmartPointer< vtkTextProperty >, 3 > LabelTextProperty
actor for an axes plane in a 3D view.
virtual void ReleaseGraphicsResources(vtkWindow *)
virtual int HasTranslucentPolygonalGeometry()
vtkTuple< std::string, 3 > Titles
vtkSmartPointer< vtkGridAxesPlane2DActor > PlaneActor