20 #ifndef vtkGridAxes2DActor_h 21 #define vtkGridAxes2DActor_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;
bool GetGenerateTicks()
Turn off to not generate the markers for the tick positions.
vtkTimeStamp UpdateLabelTextPropertiesMTime
bool GetGenerateGrid()
Turn off to not generate polydata for the plane's grid.
vtkNew< vtkGridAxesHelper > Helper
vtkTuple< vtkSmartPointer< vtkTextProperty >, 3 > TitleTextProperty
#define VTKREMOTINGVIEWS_EXPORT
bool GetGenerateEdges()
Turn off to not generate the polydata for the plane's edges.
virtual int RenderOpaqueGeometry(vtkViewport *)
vtkTuple< std::string, 3 > Titles
virtual int HasTranslucentPolygonalGeometry()
virtual int RenderOverlay(vtkViewport *)
vtkSmartPointer< vtkGridAxesPlane2DActor > PlaneActor
vtkTuple< vtkSmartPointer< vtkTextProperty >, 3 > LabelTextProperty
vtkTypeUInt64 vtkMTimeType
void SetGenerateGrid(bool val)
Turn off to not generate polydata for the plane's grid.
virtual void ReleaseGraphicsResources(vtkWindow *)
void PrintSelf(ostream &os, vtkIndent indent)
actor for a cube-axes like prop in the 3D view.
void SetGenerateTicks(bool val)
Turn off to not generate the markers for the tick positions.
LabelMasks
Valid values for LabelMask.
void SetGenerateEdges(bool val)
Turn off to not generate the polydata for the plane's edges.
double * GetBounds() override
Returns the prop bounds.
virtual int RenderTranslucentPolygonalGeometry(vtkViewport *)
actor for an axes plane in a 3D view.
vtkNew< vtkContextScene > AxisHelperScene
void operator=(const vtkObjectBase &)
virtual void GetActors(vtkPropCollection *)