CFx SDK Documentation  2020SP3
DbViewport.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef _OD_DB_VIEWPORT_
25 #define _OD_DB_VIEWPORT_
26 
27 #include "TD_PackPush.h"
28 
29 #include "DbEntity.h"
30 #include "DbSymbolTable.h"
31 #include "ViewportDefs.h"
32 #include "DbXrefObjectId.h"
33 
34 #include "Gi/GiViewportTraits.h"
35 
36 class OdGeExtents3d;
37 class OdGeMatrix3d;
38 class OdGsView;
39 class OdDbSun;
40 
49 {
50 protected:
51  /* void dxfOutXData(OdDbDxfFiler* pFiler) const;
52  */
53 public:
55 
57 
67  double height() const;
68 
79  void setHeight(
80  double height);
81 
91  double width() const;
92 
103  void setWidth(
104  double width);
105 
110 
116  const OdGePoint3d& centerPoint);
117 
123  OdInt16 number() const;
124 
128  bool isOn() const;
129 
133  void setOn();
134 
138  void setOff();
139 
144 
150  const OdGePoint3d& viewTarget);
151 
156 
162  const OdGeVector3d& viewDirection);
163 
167  double viewHeight() const;
168 
174  double viewHeight);
175 
180 
186  const OdGePoint2d& viewCenter);
187 
194  double twistAngle() const;
195 
203  double twistAngle);
204 
208  double lensLength() const;
209 
215  double lensLength);
216 
220  bool isFrontClipOn() const;
221 
226 
231 
235  bool isBackClipOn() const;
236 
241 
246 
252  bool isFrontClipAtEyeOn() const;
253 
260 
265 
269  double frontClipDistance() const;
270 
276  double frontClipDistance);
277 
281  double backClipDistance() const;
282 
288  double backClipDistance);
289 
293  bool isPerspectiveOn() const;
294 
299 
304 
308  bool isUcsFollowModeOn() const;
309 
314 
319 
323  bool isUcsIconVisible() const;
324 
329 
334 
338  bool isUcsIconAtOrigin() const;
339 
344 
349 
353  bool isFastZoomOn() const;
354 
359 
364 
371 
377  OdUInt16 circleSides);
378 
382  bool isSnapOn() const;
383 
387  void setSnapOn();
388 
392  void setSnapOff();
393 
397  bool isSnapIsometric() const;
398 
403 
408 
412  double snapAngle() const;
413 
421  double snapAngle);
422 
427 
433  const OdGePoint2d& snapBasePoint);
434 
439 
445  const OdGeVector2d& snapIncrement);
446 
460 
475  OdUInt16 snapIsoPair);
476 
480  bool isGridOn() const;
481 
485  void setGridOn();
486 
490  void setGridOff();
491 
496 
502  const OdGeVector2d& gridIncrement);
503 
507  bool hiddenLinesRemoved() const;
508 
513 
518 
528  const OdDbObjectIdArray& layerIds);
529 
539  const OdDbObjectIdArray& layerIds);
540 
545 
551  const OdDbObjectId& layerId) const;
552 
558  OdDbObjectIdArray& layerIds) const;
559 
569  void updateDisplay() const;
570 
571 
573  OdGiDrawableTraits* pTraits) const;
574 
575  virtual bool subWorldDraw(
576  OdGiWorldDraw* pWd) const;
577 
581  bool isLocked() const;
582 
586  void setLocked();
587 
591  void setUnlocked();
592 
596  bool isTransparent() const;
597 
602 
606  void setOpaque();
607 
609  {
610  kScaleToFit, // Scaled to Fit
611  kCustomScale, // Scale is not a standard scale
612  k1_1, // 1:1
613  k1_2, // 1:2
614  k1_4, // 1:4
615  k1_5, // 1:5
616  k1_8, // 1:8
617  k1_10, // 1:10
618  k1_16, // 1:16
619  k1_20, // 1:20
620  k1_30, // 1:30
621  k1_40, // 1:40
622  k1_50, // 1:50
623  k1_100, // 1:100
624  k2_1, // 2:1
625  k4_1, // 4:1
626  k8_1, // 8:1
627  k10_1, // 10:1
628  k100_1, // 100:1
629  k1_128in_1ft, // 1/128"= 1'
630  k1_64in_1ft, // 1/64"= 1'
631  k1_32in_1ft, // 1/32"= 1'
632  k1_16in_1ft, // 1/16"= 1'
633  k3_32in_1ft, // 3/32"= 1'
634  k1_8in_1ft, // 1/8" = 1'
635  k3_16in_1ft, // 3/16"= 1'
636  k1_4in_1ft, // 1/4" = 1'
637  k3_8in_1ft, // 3/8" = 1'
638  k1_2in_1ft, // 1/2" = 1'
639  k3_4in_1ft, // 3/4" = 1'
640  k1in_1ft, // 1" = 1'
641  k1and1_2in_1ft, // 1 1/2"= 1'
642  k3in_1ft, // 3" = 1'
643  k6in_1ft, // 6" = 1'
644  k1ft_1ft // 1' = 1'
645  };
646 
648  {
649  kAsDisplayed = 0, // As displayed
650  kWireframe = 1, // Wireframe
651  kHidden = 2, // Hidden
652  kRendered = 3, // Rendered
653  kVisualStyle = 4, // Visual style
654  kRenderPreset = 5 // Render preset
655  };
656 
660  double customScale() const;
661 
667  double customScale);
668 
673 
679  const StandardScaleType standardScale);
680 
685 
690 
695  const OdString& plotStyleSheetName);
696 
700  bool isNonRectClipOn() const;
701 
706 
711 
716 
739  OdDbObjectId clipEntityId);
740 
741  /*
742  virtual void erased(const OdDbObject* , bool);
743  virtual void modified(const OdDbObject *);
744  virtual void copied(const OdDbObject* pDbObj,const OdDbObject* pNewObj);
745  virtual void subObjModified(const OdDbObject* pDbObj, const OdDbObject* pSubObj);
746  */
747 
755  void getUcs(OdGePoint3d& origin,
756  OdGeVector3d& xAxis,
757  OdGeVector3d& yAxis) const;
758 
783  OdDb::OrthographicView& viewType,
784  const OdDbDatabase* pDb = 0) const;
785 
790 
797  double elevation() const;
798 
806  void setUcs(
807  const OdGePoint3d& origin,
808  const OdGeVector3d& xAxis,
809  const OdGeVector3d& yAxis);
810 
831  void setUcs(
832  OdDb::OrthographicView viewType, const OdDbDatabase* pDb = 0);
833 
839  void setUcs(
840  const OdDbObjectId& ucsId);
841 
846 
854  double elevation);
855 
856  /*
857  bool isViewOrthographic(OdDb::OrthographicView& view) const;
858 
859  void setViewDirection(OdDb::OrthographicView view);
860  */
861 
867 
875  bool ucsPerViewport);
876 
896  OdDb::RenderMode renderMode);
897 
917 
925 
934  const ShadePlotType shadePlot);
935 
936  // New in R21 functions
937 
939 
948  void setShadePlot(const ShadePlotType type, const OdDbObjectId& shadePlotId);
949 
950  bool plotWireframe() const;
951  bool plotAsRaster() const;
952 
954  void setBackground(const OdDbObjectId& backgroundId);
955 
956  // Visual Styles
957 
959  void setVisualStyle(const OdDbObjectId& visualStyle);
960 
961  // Viewport Lighting
962 
963  bool isDefaultLightingOn() const;
964  void setDefaultLightingOn(bool on);
967 
968  // Brightness controls the relative intensity of lights.
969 
970  double brightness() const;
971  void setBrightness(double);
972 
973  // Contrast controls intensity of ambient light, relative to other lights.
974 
975  double contrast() const;
976  void setContrast(double);
977 
979  void setAmbientLightColor(const OdCmColor& clr);
980 
981  // A single sun (distant light) can be associated with each viewport.
982 
985 
988 
991 
992  bool isGridBoundToLimits() const;
993  void setGridBoundToLimits(bool bNewVal);
994 
995  bool isGridAdaptive() const;
996  void setGridAdaptive(bool bNewVal);
997 
999  void setGridSubdivisionRestricted(bool bNewVal);
1000 
1001  bool isGridFollow() const;
1002  void setGridFollow(bool bNewVal);
1003 
1006 
1007  // View association methods
1008 
1009  void setModelView(const OdDbXrefObjectId &objId);
1013 
1014  void setSheetView(const OdDbObjectId &objId);
1017 
1018  void setLabelBlock(const OdDbObjectId objId);
1021 
1022  // OdGsView association methods
1023 
1024  OdGsView* gsView() const;
1026 
1027  // OdDbEntity overrides
1028 
1030  OdDbDatabase* pDb,
1031  bool doSubents);
1032 
1034  OdDbDwgFiler* pFiler);
1035 
1036  virtual void dwgOutFields(
1037  OdDbDwgFiler* pFiler) const;
1038 
1040  OdDbDxfFiler* pFiler);
1041 
1042  virtual void dxfOutFields(
1043  OdDbDxfFiler* pFiler) const;
1044 
1046  OdDbDxfFiler* pFiler);
1047 
1048  virtual void dxfOutFields_R12(
1049  OdDbDxfFiler* pFiler) const;
1050 
1052  void* pClsid) const;
1053 
1054  void subClose();
1055 
1057  bool erasing);
1058 
1063  void zoomExtents();
1064 
1066  OdGeExtents3d& extents) const;
1067 
1069  const OdGeMatrix3d& xfm) ODRX_OVERRIDE;
1070 
1071  void modified(const OdDbObject* pObj);
1072 
1073  void erased(const OdDbObject* pObj, bool pErasing);
1074 
1075  virtual OdResult subGetTransformedCopy(const OdGeMatrix3d& mat, OdDbEntityPtr& pCopy) const;
1076 
1077  virtual OdResult explodeGeometry(OdRxObjectPtrArray& entitySet) const;
1078 };
1079 
1084 
1085 #include "TD_PackPop.h"
1086 
1087 #endif
OdDbViewport::getLabelBlock
OdDbObjectId getLabelBlock() const
OdDbViewport::plotAsRaster
bool plotAsRaster() const
OdDbViewport::setShadePlot
void setShadePlot(const ShadePlotType shadePlot)
OdResult
OdResult
Definition: OdResult.h:29
OdDbViewport::k1_16
@ k1_16
Definition: DbViewport.h:618
OdDbViewport::getFrozenLayerList
void getFrozenLayerList(OdDbObjectIdArray &layerIds) const
OdDbViewport::removeModelView
void removeModelView()
OdDbViewport::width
double width() const
OdDbViewport::setSnapAngle
void setSnapAngle(double snapAngle)
OdGeVector3d
Definition: GeVector3d.h:54
OdString
Definition: OdString.h:95
OdDbDatabase
Definition: DbDatabase.h:421
OdDbViewport::isGridFollow
bool isGridFollow() const
OdDbViewport::setSnapOn
void setSnapOn()
OdDbViewport::setUcsIconInvisible
void setUcsIconInvisible()
OdDbViewport::gsView
OdGsView * gsView() const
OdDbViewport::setViewTarget
void setViewTarget(const OdGePoint3d &viewTarget)
OdDbViewport::setGridOff
void setGridOff()
OdDbViewport::k6in_1ft
@ k6in_1ft
Definition: DbViewport.h:643
OdDbViewport::circleSides
OdUInt16 circleSides() const
OdDbViewport::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbViewport)
OdDbViewport::visualStyle
OdDbObjectId visualStyle() const
OdDbViewport::showHiddenLines
void showHiddenLines()
OdDbViewport::viewCenter
OdGePoint2d viewCenter() const
OdDbViewport::isGridAdaptive
bool isGridAdaptive() const
OdDbViewport::setModelView
void setModelView(const OdDbXrefObjectId &objId)
OdDbViewport::setSnapIsometric
void setSnapIsometric()
OdDbViewport::thawAllLayersInViewport
void thawAllLayersInViewport()
OdDbViewport::setDefaultLightingOn
void setDefaultLightingOn(bool on)
OdGsView
Definition: Gs.h:133
OdDbViewport::explodeGeometry
virtual OdResult explodeGeometry(OdRxObjectPtrArray &entitySet) const
OdDbViewport::setBrightness
void setBrightness(double)
OdDbViewport::setAnnotationScale
OdResult setAnnotationScale(const OdDbAnnotationScale *pScaleObj)
OdDbViewport::kCustomScale
@ kCustomScale
Definition: DbViewport.h:611
OdDbViewport::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdDbViewport::setCenterPoint
void setCenterPoint(const OdGePoint3d &centerPoint)
OdDbViewport::k3in_1ft
@ k3in_1ft
Definition: DbViewport.h:642
GiViewportTraits.h
OdDbViewport::k1_5
@ k1_5
Definition: DbViewport.h:615
OdDbViewport::OdDbViewport
OdDbViewport()
OdDbViewport::sunId
OdDbObjectId sunId() const
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdDbViewport::subSetAttributes
virtual OdUInt32 subSetAttributes(OdGiDrawableTraits *pTraits) const
OdDbViewport::snapIncrement
OdGeVector2d snapIncrement() const
OdDbViewport::modified
void modified(const OdDbObject *pObj)
OdDbViewport::removeSheetView
void removeSheetView()
OdDbViewport::getUcs
void getUcs(OdGePoint3d &origin, OdGeVector3d &xAxis, OdGeVector3d &yAxis) const
OdDbObjectId
Definition: DbObjectId.h:99
OdDbViewport::shadePlot
ShadePlotType shadePlot() const
OdDbViewport::setUcsPerViewport
void setUcsPerViewport(bool ucsPerViewport)
OdDbViewport::setCustomScale
void setCustomScale(double customScale)
OdDbViewport::setContrast
void setContrast(double)
OdDbViewport::setFastZoomOn
void setFastZoomOn()
OdDbViewport::setGridMajor
void setGridMajor(OdUInt16)
OdDbViewport::setSheetView
void setSheetView(const OdDbObjectId &objId)
OdDbViewport::setStandardScale
void setStandardScale(const StandardScaleType standardScale)
OdDbViewport::setUnlocked
void setUnlocked()
OdDbViewport::freezeLayersInViewport
void freezeLayersInViewport(const OdDbObjectIdArray &layerIds)
OdDbViewport::viewDirection
OdGeVector3d viewDirection() const
OdDbViewport::height
double height() const
OdDbViewport::ShadePlotType
ShadePlotType
Definition: DbViewport.h:648
OdDbViewport::setOn
void setOn()
OdDbViewport::subTransformBy
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
OdDbViewport::isTransparent
bool isTransparent() const
OdDbViewport::k3_4in_1ft
@ k3_4in_1ft
Definition: DbViewport.h:639
OdDbViewport::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbViewport::setPlotStyleSheet
void setPlotStyleSheet(const OdString &plotStyleSheetName)
OdDbViewport::toneOperatorParameters
void toneOperatorParameters(OdGiToneOperatorParameters &params) const
OdArray< OdDbObjectId, OdMemoryAllocator< OdDbObjectId > >
OdDbViewport::setSun
OdDbObjectId setSun(OdDbSun *pSun)
OdDbViewport::setNonRectClipEntityId
void setNonRectClipEntityId(OdDbObjectId clipEntityId)
OdDbViewport::gridIncrement
OdGeVector2d gridIncrement() const
TD_PackPop.h
OdDbViewport::viewHeight
double viewHeight() const
OdDbViewport::setUcsToWorld
void setUcsToWorld()
OdUInt16
unsigned short OdUInt16
Definition: OdPlatformSettings.h:760
OdDbViewport::k1_64in_1ft
@ k1_64in_1ft
Definition: DbViewport.h:630
OdDbViewport::k1_2
@ k1_2
Definition: DbViewport.h:613
OdDbViewport::centerPoint
OdGePoint3d centerPoint() const
OdDbViewport::isFrontClipOn
bool isFrontClipOn() const
OdDbViewport::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbViewport::setUcsFollowModeOff
void setUcsFollowModeOff()
OdDbViewport::setGsView
void setGsView(OdGsView *)
OdDbViewport::setGridSubdivisionRestricted
void setGridSubdivisionRestricted(bool bNewVal)
OdDbViewport::setCircleSides
void setCircleSides(OdUInt16 circleSides)
OdDbViewportPtr
OdSmartPtr< OdDbViewport > OdDbViewportPtr
Definition: DbViewport.h:1083
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdInt16
short OdInt16
Definition: OdPlatformSettings.h:756
OdDbViewport::isSnapIsometric
bool isSnapIsometric() const
OdDbViewport::setFastZoomOff
void setFastZoomOff()
OdDbViewport::setOff
void setOff()
OdDbViewport::setViewHeight
void setViewHeight(double viewHeight)
OdDbViewport::setLabelBlock
void setLabelBlock(const OdDbObjectId objId)
OdDbViewport::setSnapIncrement
void setSnapIncrement(const OdGeVector2d &snapIncrement)
OdDbViewport::dxfInFields_R12
virtual OdResult dxfInFields_R12(OdDbDxfFiler *pFiler)
OdDbViewport::getModelView
OdDbXrefObjectId getModelView() const
OdDbViewport::annotationScale
OdDbAnnotationScalePtr annotationScale() const
OdDbViewport::subErase
OdResult subErase(bool erasing)
OdDbViewport::updateDisplay
void updateDisplay() const
OdDbViewport::k1_128in_1ft
@ k1_128in_1ft
Definition: DbViewport.h:629
OdDbViewport::k1_30
@ k1_30
Definition: DbViewport.h:620
OdDbViewport::setFrontClipAtEyeOff
void setFrontClipAtEyeOff()
OdDbViewport::setUcsIconAtCorner
void setUcsIconAtCorner()
OdDbViewport::setFrontClipOff
void setFrontClipOff()
OdDbViewport::setShadePlot
void setShadePlot(const ShadePlotType type, const OdDbObjectId &shadePlotId)
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDbViewport::setElevation
void setElevation(double elevation)
DbEntity.h
OdDbViewport::snapBasePoint
OdGePoint2d snapBasePoint() const
OdDbViewport::removeHiddenLines
void removeHiddenLines()
OdDbViewport::setUcsIconVisible
void setUcsIconVisible()
OdDbViewport::setBackground
void setBackground(const OdDbObjectId &backgroundId)
OdDbViewport::k1_10
@ k1_10
Definition: DbViewport.h:617
OdDbViewport::k10_1
@ k10_1
Definition: DbViewport.h:627
OdDbViewport::setGridFollow
void setGridFollow(bool bNewVal)
OdDbViewport::isSnapOn
bool isSnapOn() const
OdDbViewport::plotStyleSheet
OdString plotStyleSheet() const
OdDbViewport::frontClipDistance
double frontClipDistance() const
OdDbViewport::k1_4
@ k1_4
Definition: DbViewport.h:614
OdDbViewport::setGridIncrement
void setGridIncrement(const OdGeVector2d &gridIncrement)
OdDbViewport::k3_32in_1ft
@ k3_32in_1ft
Definition: DbViewport.h:633
OdDbViewport::dxfOutFields_R12
virtual void dxfOutFields_R12(OdDbDxfFiler *pFiler) const
OdDbViewport::setFrontClipOn
void setFrontClipOn()
OdDbViewport::nonRectClipEntityId
OdDbObjectId nonRectClipEntityId() const
OdDbViewport::setWidth
void setWidth(double width)
OdDbViewport::setNonRectClipOn
void setNonRectClipOn()
OdDbViewport::isPerspectiveOn
bool isPerspectiveOn() const
OdDbViewport::setFrontClipDistance
void setFrontClipDistance(double frontClipDistance)
height
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110
OdDbViewport::k1_16in_1ft
@ k1_16in_1ft
Definition: DbViewport.h:632
width
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbViewport
Definition: DbViewport.h:49
OdDbViewport::setHeight
void setHeight(double height)
OdGeVector2d
Definition: GeVector2d.h:51
OdDbViewport::snapIsoPair
OdUInt16 snapIsoPair() const
OdDbViewport::contrast
double contrast() const
OdDbViewport::k1_40
@ k1_40
Definition: DbViewport.h:621
OdDbViewport::k1_2in_1ft
@ k1_2in_1ft
Definition: DbViewport.h:638
OdDb::RenderMode
RenderMode
Definition: ViewportDefs.h:46
OdDbViewport::shadePlotId
OdDbObjectId shadePlotId() const
OdDbViewport::isUcsSavedWithViewport
bool isUcsSavedWithViewport() const
OdDbViewport::brightness
double brightness() const
OdDbViewport::ucsName
OdDbObjectId ucsName() const
OdDbViewport::defaultLightingType
OdGiViewportTraits::DefaultLightingType defaultLightingType() const
TD_PackPush.h
OdDbAnnotationScale
Definition: DbAnnotationScale.h:52
OdDbViewport::setBackClipOff
void setBackClipOff()
OdDbViewport::subGetTransformedCopy
virtual OdResult subGetTransformedCopy(const OdGeMatrix3d &mat, OdDbEntityPtr &pCopy) const
OdGiToneOperatorParameters
Definition: GiViewportTraits.h:40
OdDbViewport::snapAngle
double snapAngle() const
OdDbViewport::backClipDistance
double backClipDistance() const
OdDbViewport::setPerspectiveOff
void setPerspectiveOff()
OdDbViewport::setSnapIsoPair
void setSnapIsoPair(OdUInt16 snapIsoPair)
OdDbViewport::setUcs
void setUcs(OdDb::OrthographicView viewType, const OdDbDatabase *pDb=0)
OdDbViewport::k1_50
@ k1_50
Definition: DbViewport.h:622
OdDbViewport::ambientLightColor
OdCmColor ambientLightColor() const
params
GLenum GLint * params
Definition: gles2_ext.h:184
OdDb::OrthographicView
OrthographicView
Definition: ViewportDefs.h:35
OdDbViewport::setLocked
void setLocked()
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbViewport::setGridOn
void setGridOn()
OdDbViewport::elevation
double elevation() const
PDF3D_ENUMS::kWireframe
@ kWireframe
Definition: Pdf3dEnums.h:61
OdDbViewport::setViewCenter
void setViewCenter(const OdGePoint2d &viewCenter)
OdDbEntity
Definition: DbEntity.h:90
OdDbViewport::effectivePlotStyleSheet
OdString effectivePlotStyleSheet() const
OdDbViewport::customScale
double customScale() const
OdDbViewport::k1_8in_1ft
@ k1_8in_1ft
Definition: DbViewport.h:634
OdDbViewport::kScaleToFit
@ kScaleToFit
Definition: DbViewport.h:610
OdDbViewport::subGetClassID
virtual OdResult subGetClassID(void *pClsid) const
OdDbViewport::setTransparent
void setTransparent()
OdDbViewport::erased
void erased(const OdDbObject *pObj, bool pErasing)
OdDbViewport::setGridAdaptive
void setGridAdaptive(bool bNewVal)
OdDbViewport::isGridSubdivisionRestricted
bool isGridSubdivisionRestricted() const
OdDbViewport::standardScale
StandardScaleType standardScale() const
OdGiDrawableTraits
Definition: Gi.h:71
OdDbViewport::viewTarget
OdGePoint3d viewTarget() const
OdDbViewport::setDefaultLightingType
void setDefaultLightingType(OdGiViewportTraits::DefaultLightingType typ)
OdDbViewport::setViewDirection
void setViewDirection(const OdGeVector3d &viewDirection)
OdDbViewport::setBackClipOn
void setBackClipOn()
OdDbViewport::k100_1
@ k100_1
Definition: DbViewport.h:628
DbSymbolTable.h
OdGeExtents3d
Definition: GeExtents3d.h:45
OdDbXrefObjectId
Definition: DbXrefObjectId.h:38
OdDbViewport::hiddenLinesRemoved
bool hiddenLinesRemoved() const
OdDbViewport::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbViewport::setUcsFollowModeOn
void setUcsFollowModeOn()
OdDbSun
Definition: DbSun.h:40
OdDbViewport::setSnapBasePoint
void setSnapBasePoint(const OdGePoint2d &snapBasePoint)
OdDbViewport::k1_1
@ k1_1
Definition: DbViewport.h:612
OdDbViewport::setUcsIconAtOrigin
void setUcsIconAtOrigin()
OdDbViewport::getSheetView
OdDbObjectId getSheetView() const
OdDbViewport::isUcsIconAtOrigin
bool isUcsIconAtOrigin() const
OdDbViewport::renderMode
OdDb::RenderMode renderMode() const
OdDbViewport::setGridBoundToLimits
void setGridBoundToLimits(bool bNewVal)
OdDbViewport::k1and1_2in_1ft
@ k1and1_2in_1ft
Definition: DbViewport.h:641
OdDbViewport::k1_32in_1ft
@ k1_32in_1ft
Definition: DbViewport.h:631
OdDbViewport::k1_100
@ k1_100
Definition: DbViewport.h:623
DbXrefObjectId.h
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbViewport::setUcs
void setUcs(const OdGePoint3d &origin, const OdGeVector3d &xAxis, const OdGeVector3d &yAxis)
ODRX_OVERRIDE
#define ODRX_OVERRIDE
Definition: OdPlatformSettings.h:114
OdDbViewport::isOn
bool isOn() const
OdDbViewport::setFrontClipAtEyeOn
void setFrontClipAtEyeOn()
OdDbViewport::k1_4in_1ft
@ k1_4in_1ft
Definition: DbViewport.h:636
OdDbViewport::isUcsOrthographic
bool isUcsOrthographic(OdDb::OrthographicView &viewType, const OdDbDatabase *pDb=0) const
OdDbViewport::k1_20
@ k1_20
Definition: DbViewport.h:619
OdDbViewport::setLensLength
void setLensLength(double lensLength)
OdDbViewport::twistAngle
double twistAngle() const
OdDbViewport::setVisualStyle
void setVisualStyle(const OdDbObjectId &visualStyle)
OdDbViewport::isGridBoundToLimits
bool isGridBoundToLimits() const
OdDbViewport::syncModelView
OdResult syncModelView()
OdDbViewport::lensLength
double lensLength() const
OdDbViewport::isBackClipOn
bool isBackClipOn() const
OdDbViewport::isUcsFollowModeOn
bool isUcsFollowModeOn() const
OdDbViewport::k3_16in_1ft
@ k3_16in_1ft
Definition: DbViewport.h:635
OdDbViewport::setAmbientLightColor
void setAmbientLightColor(const OdCmColor &clr)
OdDbViewport::subClose
void subClose()
OdGiViewportTraits::DefaultLightingType
DefaultLightingType
Definition: GiViewportTraits.h:181
OdCmColor
Definition: CmColor.h:59
OdDbViewport::k1in_1ft
@ k1in_1ft
Definition: DbViewport.h:640
OdDbViewport::number
OdInt16 number() const
OdDbViewport::isFastZoomOn
bool isFastZoomOn() const
OdDbViewport::setSnapStandard
void setSnapStandard()
OdDbViewport::background
OdDbObjectId background() const
ViewportDefs.h
OdDbViewport::StandardScaleType
StandardScaleType
Definition: DbViewport.h:609
OdDbViewport::setNonRectClipOff
void setNonRectClipOff()
OdDbViewport::setSnapOff
void setSnapOff()
OdDbViewport::setBackClipDistance
void setBackClipDistance(double backClipDistance)
OdDbViewport::gridMajor
OdUInt16 gridMajor() const
OdDbViewport::isGridOn
bool isGridOn() const
OdDbViewport::subWorldDraw
virtual bool subWorldDraw(OdGiWorldDraw *pWd) const
OdDbObject
Definition: DbObject.h:211
OdDbDwgFiler
Definition: DbFiler.h:1031
OdDbViewport::k4_1
@ k4_1
Definition: DbViewport.h:625
OdDbViewport::setTwistAngle
void setTwistAngle(double twistAngle)
OdDbViewport::isNonRectClipOn
bool isNonRectClipOn() const
OdDbViewport::isLayerFrozenInViewport
bool isLayerFrozenInViewport(const OdDbObjectId &layerId) const
OdDbViewport::setRenderMode
void setRenderMode(OdDb::RenderMode renderMode)
OdDbViewport::k8_1
@ k8_1
Definition: DbViewport.h:626
OdDbViewport::setPerspectiveOn
void setPerspectiveOn()
OdDbViewport::isDefaultLightingOn
bool isDefaultLightingOn() const
OdDbViewport::k3_8in_1ft
@ k3_8in_1ft
Definition: DbViewport.h:637
OdDbViewport::removeLabelBlock
void removeLabelBlock()
OdDbViewport::thawLayersInViewport
void thawLayersInViewport(const OdDbObjectIdArray &layerIds)
OdDbViewport::subGetGeomExtents
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
OdDbViewport::plotWireframe
bool plotWireframe() const
OdDbViewport::k1_8
@ k1_8
Definition: DbViewport.h:616
OdDbViewport::setUcs
void setUcs(const OdDbObjectId &ucsId)
OdDbViewport::k2_1
@ k2_1
Definition: DbViewport.h:624
OdDbViewport::subSetDatabaseDefaults
virtual void subSetDatabaseDefaults(OdDbDatabase *pDb, bool doSubents)
OdDbViewport::setToneOperatorParameters
void setToneOperatorParameters(const OdGiToneOperatorParameters &params)
OdDbViewport::isFrontClipAtEyeOn
bool isFrontClipAtEyeOn() const
OdDbViewport::setOpaque
void setOpaque()
OdDbViewport::zoomExtents
void zoomExtents()
OdDbViewport::isLocked
bool isLocked() const
OdGePoint2d
Definition: GePoint2d.h:60
OdDbViewport::isUcsIconVisible
bool isUcsIconVisible() const