CFx SDK Documentation 2024 SP0
|
#include <Gs.h>
Public Types | |
enum | RenderMode { kBoundingBox = -1 , k2DOptimized = 0 , kWireframe = 1 , kHiddenLine = 2 , kFlatShaded = 3 , kGouraudShaded = 4 , kFlatShadedWithWireframe = 5 , kGouraudShadedWithWireframe = 6 , kNone } |
enum | Projection { kParallel = 0 , kPerspective = 1 } |
enum | SelectionMode { kWindow = 0 , kCrossing = 1 , kFence = 2 , kWPoly = 3 , kCPoly = 4 , kPoint = 16 } |
enum | DefaultLightingType { kOneLight = 0 , kTwoLights , kBackLight } |
enum | ViewUpdateFlags { kCameraChanged = 1 } |
enum | ClearColor { kTransparent , kDeviceBackground , kPaletteBackground } |
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGsView) | |
virtual OdGsDevice * | device () const =0 |
virtual OdGiContext * | userGiContext () const =0 |
virtual void | setUserGiContext (OdGiContext *pUserGiContext)=0 |
virtual double | lineweightToDcScale () const =0 |
virtual void | setLineweightToDcScale (double scale)=0 |
virtual void | setLineweightEnum (int numLineweights, const OdUInt8 *lineweights)=0 |
virtual void | setViewport (const OdGePoint2d &lowerLeft, const OdGePoint2d &upperRight)=0 |
virtual void | setViewport (const OdGsDCRect &screenRect)=0 |
virtual void | setViewport (const OdGsDCRectDouble &screenRect) |
virtual void | getViewport (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0 |
virtual void | getViewport (OdGsDCRect &screenRect) const =0 |
virtual void | getViewport (OdGsDCRectDouble &screenRect) const |
virtual void | setViewportClipRegion (int numContours, int const *numVertices, OdGsDCPoint const *vertices)=0 |
virtual void | setViewportClipRegion (int numContours, int const *numVertices, OdGePoint2d const *vertices)=0 |
virtual void | viewportClipRegion (OdIntArray &counts, OdGsDCPointArray &vertices) const =0 |
virtual void | viewportClipRegion (OdIntArray &counts, OdGePoint2dArray &vertices) const =0 |
void | removeViewportClipRegion () |
virtual void | setViewport3dClipping (const OdGiClipBoundary *pBoundary, const OdGiAbstractClipBoundary *pClipInfo=NULL) |
virtual const OdGiClipBoundary * | viewport3dClipping (const OdGiAbstractClipBoundary **ppClipInfo=NULL) const |
void | removeViewport3dClipping () |
virtual void | setViewportBorderProperties (ODCOLORREF color, int width)=0 |
virtual void | getViewportBorderProperties (ODCOLORREF &color, int &width) const =0 |
virtual void | setViewportBorderVisibility (bool visible)=0 |
virtual bool | isViewportBorderVisible () const =0 |
virtual void | setView (const OdGePoint3d &position, const OdGePoint3d &target, const OdGeVector3d &upVector, double fieldWidth, double fieldHeight, Projection projectionType=kParallel)=0 |
virtual OdGePoint3d | position () const =0 |
virtual OdGePoint3d | target () const =0 |
virtual OdGeVector3d | upVector () const =0 |
virtual double | lensLength () const =0 |
virtual void | setLensLength (double lensLength)=0 |
virtual bool | isPerspective () const =0 |
virtual double | fieldWidth () const =0 |
virtual double | fieldHeight () const =0 |
virtual void | setEnableFrontClip (bool enable)=0 |
virtual bool | isFrontClipped () const =0 |
virtual void | setFrontClip (double frontClip)=0 |
virtual double | frontClip () const =0 |
virtual void | setEnableBackClip (bool enable)=0 |
virtual bool | isBackClipped () const =0 |
virtual void | setBackClip (double backClip)=0 |
virtual double | backClip () const =0 |
virtual OdGeMatrix3d | viewingMatrix () const =0 |
virtual OdGeMatrix3d | projectionMatrix () const =0 |
virtual OdGeMatrix3d | screenMatrix () const =0 |
virtual OdGeMatrix3d | worldToDeviceMatrix () const =0 |
virtual OdGeMatrix3d | objectToDeviceMatrix () const =0 |
virtual void | setMode (RenderMode mode)=0 |
virtual RenderMode | mode () const =0 |
virtual bool | add (OdGiDrawable *pSceneGraph, OdGsModel *pModel)=0 |
virtual int | numRootDrawables () const =0 |
virtual OdDbStub * | rootDrawableIdAt (int i, OdGsModelPtr *pModelReturn=0) const =0 |
virtual OdGiDrawablePtr | rootDrawableAt (int i, OdGsModelPtr *pModelReturn=0) const =0 |
virtual bool | erase (OdGiDrawable *sceneGraph)=0 |
virtual void | eraseAll ()=0 |
virtual OdGsModel * | getModel (const OdGiDrawable *pDrawable) const =0 |
virtual OdGsModelArray | getModelList () const =0 |
virtual void | invalidate ()=0 |
virtual void | invalidate (const OdGsDCRect &screenRect)=0 |
virtual bool | isValid () const =0 |
virtual void | update ()=0 |
virtual void | beginInteractivity (double frameRateInHz)=0 |
virtual bool | isInInteractivity () const =0 |
virtual double | interactivityFrameRate () const =0 |
virtual void | endInteractivity ()=0 |
virtual void | flush ()=0 |
virtual void | hide ()=0 |
virtual void | show ()=0 |
virtual bool | isVisible ()=0 |
virtual void | freezeLayer (OdDbStub *layerID)=0 |
virtual void | thawLayer (OdDbStub *layerID)=0 |
virtual void | clearFrozenLayers ()=0 |
virtual void | invalidateCachedViewportGeometry ()=0 |
virtual void | select (const OdGsDCPoint *pts, int nPoints, OdGsSelectionReactor *pReactor, OdGsView::SelectionMode mode=OdGsView::kCrossing)=0 |
virtual void | dolly (const OdGeVector3d &dollyVector)=0 |
virtual void | dolly (double xDolly, double yDolly, double zDolly)=0 |
virtual void | roll (double rollAngle)=0 |
virtual void | orbit (double xOrbit, double yOrbit)=0 |
virtual void | zoom (double zoomFactor)=0 |
virtual void | pan (double xPan, double yPan)=0 |
virtual void | zoomExtents (const OdGePoint3d &minPt, const OdGePoint3d &maxPt)=0 |
virtual void | zoomWindow (const OdGePoint2d &lowerLeft, const OdGePoint2d &upperRight)=0 |
virtual bool | pointInView (const OdGePoint3d &pt) const =0 |
virtual bool | extentsInView (const OdGePoint3d &minPt, const OdGePoint3d &maxPt) const =0 |
virtual OdGsViewPtr | cloneView (bool cloneViewParameters=true, bool cloneGeometry=false)=0 |
virtual void | viewParameters (OdGsView *pView) const =0 |
virtual bool | exceededBounds ()=0 |
virtual void | enableStereo (bool enabled)=0 |
virtual bool | isStereoEnabled () const =0 |
virtual void | setStereoParameters (double magnitude, double parallax)=0 |
virtual void | getStereoParameters (double &magnitude, double ¶llax) const =0 |
virtual void | initLights (OdRxIterator *pLightsIterator)=0 |
virtual void | setLinetypeScaleMultiplier (double linetypeScaleMultiplier)=0 |
virtual double | linetypeScaleMultiplier () const =0 |
virtual void | setAlternateLinetypeScaleMultiplier (double linetypeAlternateScaleMultiplier)=0 |
virtual double | linetypeAlternateScaleMultiplier () const =0 |
virtual void | clientViewInfo (OdGsClientViewInfo &clientViewInfo) const |
virtual void | setClearColor (ClearColor color)=0 |
virtual bool | pointInViewport (const OdGePoint2d &screenPoint) const =0 |
virtual void | getNumPixelsInUnitSquare (const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const =0 |
virtual void | setBackground (OdDbStub *backgroundId)=0 |
virtual OdDbStub * | background () const =0 |
virtual void | setVisualStyle (OdDbStub *visualStyleId)=0 |
virtual OdDbStub * | visualStyle () const =0 |
virtual void | setVisualStyle (const OdGiVisualStyle &visualStyle)=0 |
virtual bool | visualStyle (OdGiVisualStyle &visualStyle) const =0 |
virtual void | enableDefaultLighting (bool bEnable, DefaultLightingType lightType=kTwoLights)=0 |
virtual void | getSnapShot (OdGiRasterImagePtr &pImage, const OdGsDCRect ®ion)=0 |
virtual void | collide (OdGiPathNode const *const *pInputList, OdUInt32 nInputListSize, OdGsCollisionDetectionReactor *pReactor, OdGiPathNode const *const *pCollisionWithList=NULL, OdUInt32 nCollisionWithListSize=0, const OdGsCollisionDetectionContext *pCtx=NULL)=0 |
virtual void | enableAntiAliasing (OdUInt32 nMode)=0 |
virtual OdUInt32 | antiAliasingMode () const =0 |
virtual void | enableSSAO (bool bEnable)=0 |
virtual bool | ssaoMode () const =0 |
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 is the abstract base class for classes that implement Viewport objects in GUI display windows.
Corresponding C++ library: TD_Gs <group OdGs_Classes>
enum OdGsView::ClearColor |
enum OdGsView::Projection |
enum OdGsView::RenderMode |
|
pure virtual |
Adds the specified scene graph to this Viewport object.
pSceneGraph | [in] Pointer to the root of the scene graph. |
pModel | [in] Pointer to the Model object to which all scene graph notifications are to be directed. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns anti-aliasing mode for current Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the back clip distance from the target of this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns current background object ID for this view.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Puts this Viewport object into interactive state.
frameRateInHz | [in] Frames/second. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Thaws all Layer objects in this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
virtual |
Returns the ClientViewInfo for this Viewport object.
clientViewInfo | [out] Receives the ClientViewInfo. |
Reimplemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Clones this view object.
cloneViewParameters | [in] If and only if true, view parameters will be cloned. |
cloneGeometry | [in] If and only if true, geometry will be cloned. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Runs collision detection procedure inside this Viewport object.
pInputList | [in] Pointer to the list of objects to check |
nInputListSize | [in] Size of the list of objects to check |
pCollisionWithList | [in] Pointer to the list of possible colliding objects |
nCollisionWithListSize | [in] Size of the list of possible colliding objects |
pCtx | [in] Pointer to the OdGsCollisionDetectionContext that provide additional Collision Detection options |
Implemented in OdGsBaseVectorizeView, OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the GsDevice object associated with this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Translates the camera position and target by the specified Camera Coordinate dolly amount.
dollyVector | [in] Camera Coordinate dolly vector. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Translates the camera position and target by the specified Camera Coordinate dolly amount.
xDolly | [in] Camera Coordinate X dolly amount. |
yDolly | [in] Camera Coordinate Y dolly amount. |
zDolly | [in] Camera Coordinate Z dolly amount. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
Enables or disables anti-aliasing in current Viewport object.
nMode | [in] Anti-aliasing mode (set as 3 by default). Set as 0 to disable anti-aliasing. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Enables default lighting for this view.
bEnable | [in] New default lighting state. |
lightType | [in] New default lighting type. |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Enables or disables ambient occlusion in current Viewport object.
bEnable | [in] Ambient occlusion mode (set as true by default). Set as false to disable ambient occlusion. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Controls stereo viewing for this Viewport object.
enable | [in] Controls stereo viewing. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Removes this Viewport object from the interactive state.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Removes the specified scene graph from this Viewport object.
sceneGraph | [in] Pointer to the root of the scene graph. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Removes all scene graphs from this Viewport object.
sceneGraph | [in] Root of scene graph. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether any view parameters have exceeded their boundaries since the last call to this function.
dolly() orbit() pan() roll() setBackClip() setFrontClip() setView() zoom()
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether specified WCS box is visible completely or partially inside current view frustum.
minPt | [in] minimal WCS box point. |
maxPt | [in] maximal WCS box point. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the WCS projection plane (field) height for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the WCS projection plane (field) width for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Flushes the graphic pipeline and renders this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Freezes the specified Layer object in this Viewport object.
layerID | [in] Layer to freeze. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the front clip distance from the target of this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns OdGsModel object associated with specified OdGiDrawable object in this Viewport object.
pDrawable | [in] Pointer onto OdGiDrawable object. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns array of OdGsModel objects associated with this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
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. |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Returns image of current view buffer.
pImage | [out] Pointer for image to return. |
region | [in] Rectangle specifies region to return. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the stereo parameters for this Viewport Object.
magnitude | [out] Receives the view separation [0.0 .. 2.0]. |
parallax | [out] Receives the plane of zero parallax adjustment [0.0 .. 2.0]. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the size and position of this Viewport object.
lowerLeft | [out] Receives the lower-left corner in nomalized device coordinates [0.0 .. 1.0]. |
upperRight | [out] Receives the upper-right corner in nomalized device coordinates [0.0 .. 1.0]. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the size and position of this Viewport object.
screenRect | [out] Receives the screen rectangle in device coordinates (pixels). |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
virtual |
Returns the size and position of this Viewport object.
screenRect | [out] Receives the screen rectangle in device coordinates (pixels). |
Reimplemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Returns the color and width of the border for this Viewport object.
color | [out] Receives the border color. |
width | [out] Receives the border width in pixels. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Hides this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns an iterator to traverse the lights attached to this Viewport object.
pLightsIterator | [in] Pointer to the lights iterator. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns interactivity frame rate.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Marks the entire area of this View for refreshing.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Marks for refresh the specified region of this Viewport object.
screenRect | [in] Screen rectangle in device coordinates (pixels). |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Marks for regeneration all subViewportDraw() geometry for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether back clipping is enabled for the viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether front clipping is enabled for the viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether this Viewport object is in interactive state.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether the projection type for the viewport object is kPerspective.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether stereo viewing is enabled for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether this Viewport shows the correct image.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether viewport border is visible.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether the viewport object is not hidden.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the perspective lens length for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns current alternate linetype scale multiplier value.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns current linetype scale multiplier value.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the scale factor for displaying Lineweights in this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the render mode for this Viewport object.
Value Description kBoundingBox -1 Bounding box. For internal use only. k2DOptimized 0 Standard display. Optimized for 2D. kWireframe 1 Standard display. Uses 3D pipeline. kHiddenLine 2 Wireframe display. Hidden lines removed. kFlatShaded 3 Faceted display. One color per face. kGouraudShaded 4 Smooth shaded display. Colors interpolated between vertices. kFlatShadedWithWireframe 5 Faceted display with wireframe overlay. kGouraudShadedWithWireframe 6 Smooth shaded display with wireframe overlay.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Retrieves a quantity of root drawables for this viewport.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the matrix that transforms coordinates from model space to screen space for this Viewport object.
Implemented in OdGsBaseVectorizeViewJoin< BaseVectorizerObject >, OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC >, OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer >, OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
OdGsView::ODRX_DECLARE_MEMBERS | ( | OdGsView | ) |
|
pure virtual |
Orbits the camera about the target by the specified amounts.
xOrbit | [in] X-axis Orbit. |
yOrbit | [in] Y-axis Orbit. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Rotates the target about the camera the specified amounts.
xPan | [in] X-axis pan. |
yPan | [in] Y-axis pan. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether specified point is visible inside current view frustum.
pt | [in] WCS point for check. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Checks whether the specified point is inside viewport area.
screenPoint | [in] Check point in device coordinate space. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the WCS camera position for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the matrix that transforms view space to normalized device space for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
void OdGsView::removeViewport3dClipping | ( | ) |
Removes the 3d clipping from this Viewport object.
void OdGsView::removeViewportClipRegion | ( | ) |
Removes the polygonal clip region for this Viewport object.
|
pure virtual |
Rotates the camera by the specified amount about the eye vector.
rollAngle | [in] Camera CCW roll angle. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
|
pure virtual |
Retrieves a persistent object identifier of the root drawable at the specified index.
i | [in] Index of the drawable to return. |
pModelReturn | [in] Index of the drawable to return. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the matrix that transforms normalized device space to screen space for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Runs selection procedure inside this Viewport object.
pts | [in] Selection points in device coordinate space. |
nPoints | [in] Count of selection points. |
pReactor | [in] Selection callback pointer. |
mode | [in] Selection mode. |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Sets a multiplier that could be used as an alternate scale factor for linetypes in this Viewport object.
linetypeAlternateScaleMultiplier | [in] Alternate linetype scale multiplier. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the back clip distance from the target of this Viewport object.
backClip | [in] Back clip distance. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets background object for this view.
backgroundId | [in] New background object ID. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the clear color for this view
color | [in] The clear color. |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Controls the back clipping of this Viewport object.
enable | [in] Enable back clipping. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Controls the front clipping of this Viewport object.
enable | [in] Enable front clipping. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the front clip distance from the target of this Viewport object.
frontClip | [in] Front clip distance. |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Sets the perspective lens length for this Viewport object.
lensLength | [in] Perspective lens length. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets a multiplier that is used to scale all linetypes in this Viewport object.
linetypeScaleMultiplier | [in] Linetype scale multiplier. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the lineweights for this Viewport object.
numLineweights | [in] Number of Lineweights. |
lineweights | [in] Array of Lineweights. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the scale factor for displaying Lineweights in this Viewport object.
scale | [in] Scale factor. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the render mode for this Viewport object.
mode | [in] Render mode. |
Value Description kBoundingBox -1 Bounding box. For internal use only. k2DOptimized 0 Standard display. Optimized for 2D. kWireframe 1 Standard display. Uses 3D pipeline. kHiddenLine 2 Wireframe display. Hidden lines removed. kFlatShaded 3 Faceted display. One color per face. kGouraudShaded 4 Smooth shaded display. Colors interpolated between vertices. kFlatShadedWithWireframe 5 Faceted display with wireframe overlay. kGouraudShadedWithWireframe 6 Smooth shaded display with wireframe overlay.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the stereo parameters for this Viewport Object.
magnitude | [in] View separation [0.0 .. 2.0]. |
parallax | [in] Adjusts the plane of zero parallax [0.0 .. 2.0]. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the User Context object associated with this Viewport object.
pUserGiContext | [in] Pointer to the User Context. |
Implemented in OdGsBaseVectorizeView, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Sets the camera parameters for this Viewport object.
position | [in] Camera position. |
target | [in] Camera target. |
upVector | [in] Camera up vector. |
fieldWidth | [in] Projection plane (field) width. |
fieldHeight | [in] Projection plane (field) height. |
projectionType | [in] Projection type. |
Value kParallel 0 kPerspective 1
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the size and position of this Viewport object.
lowerLeft | [in] Lower-left corner in nomalized device coordinates [0.0 .. 1.0]. |
upperRight | [in] Upper-right corner in nomalized device coordinates [0.0 .. 1.0]. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the size and position of this Viewport object.
screenRect | [in] Screen rectangle in device coordinates (pixels). |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
virtual |
Sets the size and position of this Viewport object.
screenRect | [in] Screen rectangle in device coordinates (pixels). |
Reimplemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
virtual |
Defines the 3d clipping for this Viewport object.
pBoundary | [in] 3d clipping boundary. |
pClipInfo | [in] Optional 3d clipping boundary extended data. |
Reimplemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets the color and width of the border for this Viewport object.
color | [in] Border color. |
width | [in] Border width in pixels. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Controls the border visibility for this Viewport object.
visible | [in] Controls visibility. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Defines a polygonal clip region for this Viewport object.
numCoutours | [in] Number of polygonal contours. |
numVertices | [in] Array of the number of vertices in each polygonal contour. |
vertices | [in] Array of device coordinate (pixel) vertices defining the polygonal contours. |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Defines a polygonal clip region for this Viewport object.
numCoutours | [in] Number of polygonal contours. |
numVertices | [in] Array of the number of vertices in each polygonal contour. |
vertices | [in] Array of device coordinate (pixel) vertices defining the polygonal contours. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets visual style for this view.
visualStyle | [in] New visual style data. |
Implemented in OdGsBaseVectorizeViewJoin< BaseVectorizerObject >, OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC >, OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer >, OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Sets visual style object for this view.
visualStyleId | [in] New visual style object ID. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Un-hides this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns ambient occlusion mode for current Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the WCS camera target for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Thaws the specified Layer object in this Viewport object.
layerID | [in] Layer to thaw. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Flushes any queued graphics to the display device.
Implemented in OdGsBaseVectorizeView, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Returns the WCS camera up vector for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns the GiContext object associated with this Viewport object.
Implemented in OdGsBaseVectorizeView, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Returns the matrix that transforms world space to view space for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
Sets the view parameters of the specified OdGsView object to that of this Viewport object.
pView | [out] Receives the view parameters. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
virtual |
Returns the current 3d clipping for this Viewport object.
ppClipInfo | [out] Optional 3d clipping boundary extended data. |
Reimplemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns a polygonal clip region for this Viewport object.
counts | [out] Array of the number of vertices in each polygonal contour. |
vertices | [out] Array of device coordinate (pixel) vertices defining the polygonal contours. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns a polygonal clip region for this Viewport object.
counts | [out] Array of the number of vertices in each polygonal contour. |
vertices | [out] Array of device coordinate (pixel) vertices defining the polygonal contours. |
Implemented in OdGsViewImpl, and OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >.
|
pure virtual |
Returns current visual style object ID for this view.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns current visual style for this view.
visualStyle | [out] OdGiVisualStyle structure to fill by current visual style data. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Returns a matrix that transforms coordinates from world space to screen space for this Viewport object.
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Scales the focal length of the camera by the specified amount.
zoomFactor | [in] Zoom factor. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Scales the camera to completely include specified WCS box inside view frustum.
minPt | [in] minimal WCS box point. |
maxPt | [in] maximal WCS box point. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.
|
pure virtual |
Scales the camera to completely include specified screen area.
lowerLeft | [in] Lower-left corner in nomalized device coordinates [0.0 .. 1.0]. |
upperRight | [in] Upper-right corner in nomalized device coordinates [0.0 .. 1.0]. |
Implemented in OdGsViewWrapper< OdGsView, OdGsDefaultRedirectionBase< OdGsView, OdGsView > >, and OdGsViewImpl.