CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OdGsBaseVectorizeView Class Referenceabstract

#include <GsBaseVectorizeView.h>

Inheritance diagram for OdGsBaseVectorizeView:
OdGsViewImpl OdGsView OdRxObject OdGsBaseVectorizeViewJoin< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewJoin< OdGsBaseVectorizer > OdGsBaseVectorizeViewJoin< BaseVectorizerObject > OdGsBaseMaterialView OdGsBaseVectorizeViewDef OdGsBaseVectorizeViewJoinMT< OdGsBaseMaterialViewPC > OdGsBaseVectorizeViewJoinMT< OdGsBaseVectorizer > OdGsBaseVectorizeViewJoinMT< BaseVectorizerObject > OdGsBaseMaterialViewMT OdGsBaseVectorizeViewMT

Public Member Functions

 OdGsBaseVectorizeView ()
 
 ~OdGsBaseVectorizeView ()
 
virtual OdGiContextuserGiContext () const
 
virtual void setUserGiContext (OdGiContext *pUserGiContext)
 
virtual void update ()
 
virtual void select (const OdGePoint2d *aPtDc, int numPoints, OdGsSelectionReactor *pReactor, OdGsView::SelectionMode mode=OdGsView::kCrossing)
 
 TD_USING (OdGsViewImpl::select)
 
virtual bool viewExtents (OdGeBoundBlock3d &extents) const
 
bool sceneDept (double &zNear, double &zFar, OdGsOverlayId nOverlay) const
 
bool sceneDept (double &zNear, double &zFar) const
 
virtual void collide (OdGiPathNode const *const *pInputList, OdUInt32 nInputListSize, OdGsCollisionDetectionReactor *pReactor, OdGiPathNode const *const *pCollisionWithList=NULL, OdUInt32 nCollisionWithListSize=0, const OdGsCollisionDetectionContext *pCtx=NULL)
 
 TD_USING (OdGsViewImpl::collide)
 
virtual OdUInt32 numVectorizers () const =0
 
- Public Member Functions inherited from OdGsViewImpl
 ODRX_DECLARE_MEMBERS (OdGsViewImpl)
 
 OdGsViewImpl ()
 
 ~OdGsViewImpl ()
 
virtual void init (OdGsBaseVectorizeDevice *pDevice, const OdGsClientViewInfo *pViewInfo=0, bool enableLayerVisibilityPerView=false)
 
virtual OdGsDevicedevice () const
 
virtual void clientViewInfo (OdGsClientViewInfo &viewInfo) const
 
virtual RenderMode mode () const
 
bool setModeOverride (RenderMode mode)
 
virtual void setMode (RenderMode mode)
 
virtual void freezeLayer (OdDbStub *layerID)
 
virtual void thawLayer (OdDbStub *layerID)
 
virtual void clearFrozenLayers ()
 
virtual void setViewportBorderProperties (ODCOLORREF color, int width)
 
virtual void getViewportBorderProperties (ODCOLORREF &color, int &width) const
 
virtual void setViewportBorderVisibility (bool visible)
 
virtual bool isViewportBorderVisible () const
 
virtual void setEnableFrontClip (bool enable)
 
virtual bool isFrontClipped () const
 
virtual void setFrontClip (double distance)
 
virtual double frontClip () const
 
virtual void setEnableBackClip (bool enable)
 
virtual bool isBackClipped () const
 
virtual void setBackClip (double distance)
 
virtual double backClip () const
 
virtual OdGePoint3d position () const
 
virtual OdGePoint3d target () const
 
virtual OdGeVector3d upVector () const
 
virtual double fieldWidth () const
 
virtual double fieldHeight () const
 
double windowAspect () const
 
virtual double lensLength () const
 
virtual void setLensLength (double lensLength)
 
virtual bool isPerspective () const
 
virtual void beginInteractivity (double frameRateInHz)
 
virtual bool isInInteractivity () const
 
virtual double interactivityFrameRate () const
 
virtual void endInteractivity ()
 
virtual void flush ()
 
virtual void hide ()
 
virtual void show ()
 
virtual bool isVisible ()
 
virtual OdGsViewPtr cloneView (bool cloneViewParameters=true, bool cloneGeometry=false)
 
virtual bool exceededBounds ()
 
virtual void enableStereo (bool enabled)
 
virtual bool isStereoEnabled () const
 
virtual void setStereoParameters (double magnitude, double parallax)
 
virtual void getStereoParameters (double &magnitude, double &parallax) const
 
virtual void initLights (OdRxIterator *pLightsIterator)
 
virtual void getSnapShot (OdGiRasterImagePtr &pImage, const OdGsDCRect &region)
 
virtual void setViewport (const OdGePoint2d &lowerLeft, const OdGePoint2d &upperRight)
 
virtual void setViewport (const OdGsDCRect &screenRect)
 
virtual void setViewport (const OdGsDCRectDouble &screenRec)
 
virtual void getViewport (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const
 
virtual void getViewport (OdGsDCRect &screenRect) const
 
virtual void getViewport (OdGsDCRectDouble &screenRec) const
 
virtual OdGeMatrix3d screenMatrix () const
 
virtual OdGeMatrix3d worldToDeviceMatrix () const
 
virtual OdGeMatrix3d objectToDeviceMatrix () const
 
virtual OdGeMatrix3d viewingMatrix () const
 
virtual OdGeMatrix3d projectionMatrix () const
 
virtual void viewParameters (OdGsView *pView) const
 
virtual double lineweightToDcScale () const
 
virtual void setLineweightToDcScale (double scale)
 
virtual void setLineweightEnum (int numLineweights, const OdUInt8 *lineweights)
 
virtual void setLinetypeScaleMultiplier (double linetypeScaleMultiplier)
 
virtual void setAlternateLinetypeScaleMultiplier (double linetypeAlternateScaleMultiplier)
 
virtual double linetypeScaleMultiplier () const
 
virtual void dolly (const OdGeVector3d &dollyVector)
 
virtual void dolly (double xDolly, double yDolly, double zDolly)
 
virtual void roll (double rollAngle)
 
virtual void orbit (double xOrbit, double yOrbit)
 
virtual void zoom (double zoomFactor)
 
virtual void pan (double xPan, double yPan)
 
virtual void setView (const OdGePoint3d &position, const OdGePoint3d &target, const OdGeVector3d &upVector, double fieldWidth, double fieldHeight, Projection projection=kParallel)
 
virtual void zoomExtents (const OdGePoint3d &minPt, const OdGePoint3d &maxPt)
 
virtual void zoomWindow (const OdGePoint2d &lowerLeft, const OdGePoint2d &upperRight)
 
virtual bool pointInView (const OdGePoint3d &pt) const
 
virtual bool extentsInView (const OdGePoint3d &minPt, const OdGePoint3d &maxPt) const
 
virtual void viewportClipRegion (OdIntArray &counts, OdGePoint2dArray &vertices) const
 
virtual void viewportClipRegion (OdIntArray &counts, OdGsDCPointArray &dcPts) const
 
virtual void setViewportClipRegion (int numContours, const int *numVertices, const OdGePoint2d *vertices)
 
virtual void setViewportClipRegion (int numContours, int const *numVertices, OdGsDCPoint const *vertices)
 
bool isDependentViewportView () const
 
bool isDependentGeometryView () const
 
bool isHelperView () const
 
const OdGsBaseModulegetGsModulePtr () const
 
const OdGiContextualColorscontextualColors () const
 
void setContextualColors (OdGiContextualColors *pColors)
 
virtual bool pointInViewport (const OdGePoint2d &screenPoint) const
 
virtual void setClearColor (ClearColor color)
 
virtual void invalidate ()
 
virtual void invalidate (const OdGsDCRect &rect)
 
virtual void invalidateCachedViewportGeometry ()
 
virtual void select (const OdGsDCPoint *points, int numPoints, OdGsSelectionReactor *pReactor, SelectionMode mode=kCrossing)
 
virtual bool add (OdGiDrawable *sceneGraph, OdGsModel *model)
 
virtual int numRootDrawables () const
 
virtual OdDbStub * rootDrawableIdAt (int i, OdGsModelPtr *pModelReturn=0) const
 
virtual OdGiDrawablePtr rootDrawableAt (int i, OdGsModelPtr *pModelReturn=0) const
 
virtual bool erase (OdGiDrawable *sceneGraph)
 
virtual void eraseAll ()
 
virtual OdGsModelgetModel (const OdGiDrawable *pDrawable) const
 
virtual OdGsModelArray getModelList () const
 
virtual bool isValid () const
 
virtual void getNumPixelsInUnitSquare (const OdGePoint3d &givenWorldpt, OdGePoint2d &pixelArea, bool includePerspective=true) const
 
virtual void setBackground (OdDbStub *backgroundId)
 
virtual OdDbStub * background () const
 
virtual void setVisualStyle (OdDbStub *visualStyleId)
 
virtual OdDbStub * visualStyle () const
 
virtual void setVisualStyle (const OdGiVisualStyle &visualStyle)
 
virtual bool visualStyle (OdGiVisualStyle &vs) const
 
virtual void enableDefaultLighting (bool bEnable, DefaultLightingType lightType=kTwoLights)
 
bool defaultLightingEnabled () const
 
DefaultLightingType defaultLightingType () const
 
OdUInt32 viewportId () const
 
bool isValidViewportId (const OdUInt32 vpId) const
 
OdDbStub * getViewportObjectId () const
 
OdGsBaseVectorizeDevicebaseDevice ()
 
const OdGsBaseVectorizeDevicebaseDevice () const
 
OdDbStub * annotationScaleId () const
 
OdIntPtr drawablesFilterFunction () const
 
virtual bool viewExtents (OdGeBoundBlock3d &extents) const =0
 
virtual void select (const OdGePoint2d *aPtDc, int numPoints, OdGsSelectionReactor *pReactor, SelectionMode mode=kCrossing)=0
 
bool isSnapping () const
 
void setSnapping (bool val)
 
bool isRegenOnDrawForbidden () const
 
void setRegenOnDrawForbidden (bool val)
 
bool isAccumulateVpChanges () const
 
virtual void clearLinetypeCache ()=0
 
double linetypeAlternateScaleMultiplier () const
 
virtual bool isSupportLegacyWireframeMode () const
 
virtual bool isLegacyWireframeMode () const
 
virtual void setLegacyWireframeMode (bool bSet)
 
virtual bool isSupportLegacyHiddenMode () const
 
virtual bool isLegacyHiddenMode () const
 
virtual void setLegacyHiddenMode (bool bSet)
 
bool isSupportPlotStyles () const
 
virtual bool isPlotTransparency () const
 
virtual void setPlotTransparency (bool bSet)
 
OdUInt32 frozenLayers () const
 
void frozenLayers (OdDbStubPtrArray &frozenLayers) const
 
bool isLayerVisible (OdDbStub *layerId) const
 
int lineweightToPixels (OdDb::LineWeight lineweight) const
 
double lineweightToPixels (double lineweight) const
 
void screenRect (OdGsDCPoint &lowerLeft, OdGsDCPoint &upperRight) const
 
void screenRect (OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const
 
void screenRectNorm (OdGsDCRect &normalizedRect) const
 
void viewportDcCorners (OdGePoint2d &lower_left, OdGePoint2d &upper_right) const
 
bool doPerspectivePt (OdGePoint3d &point) const
 
bool doInversePerspectivePt (OdGePoint3d &point) const
 
const OdGeMatrix3deyeToWorldMatrix () const
 
const OdGeMatrix3dworldToEyeMatrix () const
 
OdGeMatrix3d eyeToScreenMatrix (OdGsOverlayId nOverlay=kGsMainOverlay) const
 
OdGeMatrix3d worldToDeviceMatrix (OdGsOverlayId nOverlay) const
 
OdGeMatrix3d objectToDeviceMatrix (OdGsOverlayId nOverlay) const
 
OdGeMatrix3d projectionMatrix (OdUInt32 nIncludes, OdGsOverlayId nOverlay=kGsMainOverlay) const
 
ClearColor clearColor () const
 
OdGsOverlayId extentsToPixels (OdGsDCRect &rc, const OdGeExtents3d &worldExt, const OdGsBaseModel *pModel, OdDb::LineWeight extendByLineweight=OdDb::kLnWt000) const
 
virtual void invalidate (const OdGeExtents3d &worldExt, const OdGsBaseModel *pModel, OdDb::LineWeight extendByLineweight=OdDb::kLnWt000)
 
void invalidate (const OdGsUpdateExtents &extents, const OdGsBaseModel *pModel)
 
void invalidateRegion (const OdGiPathNode &path)
 
OdGsDCRectArray invalidRects (OdGsOverlayId nOverlay=kGsMainOverlay) const
 
bool isViewportOnScreen () const
 
bool isCompletelyVisible () const
 
void setCompletelyVisible (bool val)
 
void setInversion (bool invertedX, bool invertedY)
 
virtual OdGiRegenType getRegenType () const
 
double focalLength () const
 
const OdGeVector3deyeVector () const
 
const OdGeVector3dxVector () const
 
const OdGeVector3dgetUpVector () const
 
double getLinetypeScaleMultiplier () const
 
double getLinetypeGenerationCriteria () const
 
virtual double getDeviation (const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve, bool bRecalculate=false) const
 
void initDeviation ()
 
int cachedDrawables () const
 
OdUInt32 localViewportId (const OdGsBaseModel *pModel) const
 
virtual bool isLocalViewportIdCompatible (const OdGsViewImpl *pView) const
 
OdGsViewLocalIdgetViewLocalId ()
 
virtual bool isViewRegenerated () const
 
const OdGePoint2dcenter () const
 
void setCenter (const OdGePoint2d &center)
 
OdGePoint3d focusPoint () const
 
bool isNonRectClipped () const
 
bool hasLweights () const
 
const OdUInt8ArraygetLweightsEnum () const
 
const OdGePoint2ddcScreenMin () const
 
const OdGePoint2ddcScreenMax () const
 
const OdGePoint2ddcLowerLeft () const
 
const OdGePoint2ddcUpperRight () const
 
OdGeMatrix3d perspectiveMatrix () const
 
void invalidateCachedViewportGeometry (OdUInt32 mask)
 
virtual void registerOverlay (const OdGsModel *pModel)
 
virtual void unregisterOverlay (const OdGsModel *pModel)
 
virtual int partialUpdateExtentsEnlargement () const
 
double calcDeviation (const OdGiDeviationType type, const OdGePoint3d &pt) const
 
OdGsPropertiesPtr getViewportPropertiesRoot () const
 
bool updateViewportProperties (OdUInt32 incFlags)
 
OdGsPropertiesPtr getViewportPropertiesForType (OdGsProperties::PropertiesType type) const
 
const OdGeMatrix3drotationMatrix () const
 
short viewportRotation () const
 
bool isRotated () const
 
double unrotatedFieldHeight () const
 
double unrotatedFieldWidth () const
 
double actualFieldWidth () const
 
double actualFieldHeight () const
 
virtual void initCullingVolume ()
 
void setCullingVolume (OdGsCullingVolumePtr newVol)
 
OdGsCullingVolumePtr cullingVolume () const
 
virtual bool isCullingVolumeInitialized () const
 
virtual bool cullingVolumeIntersectWithOpt (const OdGsCullingPrimitive &prim) const
 
virtual OdGsCullingVolume::IntersectionStatus cullingVolumeIntersectWith (const OdGsCullingPrimitive &prim) const
 
virtual void cullingVolumeTransformBy (const OdGeMatrix3d &xfm)
 
virtual void setViewport3dClipping (const OdGiClipBoundary *pBoundary, const OdGiAbstractClipBoundary *pClipInfo=NULL)
 
virtual const OdGiClipBoundaryviewport3dClipping (const OdGiAbstractClipBoundary **ppClipInfo=NULL) const
 
OdGiClipBoundaryWithAbstractDataviewport3dClippingObject ()
 
bool hasViewport3dClipping () const
 
virtual bool saveViewState (OdGsFiler *pFiler) const
 
virtual bool loadViewState (OdGsFiler *pFiler)
 
virtual bool saveClientViewState (OdGsFiler *pFiler) const
 
virtual bool loadClientViewState (OdGsFiler *pFiler)
 
virtual const OdDbStubPtrArraygetFrozenLayersDiff () const
 
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)
 
virtual OdUInt32 antiAliasingMode () const
 
virtual void enableSSAO (bool bEnable) ODRX_OVERRIDE
 
virtual bool ssaoMode () const ODRX_OVERRIDE
 
void addClippingShape (const OdSiShape *)
 
void removeClippingShape (const OdSiShape *)
 
const OdSiShapeConstPtrArrayclippingShapes () const
 
void setClippingShapes (const OdSiShapeConstPtrArray &s)
 
- Public Member Functions inherited from OdGsView
 ODRX_DECLARE_MEMBERS (OdGsView)
 
virtual OdGsDevicedevice () const =0
 
virtual OdGiContextuserGiContext () 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 OdGiClipBoundaryviewport3dClipping (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 OdGsModelgetModel (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 &parallax) 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 &region)=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 OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () 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
 

Static Public Member Functions

static OdGsBaseVectorizeViewsafeCast (OdGsView *pView)
 
- Static Public Member Functions inherited from OdGsViewImpl
static OdGsViewImplsafeCast (OdGsView *pView)
 
static const OdGsViewImplsafeCast (const OdGsView *pView)
 
static double lensLengthToFOV (double lensLength)
 
static double lensLengthFromFOV (double fovAngle)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Protected Member Functions

virtual void updateGeometryByDevice ()
 
virtual OdGsBaseVectorizergetVectorizer (bool bDisplay)=0
 
virtual void releaseVectorizer (OdGsBaseVectorizer *pVect)=0
 
virtual void updateGeometry ()
 
virtual void updateScreen ()
 
- Protected Member Functions inherited from OdGsViewImpl
void getUnrotatedFieldSize (double &fieldWidth, double &fieldHeight) const
 
void getClippingPlanes (double &nearClipPlaneDist, double &farClipPlaneDist, OdGsOverlayId overlayId, OdUInt32 projectionFlags) const
 
OdGeMatrix3d projectionMatrix (double nearClipPlaneDist, double farClipPlaneDist, OdUInt32 projectionFlags) const
 
OdGeMatrix3d eyeToScreenMatrix (double nearClipPlaneDist, double farClipPlaneDist, OdGsOverlayId overlayId) const
 
OdGeMatrix3d screenMatrix (double nearClipPlaneDist, double farClipPlaneDist) const
 
virtual bool sceneDept (double &zNear, double &zFar, OdGsOverlayId nOverlay) const
 
virtual bool sceneDept (double &zNear, double &zFar) const
 
virtual bool usesDept (double *pMinDeptSupported=0, double *pMaxDeptSupported=0) const
 
void onWorldToEyeChanged ()
 
void onFinalRelease ()
 
virtual void updateViewProps (bool bFullUpdate=true)
 
bool isCheckValid () const
 
void setCheckValid (bool bValue) const
 
bool isInvalid () const
 
void setInvalid (bool bValue) const
 
void setPerspectiveEnabled (bool bValue) const
 
void setAccumulateVpChanges (bool bSet)
 
OdGiDrawablePtr drawableAt (DrawableHolder &drawableHolder)
 
OdGsNodegetRootNode (DrawableHolder &holder)
 
virtual void propagateInvalidVpFlag ()
 
virtual void propagateLayersChanges ()
 

Protected Attributes

OdSmartPtr< OdGiContextm_userGiContext
 
- Protected Attributes inherited from OdGsViewImpl
OdDbStubPtrArray m_lastFrozenLayers
 
OdGsBaseModulePtr m_pModule
 
OdDbStubPtrArray m_frozenLayersDiff
 
OdUInt32 m_gsViewImplFlags
 
ODCOLORREF m_borderColor
 
int m_borderWeight
 
double m_frontClipDist
 
double m_backClipDist
 
bool m_screenInvertedX
 
bool m_screenInvertedY
 
OdGePoint2d m_dcScreenMin
 
OdGePoint2d m_dcScreenMax
 
OdGePoint2d m_dcLowerLeft
 
OdGePoint2d m_dcUpperRight
 
double m_fieldWidth
 
double m_fieldHeight
 
double m_lensLength
 
double m_eyeVecLength
 
OdGePoint3d m_position
 
OdGePoint3d m_target
 
OdGeVector3d m_upVector
 
OdGeVector3d m_eyeVector
 
OdGeVector3d m_xVector
 
OdGePoint2d m_center
 
OdGeMatrix3d m_eyeToWorld
 
OdGeMatrix3d m_worldToEye
 
OdIntArray m_nrcCounts
 
OdGePoint2dArray m_nrcPoints
 
double m_linetypeScaleMultiplier
 
double m_linetypeAlternateScaleMultiplier
 
double m_lineweightToDcScale
 
OdUInt8Array m_lweights
 
OdGsCullingVolumePtr m_pCullingVolume
 
OdSharedPtr< OdGiClipBoundaryWithAbstractDatam_p3dClip
 
OdSiShapeConstPtrArray m_clippingShapes
 
double m_deviation [5]
 
int m_nCachedDrawables
 
OdMutexPtr m_mtExtents
 
OdGsPropertiesPtr m_pProperties
 
OdDbStub * m_pBackgroundId
 
OdDbStub * m_pVisualStyleId
 
OdGiDrawablePtr m_pViewportTrans
 
DefaultLightingType m_defaultLightingType
 
OdUInt32 m_antiAliasingMode
 
GsViewOverlayDataContainer m_overlayData
 
OdGsBaseVectorizeDevicem_pDevice
 
OdGsClientViewInfo m_viewInfo
 
OdUInt32 m_giViewportId
 
OdGsViewLocalId m_localId
 
OdGiRegenType m_regenerationType
 
OdRxObjectPtr m_pGsReserved
 
RenderMode m_renderMode
 
DrawableHolderArray m_drawables
 
OdDbStubPtrArray m_frozenLayers
 
bool m_bInInteractivityMode
 
double m_dInteractivityFrameRate
 

Friends

class OdGsBaseVectorizeDevice
 
class VectorizerAutoPtr
 
class BaseVectScheduler
 

Additional Inherited Members

- Public Types inherited from OdGsViewImpl
enum  ProjectionMatrixFlags {
  kProjectionIncludeDept = (1 << 0) , kProjectionIncludeClip = (1 << 1) , kProjectionIncludePerspective = (1 << 2) , kProjectionIncludeRotation = (1 << 3) ,
  kProjectionIncludeAll = 0x0F , kProjectionIncludeAllNoDept = kProjectionIncludeAll & ~kProjectionIncludeDept
}
 
- Public Types inherited from OdGsView
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 }
 

Detailed Description

This class is a pattern implementation of the OdGsView interface.

Remarks
This class implements most of the OdGsView class. It creates simplified eye coordinate system (ECS) output graphics, which could be redirected by a client to a renderer to screen or file.
See also
DWF/SVG exports

Corresponding C++ library: Gs

<group OdGs_Classes>

Definition at line 52 of file GsBaseVectorizeView.h.

Constructor & Destructor Documentation

◆ OdGsBaseVectorizeView()

OdGsBaseVectorizeView::OdGsBaseVectorizeView ( )

Default constructor for the OdGsBaseVectorizeView class.

◆ ~OdGsBaseVectorizeView()

OdGsBaseVectorizeView::~OdGsBaseVectorizeView ( )

Destructor for the OdGsBaseVectorizeView class.

Member Function Documentation

◆ collide()

virtual void OdGsBaseVectorizeView::collide ( OdGiPathNode const *const *  pInputList,
OdUInt32  nInputListSize,
OdGsCollisionDetectionReactor pReactor,
OdGiPathNode const *const *  pCollisionWithList = NULL,
OdUInt32  nCollisionWithListSize = 0,
const OdGsCollisionDetectionContext pCtx = NULL 
)
virtual

Runs the collision detection procedure inside the view object.

Parameters
pInputList[in] List of GiPathNode that represents input entities; can be NULL.
nInputListSize[in] Size of input list; can be 0.
pReactor[in] Pointer to the reactor that processes detected collisions; cannot be NULL.
pCollisionWithList[in] List of GiPathNode that represents entities to check with the input list for collisions; can be NULL.
nCollisionWithListSize[in] Size of list; can be NULL.
pCtx[in] Pointer to the context that provides additional collision detection properties; can be NULL.
See also
<link gs_collision_detection, Work with Collision Detection>
<link tv_working_with_features_collision_detection, Work with Collision Detection>

Implements OdGsViewImpl.

◆ getVectorizer()

virtual OdGsBaseVectorizer * OdGsBaseVectorizeView::getVectorizer ( bool  bDisplay)
protectedpure virtual

◆ numVectorizers()

virtual OdUInt32 OdGsBaseVectorizeView::numVectorizers ( ) const
pure virtual

◆ releaseVectorizer()

virtual void OdGsBaseVectorizeView::releaseVectorizer ( OdGsBaseVectorizer pVect)
protectedpure virtual

◆ safeCast()

OdGsBaseVectorizeView * OdGsBaseVectorizeView::safeCast ( OdGsView pView)
inlinestatic

OdGsBaseVectorizeView methods *

Returns the specified OdGsView pointer as a pointer to an OdGsBaseVectorizeView object.

Parameters
pView[in] Pointer to an OdGsView object.

Definition at line 193 of file GsBaseVectorizeView.h.

◆ sceneDept() [1/2]

bool OdGsBaseVectorizeView::sceneDept ( double &  zNear,
double &  zFar 
) const
virtual

Returns the minimum and maximum z-values for this view object.

Parameters
zNear[out] Receives the minimum z-value.
zFar[out] Receives the maximum z-value.
Returns
Returns true if this view object has z-values associated with it.
Remarks
This is old version of sceneDept overrideable method, which is still provided for compatibility with old vectorizers. Don't override it in new vectorizers, use new sceneDept method version even if your vectorizer doesn't support overlay buffers. This method will be removed in future ODA releases.

Reimplemented from OdGsViewImpl.

◆ sceneDept() [2/2]

bool OdGsBaseVectorizeView::sceneDept ( double &  zNear,
double &  zFar,
OdGsOverlayId  nOverlay 
) const
virtual

Returns the minimum and maximum z-values for this view object.

Parameters
zNear[out] Receives the minimum z-value.
zFar[out] Receives the maximum z-value.
nOverlay[in] Overlay buffer index.
Returns
Returns true if this view object has z-values associated with it.

Reimplemented from OdGsViewImpl.

◆ select()

virtual void OdGsBaseVectorizeView::select ( const OdGePoint2d aPtDc,
int  numPoints,
OdGsSelectionReactor pReactor,
OdGsView::SelectionMode  mode = OdGsView::kCrossing 
)
virtual

Runs the selection procedure inside the view object.

Parameters
aPtDc[in] A pointer to an array of selection points in the device coordinate space (pixels).
numPoints[in] A quantity of selection points.
pReactor[in] A pointer to a selection reactor object to process selections.
mode[in] Selection mode.
See also
<link tv_working_with_features_selections, Work with Selections>

Implements OdGsViewImpl.

◆ setUserGiContext()

virtual void OdGsBaseVectorizeView::setUserGiContext ( OdGiContext pUserGiContext)
virtual

Sets context for this object.

Parameters
pUserGiContext[in] User Gi context.

Implements OdGsView.

◆ TD_USING() [1/2]

OdGsBaseVectorizeView::TD_USING ( OdGsViewImpl::collide  )

◆ TD_USING() [2/2]

OdGsBaseVectorizeView::TD_USING ( OdGsViewImpl::select  )

◆ update()

virtual void OdGsBaseVectorizeView::update ( )
virtual

Updates this vectorization view (propagates layer changes, propagates invalid viewport flag, updates view properties, updates viewpport and sets invalid and check for validation flags depending on the regenAbort() call).

Implements OdGsView.

◆ updateGeometry()

virtual void OdGsBaseVectorizeView::updateGeometry ( )
protectedvirtual

◆ updateGeometryByDevice()

virtual void OdGsBaseVectorizeView::updateGeometryByDevice ( )
protectedvirtual

◆ updateScreen()

virtual void OdGsBaseVectorizeView::updateScreen ( )
protectedvirtual

◆ userGiContext()

virtual OdGiContext * OdGsBaseVectorizeView::userGiContext ( ) const
virtual

OdGsViewImpl methods *

Retrieves context associated with this object.

Returns
Pointer to the associated context.

Implements OdGsView.

◆ viewExtents()

virtual bool OdGsBaseVectorizeView::viewExtents ( OdGeBoundBlock3d extents) const
virtual

Returns the eye coordinate system extents of this view object.

Parameters
extents[out] Receives the extents.
Returns
Returns true if the extents are defined.

Implements OdGsViewImpl.

Friends And Related Function Documentation

◆ BaseVectScheduler

friend class BaseVectScheduler
friend

Definition at line 190 of file GsBaseVectorizeView.h.

◆ OdGsBaseVectorizeDevice

friend class OdGsBaseVectorizeDevice
friend

Definition at line 188 of file GsBaseVectorizeView.h.

◆ VectorizerAutoPtr

friend class VectorizerAutoPtr
friend

Definition at line 189 of file GsBaseVectorizeView.h.

Member Data Documentation

◆ m_userGiContext

OdSmartPtr<OdGiContext> OdGsBaseVectorizeView::m_userGiContext
protected

Definition at line 185 of file GsBaseVectorizeView.h.


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