Add getter and setter functions for the text on the buttons of vtkCameraOrientationRepresentation#
You can now customize the text displayed on top of the buttons of a vtkCameraOrientationRepresentation using these functions
vtkCameraOrientationRepresentation::SetXPlusLabelText(const std::string& label)
vtkCameraOrientationRepresentation::SetXMinusLabelText(const std::string& label)
vtkCameraOrientationRepresentation::SetYPlusLabelText(const std::string& label)
vtkCameraOrientationRepresentation::SetYMinusLabelText(const std::string& label)
vtkCameraOrientationRepresentation::SetZPlusLabelText(const std::string& label)
vtkCameraOrientationRepresentation::SetZMinusLabelText(const std::string& label)
These methods follow similar naming convention to the existing getter methods for the vtkTextProperty
corresponding to the button labels.