------------------------------------------------------------------------------
| 131 | |
| 132 | //------------------------------------------------------------------------------ |
| 133 | void vtkVRPanelRepresentation::StartComplexInteraction( |
| 134 | vtkRenderWindowInteractor*, vtkAbstractWidget*, unsigned long, void* calldata) |
| 135 | { |
| 136 | vtkEventData* edata = static_cast<vtkEventData*>(calldata); |
| 137 | vtkEventDataDevice3D* edd = edata->GetAsEventDataDevice3D(); |
| 138 | if (edd) |
| 139 | { |
| 140 | edd->GetWorldPosition(this->StartEventPosition); |
| 141 | this->LastEventPosition[0] = this->StartEventPosition[0]; |
| 142 | this->LastEventPosition[1] = this->StartEventPosition[1]; |
| 143 | this->LastEventPosition[2] = this->StartEventPosition[2]; |
| 144 | edd->GetWorldOrientation(this->StartEventOrientation); |
| 145 | std::copy( |
| 146 | this->StartEventOrientation, this->StartEventOrientation + 4, this->LastEventOrientation); |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | //------------------------------------------------------------------------------ |
| 151 | void vtkVRPanelRepresentation::ComplexInteraction( |
nothing calls this directly
no test coverage detected