------------------------------------------------------------------------------
| 1235 | |
| 1236 | //------------------------------------------------------------------------------ |
| 1237 | void vtkCoordinateFrameRepresentation::SetDirection(double x, double y, double z) |
| 1238 | { |
| 1239 | double* o = this->GetOrigin(); |
| 1240 | double newNormal[3]; |
| 1241 | newNormal[0] = x - o[0]; |
| 1242 | newNormal[1] = y - o[1]; |
| 1243 | newNormal[2] = z - o[2]; |
| 1244 | vtkMath::Normalize(newNormal); |
| 1245 | this->SetNormal(newNormal); |
| 1246 | this->BuildRepresentation(); |
| 1247 | } |
| 1248 | |
| 1249 | //------------------------------------------------------------------------------ |
| 1250 | void vtkCoordinateFrameRepresentation::SetDirection(double point[3]) |
no test coverage detected