MCPcopy Create free account
hub / github.com/Kitware/VTK / GetProjectionTransformObject

Method GetProjectionTransformObject

Rendering/Core/vtkCamera.cxx:1193–1200  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Return the projection transform object. See ComputeProjectionTransform.

Source from the content-addressed store, hash-verified

1191//------------------------------------------------------------------------------
1192// Return the projection transform object. See ComputeProjectionTransform.
1193vtkPerspectiveTransform* vtkCamera::GetProjectionTransformObject(
1194 double aspect, double nearz, double farz)
1195{
1196 this->ComputeProjectionTransform(aspect, nearz, farz);
1197
1198 // return the transform
1199 return this->ProjectionTransform;
1200}
1201
1202//------------------------------------------------------------------------------
1203// Return the projection transform matrix. See ComputeProjectionTransform.

Callers 1

RenderMethod · 0.80

Calls 1

Tested by

no test coverage detected