Skip to content
Snippets Groups Projects
Commit 199d8193 authored by Jaswant Panchumarti (Kitware)'s avatar Jaswant Panchumarti (Kitware)
Browse files

Add setter for vtkCameraOrientationRepresentation::AnchorPosition

- this makes the property (de)serializable
parent 4c02bc33
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,8 @@ public:
/**
* Get/Set the widget anchor type
*/
AnchorType GetAnchorPosition() { return this->AnchorPosition; }
vtkSetEnumMacro(AnchorPosition, AnchorType);
vtkGetEnumMacro(AnchorPosition, AnchorType);
void AnchorToLowerLeft()
{
this->AnchorPosition = AnchorType::LowerLeft;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment