CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdGiDummyViewport< T > Class Template Reference

#include <GiDummyGeometry.h>

Inheritance diagram for OdGiDummyViewport< T >:

Public Member Functions

virtual OdGeMatrix3d getModelToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToModelTransform () const
 
virtual OdGeMatrix3d getWorldToEyeTransform () const
 
virtual OdGeMatrix3d getEyeToWorldTransform () const
 
virtual bool isPerspective () const
 
virtual bool doPerspective (OdGePoint3d &p) const
 
virtual bool doInversePerspective (OdGePoint3d &p) const
 
virtual void getNumPixelsInUnitSquare (const OdGePoint3d &givenWorldpt, OdGePoint2d &pixelArea, bool includePerspective=true) const
 
virtual OdGePoint3d getCameraLocation () const
 
virtual OdGePoint3d getCameraTarget () const
 
virtual OdGeVector3d getCameraUpVector () const
 
virtual OdGeVector3d viewDir () const
 
virtual OdUInt32 viewportId () const
 
virtual OdInt16 acadWindowId () const
 
virtual void getViewportDcCorners (OdGePoint2d &lower_left, OdGePoint2d &upper_right) const
 
virtual bool getFrontAndBackClipValues (bool &clip_front, bool &clip_back, double &, double &) const
 
virtual double linetypeScaleMultiplier () const
 
virtual double linetypeGenerationCriteria () const
 
virtual bool layerVisible (OdDbStub *idLayer) const
 

Detailed Description

template<class T>
class OdGiDummyViewport< T >

Corresponding C++ library: TD_Gi <group OdGi_Classes>

See also
<link tv_working_with_base_classes_view, Work with Visualize Graphical Views>

Definition at line 2690 of file GiDummyGeometry.h.

Member Function Documentation

◆ acadWindowId()

template<class T >
virtual OdInt16 OdGiDummyViewport< T >::acadWindowId ( ) const
inlinevirtual

Retrieves the ID for this Viewport object.

Remarks
-1 in current implementation.

Definition at line 2816 of file GiDummyGeometry.h.

◆ doInversePerspective()

template<class T >
virtual bool OdGiDummyViewport< T >::doInversePerspective ( OdGePoint3d p) const
inlinevirtual

Applies the inverse of the current perspective transformation to the specified point.

Parameters
normal[in] Point relative to which the inverse transformation is applied.
Remarks
The point is transformed from normalized device coordinates to EyeSpace coordinates

false in current implementation.

Definition at line 2756 of file GiDummyGeometry.h.

◆ doPerspective()

template<class T >
virtual bool OdGiDummyViewport< T >::doPerspective ( OdGePoint3d p) const
inlinevirtual

Applies the current perspective transformation to the specified point.

Parameters
normal[in] Point relative to which the transformation is applied.
Remarks
The point is transformed from EyeSpace coordinates to normalized device coordinates.
Returns
false in current implementation.

Definition at line 2744 of file GiDummyGeometry.h.

◆ getCameraLocation()

template<class T >
virtual OdGePoint3d OdGiDummyViewport< T >::getCameraLocation ( ) const
inlinevirtual

Retrieves the WCS camera (eye) location for this Viewport object.

Returns
OdGePoint3d::kOrigin in current implementation.

Definition at line 2776 of file GiDummyGeometry.h.

◆ getCameraTarget()

template<class T >
virtual OdGePoint3d OdGiDummyViewport< T >::getCameraTarget ( ) const
inlinevirtual

Retrieves the WCS camera target for this Viewport object.

Returns
OdGePoint3d::kOrigin + OdGeVector3d::kZAxis in current implementation.

Definition at line 2784 of file GiDummyGeometry.h.

◆ getCameraUpVector()

template<class T >
virtual OdGeVector3d OdGiDummyViewport< T >::getCameraUpVector ( ) const
inlinevirtual

Retrieves the WCS camera "up" vector for this Viewport object.

Returns
OdGeVector3d::kYAxis in current implementation.

Definition at line 2792 of file GiDummyGeometry.h.

◆ getEyeToModelTransform()

template<class T >
virtual OdGeMatrix3d OdGiDummyViewport< T >::getEyeToModelTransform ( ) const
inlinevirtual

Returns the transformation matrix from EyeSpace to ModelSpace for this object.

Returns
identity matrix in current implementation.

Definition at line 2707 of file GiDummyGeometry.h.

◆ getEyeToWorldTransform()

template<class T >
virtual OdGeMatrix3d OdGiDummyViewport< T >::getEyeToWorldTransform ( ) const
inlinevirtual

Returns the transformation matrix from EyeSpace to WCS for this Viewport object.

Returns
identity matrix in current implementation.

Definition at line 2723 of file GiDummyGeometry.h.

◆ getFrontAndBackClipValues()

template<class T >
virtual bool OdGiDummyViewport< T >::getFrontAndBackClipValues ( bool &  clip_front,
bool &  clip_back,
double &  ,
double &   
) const
inlinevirtual

Checks whether front and back clip values are used and if so, retrieves the front and back clipping parameters for this Viewport object.

Parameters
clip_front[out] Receives true if and only if front clipping is enabled.
clip_back[out] Receives true if and only if back clipping is enabled.
Returns
false in current implementation.

Definition at line 2836 of file GiDummyGeometry.h.

◆ getModelToEyeTransform()

template<class T >
virtual OdGeMatrix3d OdGiDummyViewport< T >::getModelToEyeTransform ( ) const
inlinevirtual

Returns the transformation matrix from ModelSpace to EyeSpace for this object.

Returns
identity matrix in current implementation.

Definition at line 2699 of file GiDummyGeometry.h.

◆ getNumPixelsInUnitSquare()

template<class T >
virtual void OdGiDummyViewport< T >::getNumPixelsInUnitSquare ( const OdGePoint3d givenWorldpt,
OdGePoint2d pixelArea,
bool  includePerspective = true 
) const
inlinevirtual

Retrieves the display pixel density at the specified point for this Viewport object. Does nothing in current implementation.

Parameters
givenWorldpt[in] WCS center of the unit square.
pixelArea[out] Receives the pixel density.
includePerspective[in] Flag that specifies whether perspective should be included into pixel density calculation.
Remarks
Pixel density is measured in pixels per WCS unit.

Definition at line 2768 of file GiDummyGeometry.h.

◆ getViewportDcCorners()

template<class T >
virtual void OdGiDummyViewport< T >::getViewportDcCorners ( OdGePoint2d lower_left,
OdGePoint2d upper_right 
) const
inlinevirtual

Retrieves lower-left and upper-right corners of this Viewport object in normalized device Coordinates.

Remarks
Sets lower-left and upper-right corners to 0.0 and 100.0 values in current implementation.

Definition at line 2825 of file GiDummyGeometry.h.

◆ getWorldToEyeTransform()

template<class T >
virtual OdGeMatrix3d OdGiDummyViewport< T >::getWorldToEyeTransform ( ) const
inlinevirtual

Returns the transformation matrix from WCS to EyeSpace for this object.

Returns
identity matrix in current implementation.

Definition at line 2715 of file GiDummyGeometry.h.

◆ isPerspective()

template<class T >
virtual bool OdGiDummyViewport< T >::isPerspective ( ) const
inlinevirtual

Checks whether perspective mode is on for this Viewport.

Returns
false in current implementation.

Definition at line 2731 of file GiDummyGeometry.h.

◆ layerVisible()

template<class T >
virtual bool OdGiDummyViewport< T >::layerVisible ( OdDbStub *  idLayer) const
inlinevirtual

Returns true if and only if the specified layer is not frozen either globally or in this Viewport object.

Parameters
layerId[in] Object ID of OdLayerTableRecord.
Returns
true in current implementation.

Definition at line 2862 of file GiDummyGeometry.h.

◆ linetypeGenerationCriteria()

template<class T >
virtual double OdGiDummyViewport< T >::linetypeGenerationCriteria ( ) const
inlinevirtual

Retrieves the WCS value below which linetype generation is not used.

Returns
1.0 in current implementation.

Definition at line 2852 of file GiDummyGeometry.h.

◆ linetypeScaleMultiplier()

template<class T >
virtual double OdGiDummyViewport< T >::linetypeScaleMultiplier ( ) const
inlinevirtual

Retrieves a multiplier that is used to scale all linetypes in this Viewport object.

Returns
1.0 in current implementation.

Definition at line 2844 of file GiDummyGeometry.h.

◆ viewDir()

template<class T >
virtual OdGeVector3d OdGiDummyViewport< T >::viewDir ( ) const
inlinevirtual

Retrieves the vector from the camera target to the camera location.

Returns
view direction on a camera. The returned value depend on the getCameraTarget() and getCameraLocation() methods that are not currently implemented.

Definition at line 2800 of file GiDummyGeometry.h.

◆ viewportId()

template<class T >
virtual OdUInt32 OdGiDummyViewport< T >::viewportId ( ) const
inlinevirtual

Retrieves the OdGi Viewport ID for this Viewport object.

Remarks
0xFFFFFFFF value in current implementation.

Definition at line 2808 of file GiDummyGeometry.h.


The documentation for this class was generated from the following file: