10 #ifndef vtkRulerSourceRepresentation_h 11 #define vtkRulerSourceRepresentation_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);
#define VTKREMOTINGVIEWS_EXPORT
vtkNew< vtkPolyData > Clone
vtkPVDataRepresentation adds some ParaView specific API to data representations.
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkDistanceRepresentation2D * DistanceRepresentation
bool RemoveFromView(vtkView *view) override
Making these methods public.
static vtkDataRepresentation * New()
vtkRulerSourceRepresentation is a representation to show a ruler.
void PrintSelf(ostream &os, vtkIndent indent) override