CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbDetailSymbol.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2024 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_DETAILSYMBOL_H
25#define OD_DETAILSYMBOL_H
26
27#include "DbViewSymbol.h"
28#include "DbDetailViewStyle.h"
29#include "TD_PackPush.h"
30
38{
39public:
41
47
52 {
53 kCircularBoundary, // Circular boundary
54 kRectangularBoundary, // Rectangular boundary
55 kCustomBoundary // Custom boundary type
56 };
57
58
63 {
64 kNone = 0, // No properties are overridden
65 kModelEdge = 0x1, // Indicates the model edge type of the corresponding OdDbDetailViewStyle object has been overridden.
66 kIdentifierPosition = 0x1 << 1 // Indicates the identifier placement of the corresponding OdDbDetailViewStyle object has been overridden.
67 };
68
73
78
86
90 bool displayIdentifier() const;
91
92
97
101 const OdGeVector3d direction() const;
102
107
112
116 double owningViewScale() const;
117
121 double detailViewScale() const;
122
127
135
142
143 // Methods to use internal only :
144
148
149 OdResult setDetailViewScale( double viewScale );
150 OdResult setOwningViewScale( double viewScale );
151
153
157
159
162
164
165protected:
169 virtual void modified(const OdDbObject* pObject) ODRX_OVERRIDE;
170
171 // OdDbObject methods :
173 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const ODRX_OVERRIDE;
175 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const ODRX_OVERRIDE;
176
177 // OdGiDrawable methods :
178 virtual bool subWorldDraw(OdGiWorldDraw* pWorldDraw) const ODRX_OVERRIDE;
179
181
182 virtual void subSetDatabaseDefaults(OdDbDatabase* db, bool doSubents) ODRX_OVERRIDE;
183
184};
185
190
191#include "TD_PackPop.h"
192
193#endif // OD_DETAILSYMBOL_H
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > > OdGePoint3dArray
OdSmartPtr< OdDbDetailSymbol > OdDbDetailSymbolPtr
#define MODELDOCOBJ_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition OdResult.h:29
OdResult resetIdentifierPosition()
double owningViewScale() const
OdResult setDisplayIdentifier(const bool displayIdentifier)
OdGePoint3d origin() const
OdResult modelEdgeBorderExtents(OdGeExtents3d &extents) const
const OdGeVector3d & modelEdgeDirection() const
OdResult setOwningViewScale(double viewScale)
virtual void modified(const OdDbObject *pObject) ODRX_OVERRIDE
virtual bool subWorldDraw(OdGiWorldDraw *pWorldDraw) const ODRX_OVERRIDE
OdResult setOrigin(const OdGePoint3d &pt)
OdResult initializeIdentifierPositionAt(const OdGePoint3d &pt)
OdResult setDetailViewScale(double viewScale)
const OdGePoint3d & modelEdgeOrigin() const
bool isOverriddenProperty(OdDbDetailSymbol::OverriddenProperty property) const
OdResult setModelEdgeDirection(const OdGeVector3d &dir)
ODDB_DECLARE_MEMBERS(OdDbDetailSymbol)
double detailViewScale() const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler) ODRX_OVERRIDE
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler) ODRX_OVERRIDE
virtual void subSetDatabaseDefaults(OdDbDatabase *db, bool doSubents) ODRX_OVERRIDE
OdDbDetailViewStyle::ModelEdge modelEdgeType() const
virtual OdResult subTransformBy(const OdGeMatrix3d &xfm) ODRX_OVERRIDE
OdResult setModelEdgeOrigin(const OdGePoint3d &pt)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const ODRX_OVERRIDE
OdResult setBoundarySize(const OdGeVector2d &size)
BoundaryType boundaryType() const
OdResult setIdentifierPosition(const OdGePoint3d &pt)
const OdGeVector2d & boundarySize() const
bool displayIdentifier() const
OdResult setModelEdgeType(OdDbDetailViewStyle::ModelEdge modelEdgeType)
const OdGeVector3d direction() const
OdResult setBoundaryType(OdDbDetailSymbol::BoundaryType bndType)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const ODRX_OVERRIDE
OdGePoint3d identifierPosition() const
OdResult setPickPoints(const OdGePoint3dArray &pickPoints)
GLsizeiptr size
Definition gles2_ext.h:182