------------------------------------------------------------------------------ Construct camera instance with its focal point at the origin, and position=(0,0,1). The view up is along the y-axis, view angle is 30 degrees, and the clipping range is (.1,1000).
| 52 | // and position=(0,0,1). The view up is along the y-axis, |
| 53 | // view angle is 30 degrees, and the clipping range is (.1,1000). |
| 54 | vtkCamera::vtkCamera() |
| 55 | { |
| 56 | this->FocalPoint[0] = 0.0; |
| 57 | this->FocalPoint[1] = 0.0; |
| 58 | this->FocalPoint[2] = 0.0; |
| 59 | |
| 60 | this->Position[0] = 0.0; |
| 61 | this->Position[1] = 0.0; |
| 62 | this->Position[2] = 1.0; |
| 63 | |
| 64 | this->ViewUp[0] = 0.0; |
| 65 | this->ViewUp[1] = 1.0; |
| 66 | this->ViewUp[2] = 0.0; |
| 67 | |
| 68 | this->DirectionOfProjection[0] = 0.0; |
| 69 | this->DirectionOfProjection[1] = 0.0; |
| 70 | this->DirectionOfProjection[2] = 0.0; |
| 71 | |
| 72 | this->ViewAngle = 30.0; |
| 73 | this->UseHorizontalViewAngle = 0; |
| 74 | |
| 75 | this->UseOffAxisProjection = 0; |
| 76 | |
| 77 | this->ScreenBottomLeft[0] = -0.5; |
| 78 | this->ScreenBottomLeft[1] = -0.5; |
| 79 | this->ScreenBottomLeft[2] = -0.5; |
| 80 | |
| 81 | this->ScreenBottomRight[0] = 0.5; |
| 82 | this->ScreenBottomRight[1] = -0.5; |
| 83 | this->ScreenBottomRight[2] = -0.5; |
| 84 | |
| 85 | this->ScreenTopRight[0] = 0.5; |
| 86 | this->ScreenTopRight[1] = 0.5; |
| 87 | this->ScreenTopRight[2] = -0.5; |
| 88 | |
| 89 | this->ScreenCenter[0] = 0.0; |
| 90 | this->ScreenCenter[1] = 0.0; |
| 91 | this->ScreenCenter[2] = -0.5; |
| 92 | |
| 93 | this->OffAxisClippingAdjustment = 0.0; |
| 94 | this->EyeSeparation = 0.06; |
| 95 | |
| 96 | this->EyeTransformMatrix = vtkMatrix4x4::New(); |
| 97 | this->EyeTransformMatrix->Identity(); |
| 98 | |
| 99 | this->ProjectionPlaneOrientationMatrix = nullptr; |
| 100 | |
| 101 | this->ModelTransformMatrix = vtkMatrix4x4::New(); |
| 102 | this->ModelTransformMatrix->Identity(); |
| 103 | |
| 104 | this->ClippingRange[0] = 0.01; |
| 105 | this->ClippingRange[1] = 1000.01; |
| 106 | this->Thickness = 1000.0; |
| 107 | |
| 108 | this->ParallelProjection = 0; |
| 109 | this->ParallelScale = 1.0; |
| 110 | |
| 111 | this->EyeAngle = 2.0; |
nothing calls this directly
no test coverage detected