CFx SDK Documentation 2024 SP0
|
#include <FxView.h>
Public Member Functions | |
CFxViewportSnapShot () | |
bool | InitializeFromView (const CFxView *pView) |
bool | InitializeFromViewInfo (const CFxViewDrawInfo *pViewInfo) |
void | ApplyToView (CFxView *pView) |
const OdGePoint3d & | GetPosition () const |
const OdGePoint3d & | GetTarget () const |
const OdGeVector3d & | GetEyeVector () const |
const OdGeVector3d & | GetUpVector () const |
double | GetFieldWidth () const |
double | GetFieldHeight () const |
double | GetPixelWidth () const |
double | GetPixelHeight () const |
double | GetFocalLength () const |
const OdGeMatrix3d & | GetWorldToEyeMatrix () const |
const OdGsDCRectDouble & | GetVisibleRect () const |
OdGePoint2d | GetNumPixelsInUnitSquare (double iWidthInPixels, double iHeighInPixels, const OdGePoint3d &point, bool bUsePerspective) const |
Static Public Member Functions | |
static bool | IsViewSettingsValid (const OdGsView *pView) |
static bool | IsViewSettingsValid (const OdDbViewport *pViewport) |
static bool | IsViewExtentsValid (const OdGeExtents3d &extents) |
Description: Represents a viewport snap shot. Library: DDKERNEL
CFxViewportSnapShot::CFxViewportSnapShot | ( | ) |
Description: Applies to view described by pView. Arguments:
[in,out] | pView | If non-null, the view. |
|
inline |
|
inline |
|
inline |
|
inline |
OdGePoint2d CFxViewportSnapShot::GetNumPixelsInUnitSquare | ( | double | iWidthInPixels, |
double | iHeighInPixels, | ||
const OdGePoint3d & | point, | ||
bool | bUsePerspective | ||
) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool CFxViewportSnapShot::InitializeFromView | ( | const CFxView * | pView | ) |
Description: Initializes this object from the given initialize from view. Arguments:
pView | The view. |
Return Value: true if it succeeds, false if it fails.
bool CFxViewportSnapShot::InitializeFromViewInfo | ( | const CFxViewDrawInfo * | pViewInfo | ) |
Description: Initializes this object from the given initialize from view info. Arguments:
pView | The view. |
Return Value: true if it succeeds, false if it fails.
|
static |
Description: Query if 'extents' is view extents valid. Arguments:
extents | The extents. |
Return Value: true if view extents valid, false if not.
|
static |
Description: Query if 'pView' is view settings valid. Arguments:
pView | The view. |
Return Value: true if view settings valid, false if not.
|
static |
Description: Query if 'pView' is view settings valid. Arguments:
pView | The view. |
Return Value: true if view settings valid, false if not.