------------------------------------------------------------------------------
| 115 | |
| 116 | //------------------------------------------------------------------------------ |
| 117 | void vtkAngleRepresentation2D::SetCenterDisplayPosition(double x[3]) |
| 118 | { |
| 119 | if (!this->CenterRepresentation) |
| 120 | { |
| 121 | vtkErrorMacro("SetCenterDisplayPosition: no center representation"); |
| 122 | return; |
| 123 | } |
| 124 | this->CenterRepresentation->SetDisplayPosition(x); |
| 125 | double p[3]; |
| 126 | this->CenterRepresentation->GetWorldPosition(p); |
| 127 | this->CenterRepresentation->SetWorldPosition(p); |
| 128 | this->BuildRepresentation(); |
| 129 | } |
| 130 | |
| 131 | //------------------------------------------------------------------------------ |
| 132 | void vtkAngleRepresentation2D::SetCenterWorldPosition(double x[3]) |
no test coverage detected