CFx SDK Documentation 2024 SP0
|
#include <GiViewport.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiViewport) | |
virtual OdGeMatrix3d | getModelToEyeTransform () const =0 |
virtual OdGeMatrix3d | getEyeToModelTransform () const =0 |
virtual OdGeMatrix3d | getWorldToEyeTransform () const =0 |
virtual OdGeMatrix3d | getEyeToWorldTransform () const =0 |
virtual bool | isPerspective () const =0 |
virtual bool | doPerspective (OdGePoint3d &point) const =0 |
virtual bool | doInversePerspective (OdGePoint3d &point) const =0 |
virtual void | getNumPixelsInUnitSquare (const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const =0 |
virtual OdGePoint3d | getCameraLocation () const =0 |
virtual OdGePoint3d | getCameraTarget () const =0 |
virtual OdGeVector3d | getCameraUpVector () const =0 |
virtual OdGeVector3d | viewDir () const =0 |
virtual OdUInt32 | viewportId () const =0 |
virtual OdInt16 | acadWindowId () const =0 |
virtual void | getViewportDcCorners (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0 |
virtual bool | getFrontAndBackClipValues (bool &clipFront, bool &clipBack, double &front, double &back) const =0 |
virtual double | linetypeScaleMultiplier () const =0 |
virtual double | linetypeGenerationCriteria () const =0 |
virtual bool | layerVisible (OdDbStub *layerId) const =0 |
virtual const OdGiContextualColors * | contextualColors () const |
virtual OdDbStub * | annotationScaleId () const |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class represents the view characteristics of current Viewport within the ODA Platform vectorization framework.
<group OdGi_Classes>
Definition at line 50 of file GiViewport.h.
|
pure virtual |
Returns the ID for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
inlinevirtual |
Returns current annotation scale for this viewport.
Reimplemented in OdGiBaseVectorizerImpl.
Definition at line 259 of file GiViewport.h.
|
inlinevirtual |
Returns pointer to context-dependent colors storage.
Reimplemented in OdGiBaseVectorizerImpl.
Definition at line 251 of file GiViewport.h.
|
pure virtual |
Applies the inverse of the current perspective transformation to the specified point.
point | [in/out] Any 3D point. |
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Applies the current perspective transformation to the specified point.
point | [in/out] Any 3D point. |
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the WCS camera (eye) location for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the WCS camera target for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the WCS camera "up" vector for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the transformation matrix from EyeSpace to ModelSpace for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the transformation matrix from EyeSpace to WCS for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the front and back clipping parameters for this Viewport object.
clipFront | [out] Receives true if and only if front clipping is enabled. |
clipBack | [out] Receives true if and only if back clipping is enabled. |
front | [out] Receives the front clipping distance. |
back | [out] Receives the back clipping distance. |
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the transformation matrix from ModelSpace to EyeSpace for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the display pixel density at the specified point for this Viewport object.
point | [in] WCS center of the unit square. |
pixelDensity | [out] Receives the pixel density. |
bUsePerspective | [in] Enable perspective inclusion into pixel density calculation. |
This function can be used to determine if the geometry generated for an object will be smaller than the size of a pixel.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns lower-left and upper-right corners of this Viewport object in normalized device Coordinates.
lowerLeft | [out] Receives the lower-left corner. |
upperRight | [out] Receives the upper-right. |
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the transformation matrix from WCS to EyeSpace for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Checks whether perspective mode is turned on for this viewport.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Checks whether the specified layer is not frozen either globally or in this Viewport object.
layerId | [in] Object ID of OdLayerTableRecord. |
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the WCS value below which linetype generation is not used.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns a multiplier that is used to scale all linetypes in this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
OdGiViewport::ODRX_DECLARE_MEMBERS | ( | OdGiViewport | ) |
|
pure virtual |
Returns the vector from the camera target to the camera location.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.
|
pure virtual |
Returns the OdGi Viewport ID for this Viewport object.
Implemented in OdGiDummyViewport< OdStaticRxObject< OdGiViewport > >, OdGiBaseVectorizerImpl, and OdGiLayerTraitsTakerView.