CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef __GS_H_INCLUDED_
25 #define __GS_H_INCLUDED_
684 virtual void dolly(
double xDolly,
double yDolly,
double zDolly) = 0;
705 virtual void roll(
double rollAngle) = 0;
729 virtual void orbit(
double xOrbit,
double yOrbit) = 0;
737 virtual void zoom(
double zoomFactor) = 0;
760 virtual void pan(
double xPan,
double yPan) = 0;
954 OdGePoint2d& pixelDensity,
bool bUsePerspective =
true)
const = 0;
1190 bool enableLayerVisibilityPerView =
false) = 0;
1430 #endif // __GS_H_INCLUDED_
virtual bool extentsInView(const OdGePoint3d &minPt, const OdGePoint3d &maxPt) const =0
virtual void getSize(OdGsDCRectDouble &outputRect) const
virtual OdGsUpdateManagerPtr getUpdateManager(bool createIfNotExist=false)
virtual void zoomExtents(const OdGePoint3d &minPt, const OdGePoint3d &maxPt)=0
virtual void clearFrozenLayers()=0
virtual void enableStereo(bool enabled)=0
virtual void setUserGiContext(OdGiContext *pUserGiContext)=0
virtual void eraseAll()=0
virtual OdGeVector3d upVector() const =0
virtual void getSize(OdGsDCRect &outputRect) const =0
virtual void setFrontClip(double frontClip)=0
virtual void update(OdGsDCRect *pUpdatedRect=0)=0
virtual void onSize(const OdGsDCRectDouble &outputRect)
virtual void setViewportBorderVisibility(bool visible)=0
virtual OdGeMatrix3d worldToDeviceMatrix() const =0
virtual OdGeMatrix3d screenMatrix() const =0
virtual void pan(double xPan, double yPan)=0
virtual void getSnapShot(OdGiRasterImagePtr &pImage, const OdGsDCRect ®ion)=0
virtual void setStereoParameters(double magnitude, double parallax)=0
virtual void setViewportBorderProperties(ODCOLORREF color, int width)=0
virtual void beginInteractivity(double frameRateInHz)=0
virtual void setViewportClipRegion(int numContours, int const *numVertices, OdGePoint2d const *vertices)=0
virtual void setBackClip(double backClip)=0
virtual OdGsDevicePtr createDevice()=0
virtual RenderMode mode() const =0
virtual bool visualStyle(OdGiVisualStyle &visualStyle) const =0
virtual void setMode(RenderMode mode)=0
virtual bool isPerspective() const =0
virtual bool erase(OdGiDrawable *sceneGraph)=0
virtual void getStereoParameters(double &magnitude, double ¶llax) const =0
virtual bool saveDeviceState(OdGsFiler *pFiler) const
virtual const ODCOLORREF * getLogicalPalette(int &numColors) const =0
ODRX_DECLARE_MEMBERS(OdGsModule)
@ kPerspective
Orthographic camera projection.
OdSmartPtr< OdRxDictionary > OdRxDictionaryPtr
virtual void dolly(const OdGeVector3d &dollyVector)=0
virtual void initLights(OdRxIterator *pLightsIterator)=0
virtual void zoomWindow(const OdGePoint2d &lowerLeft, const OdGePoint2d &upperRight)=0
virtual void setVisualStyle(const OdGiVisualStyle &visualStyle)=0
virtual void viewWasCreated(OdGsView *pView)
virtual void setViewport(const OdGePoint2d &lowerLeft, const OdGePoint2d &upperRight)=0
virtual void setViewport(const OdGsDCRect &screenRect)=0
OdSmartPtr< OdGsModel > OdGsModelPtr
virtual void setUserGiContext(OdGiContext *pUserGiContext)=0
@ kGouraudShadedWithWireframe
virtual void setEnableBackClip(bool enable)=0
virtual bool setBackgroundColor(ODCOLORREF backgroundColor)=0
virtual void invalidate()=0
virtual bool isViewportBorderVisible() const =0
virtual void freezeLayer(OdDbStub *layerID)=0
virtual OdGeMatrix3d viewingMatrix() const =0
OdArray< OdGsModel *, OdMemoryAllocator< OdGsModel * > > OdGsModelArray
virtual void onRealizeForegroundPalette()=0
virtual const OdGiClipBoundary * viewport3dClipping(const OdGiAbstractClipBoundary **ppClipInfo=NULL) const
OdSmartPtr< OdGiRasterImage > OdGiRasterImagePtr
virtual void roll(double rollAngle)=0
virtual void setUpdateManager(OdGsUpdateManagerPtr pManager)
virtual OdGsView * viewAt(int viewIndex)=0
virtual OdDbStub * visualStyle() const =0
virtual bool pointInViewport(const OdGePoint2d &screenPoint) const =0
OdSmartPtr< OdGsView > OdGsViewPtr
virtual void getSnapShot(OdGiRasterImagePtr &pImage, const OdGsDCRect ®ion)=0
virtual bool isModelCompatible(OdGsModel *pModel) const
virtual double fieldHeight() const =0
@ kNone
Light mode is inherited from the annotation.
virtual void getViewportBorderProperties(ODCOLORREF &color, int &width) const =0
OdSmartPtr< OdGsReactor > OdGsReactorPtr
virtual OdGeMatrix3d projectionMatrix() const =0
virtual OdGePoint3d target() const =0
virtual void select(const OdGsDCPoint *pts, int nPoints, OdGsSelectionReactor *pReactor, OdGsView::SelectionMode mode=OdGsView::kCrossing)=0
virtual bool isValid() const =0
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &point, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const =0
virtual void invalidate()=0
void removeViewport3dClipping()
virtual bool eraseView(OdGsView *pView)=0
virtual void addView(OdGsView *pView)=0
virtual double lineweightToDcScale() const =0
virtual double interactivityFrameRate() const =0
OdSmartPtr< OdGsModule > OdGsModulePtr
virtual void dolly(double xDolly, double yDolly, double zDolly)=0
virtual void invalidate(const OdGsDCRect &screenRect)=0
virtual void onSize(const OdGsDCRect &outputRect)=0
virtual void setView(const OdGePoint3d &position, const OdGePoint3d &target, const OdGeVector3d &upVector, double fieldWidth, double fieldHeight, Projection projectionType=kParallel)=0
virtual double linetypeAlternateScaleMultiplier() const =0
virtual void viewportClipRegion(OdIntArray &counts, OdGsDCPointArray &vertices) const =0
virtual void eraseAllViews()=0
virtual void invalidateCachedViewportGeometry()=0
OdDbStub * viewportObjectId
virtual double fieldWidth() const =0
virtual bool isFrontClipped() const =0
virtual bool isVisible()=0
virtual bool pointInView(const OdGePoint3d &pt) const =0
virtual void setLensLength(double lensLength)=0
virtual void getViewport(OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const =0
GLint GLenum GLsizei width
virtual int numViews() const =0
virtual void enableDefaultLighting(bool bEnable, DefaultLightingType lightType=kTwoLights)=0
virtual OdGeMatrix3d objectToDeviceMatrix() const =0
virtual bool isValid() const =0
virtual void clientViewInfo(OdGsClientViewInfo &clientViewInfo) const
virtual void setLineweightEnum(int numLineweights, const OdUInt8 *lineweights)=0
const OdGsMarker kNullSubentIndex
virtual void setLinetypeScaleMultiplier(double linetypeScaleMultiplier)=0
virtual OdGePoint3d position() const =0
virtual void thawLayer(OdDbStub *layerID)=0
virtual OdGsViewPtr createView(const OdGsClientViewInfo *pViewInfo=0, bool enableLayerVisibilityPerView=false)=0
virtual void getViewport(OdGsDCRect &screenRect) const =0
virtual void removeReactor(OdGsReactor *pReactor)=0
virtual void zoom(double zoomFactor)=0
virtual void viewToBeDestroyed(OdGsView *pView)
virtual void setBackground(OdDbStub *backgroundId)=0
virtual void insertView(int viewIndex, OdGsView *pView)=0
virtual ODCOLORREF getBackgroundColor()=0
virtual void gsToBeUnloaded(OdGsModule *pModule)
virtual void viewParameters(OdGsView *pView) const =0
virtual bool isInInteractivity() const =0
virtual bool add(OdGiDrawable *pSceneGraph, OdGsModel *pModel)=0
OdSmartPtr< OdGsDevice > OdGsDevicePtr
virtual double frontClip() const =0
virtual void onRealizeBackgroundPalette()=0
virtual void viewportClipRegion(OdIntArray &counts, OdGePoint2dArray &vertices) const =0
virtual void setViewport(const OdGsDCRectDouble &screenRect)
virtual bool loadDeviceState(OdGsFiler *pFiler)
virtual void setVisualStyle(OdDbStub *visualStyleId)=0
virtual void getViewport(OdGsDCRectDouble &screenRect) const
virtual void endInteractivity()=0
virtual void onDisplayChange(int bitsPerPixel, int xPixels, int yPixels)=0
virtual void setLogicalPalette(const ODCOLORREF *logicalPalette, int numColors)=0
virtual void setLineweightToDcScale(double scale)=0
virtual bool isBackClipped() const =0
virtual OdGiContext * userGiContext() const =0
ODRX_DECLARE_MEMBERS(OdGsDevice)
virtual OdGiContext * userGiContext() const =0
virtual OdGsDevice * device() const =0
virtual OdGsModel * getModel(const OdGiDrawable *pDrawable) const =0
virtual double backClip() const =0
virtual bool eraseView(int viewIndex)=0
virtual void setViewportClipRegion(int numContours, int const *numVertices, OdGsDCPoint const *vertices)=0
virtual void orbit(double xOrbit, double yOrbit)=0
virtual OdRxDictionaryPtr properties()=0
virtual OdGsDevicePtr createBitmapDevice()
void removeViewportClipRegion()
virtual bool exceededBounds()=0
virtual void setViewport3dClipping(const OdGiClipBoundary *pBoundary, const OdGiAbstractClipBoundary *pClipInfo=NULL)
virtual void setEnableFrontClip(bool enable)=0
virtual void setAlternateLinetypeScaleMultiplier(double linetypeAlternateScaleMultiplier)=0
virtual void setClearColor(ClearColor color)=0
virtual OdDbStub * background() const =0
@ kFlatShadedWithWireframe
virtual OdGsModelArray getModelList() const =0
ODRX_DECLARE_MEMBERS(OdGsView)
virtual void invalidate(const OdGsDCRect &screenRect)=0
OdSmartPtr< OdGsUpdateManager > OdGsUpdateManagerPtr
virtual void addReactor(OdGsReactor *pReactor)=0
virtual double lensLength() const =0
OdGiContextualColorsPtr contextColors
virtual bool isStereoEnabled() const =0
virtual OdGsViewPtr cloneView(bool cloneViewParameters=true, bool cloneGeometry=false)=0
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
virtual OdGsModelPtr createModel()=0
virtual double linetypeScaleMultiplier() const =0