------------------------------------------------------------------------------
| 95 | |
| 96 | //------------------------------------------------------------------------------ |
| 97 | void vtkHandleRepresentation::SetWorldPosition(double pos[3]) |
| 98 | { |
| 99 | if (this->Renderer && this->PointPlacer) |
| 100 | { |
| 101 | if (this->PointPlacer->ValidateWorldPosition(pos)) |
| 102 | { |
| 103 | this->WorldPosition->SetValue(pos); |
| 104 | this->WorldPositionTime.Modified(); |
| 105 | } |
| 106 | } |
| 107 | else |
| 108 | { |
| 109 | this->WorldPosition->SetValue(pos); |
| 110 | this->WorldPositionTime.Modified(); |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | //------------------------------------------------------------------------------ |
| 115 | void vtkHandleRepresentation::GetWorldPosition(double pos[3]) VTK_FUTURE_CONST |