CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef _OD_DB_VIEWPORT_
25 #define _OD_DB_VIEWPORT_
276 double frontClipDistance);
288 double backClipDistance);
695 const OdString& plotStyleSheetName);
875 bool ucsPerViewport);
1052 void* pClsid)
const;
OdDbObjectId getLabelBlock() const
bool plotAsRaster() const
void setShadePlot(const ShadePlotType shadePlot)
void getFrozenLayerList(OdDbObjectIdArray &layerIds) const
void setSnapAngle(double snapAngle)
bool isGridFollow() const
void setUcsIconInvisible()
OdGsView * gsView() const
void setViewTarget(const OdGePoint3d &viewTarget)
OdUInt16 circleSides() const
ODDB_DECLARE_MEMBERS(OdDbViewport)
OdDbObjectId visualStyle() const
OdGePoint2d viewCenter() const
bool isGridAdaptive() const
void setModelView(const OdDbXrefObjectId &objId)
void thawAllLayersInViewport()
void setDefaultLightingOn(bool on)
virtual OdResult explodeGeometry(OdRxObjectPtrArray &entitySet) const
void setBrightness(double)
OdResult setAnnotationScale(const OdDbAnnotationScale *pScaleObj)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setCenterPoint(const OdGePoint3d ¢erPoint)
OdDbObjectId sunId() const
GLuint GLsizei GLsizei GLint GLenum * type
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdGeVector2d snapIncrement() const
void modified(const OdDbObject *pObj)
void getUcs(OdGePoint3d &origin, OdGeVector3d &xAxis, OdGeVector3d &yAxis) const
ShadePlotType shadePlot() const
void setUcsPerViewport(bool ucsPerViewport)
void setCustomScale(double customScale)
void setGridMajor(OdUInt16)
void setSheetView(const OdDbObjectId &objId)
void setStandardScale(const StandardScaleType standardScale)
void freezeLayersInViewport(const OdDbObjectIdArray &layerIds)
OdGeVector3d viewDirection() const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
bool isTransparent() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
void setPlotStyleSheet(const OdString &plotStyleSheetName)
void toneOperatorParameters(OdGiToneOperatorParameters ¶ms) const
OdDbObjectId setSun(OdDbSun *pSun)
void setNonRectClipEntityId(OdDbObjectId clipEntityId)
OdGeVector2d gridIncrement() const
double viewHeight() const
OdGePoint3d centerPoint() const
bool isFrontClipOn() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setUcsFollowModeOff()
void setGsView(OdGsView *)
void setGridSubdivisionRestricted(bool bNewVal)
void setCircleSides(OdUInt16 circleSides)
OdSmartPtr< OdDbViewport > OdDbViewportPtr
bool isSnapIsometric() const
void setViewHeight(double viewHeight)
void setLabelBlock(const OdDbObjectId objId)
void setSnapIncrement(const OdGeVector2d &snapIncrement)
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdDbXrefObjectId getModelView() const
OdDbAnnotationScalePtr annotationScale() const
OdResult subErase(bool erasing)
void updateDisplay() const
void setFrontClipAtEyeOff()
void setUcsIconAtCorner()
void setShadePlot(const ShadePlotType type, const OdDbObjectId &shadePlotId)
void setElevation(double elevation)
OdGePoint2d snapBasePoint() const
void setBackground(const OdDbObjectId &backgroundId)
void setGridFollow(bool bNewVal)
OdString plotStyleSheet() const
double frontClipDistance() const
void setGridIncrement(const OdGeVector2d &gridIncrement)
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
OdDbObjectId nonRectClipEntityId() const
void setWidth(double width)
bool isPerspectiveOn() const
void setFrontClipDistance(double frontClipDistance)
GLint GLenum GLsizei GLsizei height
GLint GLenum GLsizei width
void setHeight(double height)
OdUInt16 snapIsoPair() const
OdDbObjectId shadePlotId() const
bool isUcsSavedWithViewport() const
double brightness() const
OdDbObjectId ucsName() const
OdGiViewportTraits::DefaultLightingType defaultLightingType() const
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &mat, OdDbEntityPtr &pCopy) const
double backClipDistance() const
void setSnapIsoPair(OdUInt16 snapIsoPair)
void setUcs(OdDb::OrthographicView viewType, const OdDbDatabase *pDb=0)
OdCmColor ambientLightColor() const
void setViewCenter(const OdGePoint2d &viewCenter)
OdString effectivePlotStyleSheet() const
double customScale() const
virtual OdResult subGetClassID(void *pClsid) const
void erased(const OdDbObject *pObj, bool pErasing)
void setGridAdaptive(bool bNewVal)
bool isGridSubdivisionRestricted() const
StandardScaleType standardScale() const
OdGePoint3d viewTarget() const
void setDefaultLightingType(OdGiViewportTraits::DefaultLightingType typ)
void setViewDirection(const OdGeVector3d &viewDirection)
bool hiddenLinesRemoved() const
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
void setUcsFollowModeOn()
void setSnapBasePoint(const OdGePoint2d &snapBasePoint)
void setUcsIconAtOrigin()
OdDbObjectId getSheetView() const
bool isUcsIconAtOrigin() const
OdDb::RenderMode renderMode() const
void setGridBoundToLimits(bool bNewVal)
void setUcs(const OdGePoint3d &origin, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis)
void setFrontClipAtEyeOn()
bool isUcsOrthographic(OdDb::OrthographicView &viewType, const OdDbDatabase *pDb=0) const
void setLensLength(double lensLength)
double twistAngle() const
void setVisualStyle(const OdDbObjectId &visualStyle)
bool isGridBoundToLimits() const
double lensLength() const
bool isBackClipOn() const
bool isUcsFollowModeOn() const
void setAmbientLightColor(const OdCmColor &clr)
bool isFastZoomOn() const
OdDbObjectId background() const
void setBackClipDistance(double backClipDistance)
OdUInt16 gridMajor() const
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
void setTwistAngle(double twistAngle)
bool isNonRectClipOn() const
bool isLayerFrozenInViewport(const OdDbObjectId &layerId) const
void setRenderMode(OdDb::RenderMode renderMode)
bool isDefaultLightingOn() const
void thawLayersInViewport(const OdDbObjectIdArray &layerIds)
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
bool plotWireframe() const
void setUcs(const OdDbObjectId &ucsId)
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents)
void setToneOperatorParameters(const OdGiToneOperatorParameters ¶ms)
bool isFrontClipAtEyeOn() const
bool isUcsIconVisible() const