------------------------------------------------------------------------------
| 131 | |
| 132 | //------------------------------------------------------------------------------ |
| 133 | void vtkInteractorStyle3D::FindPickedActor(double pos[3], double orient[4]) |
| 134 | { |
| 135 | if (!orient) |
| 136 | { |
| 137 | this->InteractionPicker->Pick3DPoint(pos, this->CurrentRenderer); |
| 138 | } |
| 139 | else |
| 140 | { |
| 141 | this->InteractionPicker->Pick3DRay(pos, orient, this->CurrentRenderer); |
| 142 | } |
| 143 | vtkProp* prop = this->InteractionPicker->GetViewProp(); |
| 144 | if (prop != nullptr) |
| 145 | { |
| 146 | this->InteractionProp = vtkProp3D::SafeDownCast(prop); |
| 147 | } |
| 148 | else |
| 149 | { |
| 150 | this->InteractionProp = nullptr; |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | //------------------------------------------------------------------------------ |
| 155 | void vtkInteractorStyle3D::Prop3DTransform( |
no test coverage detected