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