# MrDwgViewport

## Functions

| `ACRX_DECLARE_MEMBERS`
| `MrDwgViewport`
| `~MrDwgViewport`
void | `getModelToEyeTransform`
void | `getEyeToModelTransform`
void | `getWorldToEyeTransform`
void | `getEyeToWorldTransform`
Adesk::Boolean | `isPerspective`
Adesk::Boolean | `doPerspective`
Adesk::Boolean | `doInversePerspective`
void | `getNumPixelsInUnitSquare`
void | `getCameraLocation`
void | `getCameraTarget`
void | `getCameraUpVector`
Adesk::ULongPtr | `viewportId`
Adesk::Int16 | `acadWindowId`
void | `getViewportDcCorners`
Adesk::Boolean | `getFrontAndBackClipValues`
double | `linetypeScaleMultiplier`
double | `linetypeGenerationCriteria`
AcGeVector3d | `viewDir`

## Detailed Description

class MrDwgViewport : public AcGiViewport

  Public Functions

  ACRX_DECLARE_MEMBERS(AcGiViewport)
  MrDwgViewport()
  ~MrDwgViewport()
  void getModelToEyeTransform(AcGeMatrix3d &mx) const
  void getEyeToModelTransform(AcGeMatrix3d &mx) const
  void getWorldToEyeTransform(AcGeMatrix3d &mx) const
  void getEyeToWorldTransform(AcGeMatrix3d &mx) const
  Adesk::Boolean isPerspective() const
  Adesk::Boolean doPerspective(AcGePoint3d&) const
  Adesk::Boolean doInversePerspective(AcGePoint3d&) const
  void getNumPixelsInUnitSquare(const AcGePoint3d &givenWorldpt, AcGePoint2d &pixelArea, bool includePerspective = true) const
  void getCameraLocation(AcGePoint3d &location) const
  void getCameraTarget(AcGePoint3d &target) const
  void getCameraUpVector(AcGeVector3d &upVector) const
  Adesk::ULongPtr viewportId() const
  Adesk::Int16 acadWindowId() const
  void getViewportDcCorners(AcGePoint2d &lower_left, AcGePoint2d &upper_right) const
  Adesk::Boolean getFrontAndBackClipValues(Adesk::Boolean &clip_front, Adesk::Boolean &clip_back, double &front, double &back) const
  double linetypeScaleMultiplier() const
  double linetypeGenerationCriteria() const
  AcGeVector3d viewDir() const