FRX SDK Documentation
2025 SP0
Loading...
Searching...
No Matches
SDK
FxARX
_impl_include
acdb17
AcGiViewport.h
Go to the documentation of this file.
1
#pragma once
2
3
//
4
// (C) Copyright 2005-2024 by Graebert GmbH.
5
//
6
// Permission to use, copy, modify, and distribute this software in
7
// object code form for any purpose and without fee is hereby granted,
8
// provided that the above copyright notice appears in all copies and
9
// that both that copyright notice and the limited warranty and
10
// restricted rights notice below appear in all supporting
11
// documentation.
12
//
13
// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
14
// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
15
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
16
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
17
// UNINTERRUPTED OR ERROR FREE.
18
19
class
AcRxClass
;
20
21
class
ARX_API
AcGiViewport
:
public
AcRxObject
22
{
23
public
:
24
ACRX_DECLARE_MEMBERS
(
AcGiViewport
)
25
26
virtual
AcGeVector3d
viewDir() const = 0;
27
virtual
void
getNumPixelsInUnitSquare(const
AcGePoint3d
&
givenWorldpt
,
AcGePoint2d
&
pixelArea
,
bool
includePerspective
=
true
) const = 0;
28
virtual
void
getCameraTarget(
AcGePoint3d
&) const = 0;
29
virtual
void
getModelToEyeTransform(
AcGeMatrix3d
&) const = 0;
30
virtual
bool
isPerspective(
void
) const = 0;
31
virtual
Adesk
::Boolean doPerspective(
AcGePoint3d
&) const = 0;
32
33
virtual
Adesk
::Int16 acadWindowId(
void
) const = 0;
34
virtual
void
getViewportDcCorners(
AcGePoint2d
&,
AcGePoint2d
&) const = 0;
35
virtual
void
getCameraLocation(
AcGePoint3d
&) const = 0;
36
virtual
void
getCameraUpVector(
AcGeVector3d
&) const = 0;
37
38
virtual
void
getEyeToModelTransform(
AcGeMatrix3d
&) const = 0;
39
virtual
void
getWorldToEyeTransform(
AcGeMatrix3d
&) const = 0;
40
virtual
void
getEyeToWorldTransform(
AcGeMatrix3d
&) const = 0;
41
virtual
Adesk
::Boolean doInversePerspective(
AcGePoint3d
&) const = 0;
42
virtual
Adesk
::UInt32 viewportId() const = 0;
43
virtual
Adesk
::Boolean getFrontAndBackClipValues(
Adesk
::Boolean&,
Adesk
::Boolean&,
double
&,
double
&)const = 0;
44
virtual
double
linetypeScaleMultiplier() const = 0;
45
virtual
double
linetypeGenerationCriteria() const = 0;
46
47
virtual
Adesk
::Boolean layerVisible(const
AcDbObjectId
&) const = 0;
48
virtual
const
AcGiContextualColors
* contextualColors() const = 0;
49
};
ARX_API
#define ARX_API
Definition
_impl_include/ac1st/CommonHeader.h:21
ACRX_DECLARE_MEMBERS
#define ACRX_DECLARE_MEMBERS(classname)
Definition
addmacro.h:756
AcArrayObjectCopyReallocator
Definition
_AcArray.h:21
AcDbObjectId
Definition
AcDbObjectId.h:25
AcGeMatrix3d
Definition
AcGeMatrix3d.h:29
AcGePoint2d
Definition
AcGePoint2d.h:25
AcGePoint3d
Definition
AcGePoint3d.h:27
AcGeVector3d
Definition
AcGeVector3d.h:31
AcGiContextualColors
Definition
AcGiContextualColors.h:22
AcGiViewport
Definition
AcGiViewport.h:22
AcRxClass
Definition
AcRxClass.h:22
AcRxObject
Definition
AcRxObject.h:27
Adesk
Definition
AddStruct.h:22
Generated on Mon Mar 4 2024 12:50:07