17 ACRX_DECLARE_MEMBERS(AcGiViewport);
21 void getModelToEyeTransform(AcGeMatrix3d& mx)
const;
22 void getEyeToModelTransform(AcGeMatrix3d& mx)
const;
23 void getWorldToEyeTransform(AcGeMatrix3d& mx)
const;
24 void getEyeToWorldTransform(AcGeMatrix3d& mx)
const;
26 Adesk::Boolean isPerspective()
const;
27 Adesk::Boolean doPerspective(AcGePoint3d&)
const;
28 Adesk::Boolean doInversePerspective(AcGePoint3d&)
const;
30 void getNumPixelsInUnitSquare(
const AcGePoint3d& givenWorldpt, AcGePoint2d& pixelArea,
bool includePerspective =
true)
const;
32 void getCameraLocation(AcGePoint3d& location)
const;
33 void getCameraTarget(AcGePoint3d& target)
const;
34 void getCameraUpVector(AcGeVector3d& upVector)
const;
36 Adesk::ULongPtr viewportId()
const;
37 Adesk::Int16 acadWindowId()
const;
38 void getViewportDcCorners(AcGePoint2d& lower_left,AcGePoint2d& upper_right)
const;
40 Adesk::Boolean getFrontAndBackClipValues(Adesk::Boolean& clip_front, Adesk::Boolean& clip_back,
double& front,
double& back)
const;
41 double linetypeScaleMultiplier()
const;
42 double linetypeGenerationCriteria()
const;
44 AcGeVector3d viewDir()
const;
47 AcGePoint3d cameraTarget;
48 AcGePoint3d cameraLocation;
49 AcGeVector3d cameraUpVector;
Definition: MrDwgViewport.h:14