Go to the documentation of this file.
10 #ifndef vtkRulerSourceRepresentation_h
11 #define vtkRulerSourceRepresentation_h
15 #include "vtkRemotingViewsModule.h"
45 void SetAxisLineWidth(
float width);
50 void SetAxisColor(
double red,
double green,
double blue);
62 void SetLabelFormat(
char* labelFormat);
72 void SetRulerMode(
int choice);
82 void SetRulerDistance(
double distance);
83 double GetRulerDistance();
92 void SetScale(
double distance);
101 void SetNumberOfRulerTicks(
int numberOfRulerTicks);
static vtkDataRepresentation * New()
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
bool RemoveFromView(vtkView *view) override
Making these methods public.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkNew< vtkPolyData > Clone
void PrintSelf(ostream &os, vtkIndent indent) override
vtkDistanceRepresentation2D * DistanceRepresentation