CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
DbSectionHLRHelper.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 _SECTIONHLRHELPER_EXPORT_DEFINED
25#define _SECTIONHLRHELPER_EXPORT_DEFINED
26
27#include "RxObject.h"
28#include "DbObjectId.h"
29
30class OdDbDatabase;
31
37
44class DBENT_EXPORT OdDbSectionHLRHelper : public OdRxObject
45{
46public:
48
52 virtual OdDbDatabase* database() const = 0;
53
65 virtual OdResult setProjectionPlane(const OdGePoint3d& ptBase, const OdGeVector3d& vrDir, const OdGeVector3d& vrUp) = 0;
66
70 virtual OdGePoint3d projectionBase() const = 0;
71
75 virtual OdGeVector3d projectionDirection() const = 0;
76
80 virtual OdGeVector3d projectionUp() const = 0;
81
85 virtual bool includeTangentalEdgesFlag() const = 0;
86
90 virtual void setIncludeTangentalEdgesFlag( bool bSet) = 0;
91
97 virtual void setTangentalEdgesAngle(double dAngle) = 0;
98
108 virtual OdResult setEntities(const OdDbObjectIdArray& arr3dObjects) = 0;
109
113 virtual const OdArray<OdDbObjectId>& getEntities() const = 0;
114
118 virtual OdGeExtents3d getExtents() const = 0;
119
129 virtual OdResult createSectionHLR(bool bCreateSection, bool bCreateHiddenLines ) = 0;
130
139 virtual bool getSectionHatches( OdRxObjectPtrArray& arrHatches ) const = 0;
140
149 virtual bool getHiddenLines( OdRxObjectPtrArray& arrHiddenLines ) const = 0;
150
159 virtual bool getVisibleLines( OdRxObjectPtrArray& arrVisibleLines ) const = 0;
160
167 static bool isEntitySupported(const OdDbEntity* pEntity);
168
175
181 static double getDefaultTangentAngle();
182};
183
184//====================================================================================================
185
186#endif /* _SECTIONHLRHELPER_EXPORT_DEFINED */
#define DBENT_EXPORT
Definition DbExport.h:67
OdSmartPtr< OdDbSectionHLRHelper > OdDbSectionHLRHelperPtr
OdArray< OdDbObjectId, OdClrMemAllocator< OdDbObjectId > > OdDbObjectIdArray
Definition IdArrays.h:53
OdResult
Definition OdResult.h:29
OdArray< OdRxObjectPtr > OdRxObjectPtrArray
Definition RxObject.h:1196
virtual bool includeTangentalEdgesFlag() const =0
static bool isEntitySupported(const OdDbEntity *pEntity)
virtual OdGeVector3d projectionDirection() const =0
virtual void setTangentalEdgesAngle(double dAngle)=0
virtual OdGePoint3d projectionBase() const =0
virtual OdResult setEntities(const OdDbObjectIdArray &arr3dObjects)=0
virtual OdResult setProjectionPlane(const OdGePoint3d &ptBase, const OdGeVector3d &vrDir, const OdGeVector3d &vrUp)=0
virtual OdDbDatabase * database() const =0
static double getDefaultTangentAngle()
ODRX_DECLARE_MEMBERS(OdDbSectionHLRHelper)
virtual bool getSectionHatches(OdRxObjectPtrArray &arrHatches) const =0
virtual void setIncludeTangentalEdgesFlag(bool bSet)=0
virtual bool getHiddenLines(OdRxObjectPtrArray &arrHiddenLines) const =0
virtual const OdArray< OdDbObjectId > & getEntities() const =0
virtual OdGeVector3d projectionUp() const =0
virtual OdResult createSectionHLR(bool bCreateSection, bool bCreateHiddenLines)=0
static OdDbSectionHLRHelperPtr createObject(OdDbDatabase *pDb)
virtual bool getVisibleLines(OdRxObjectPtrArray &arrVisibleLines) const =0
virtual OdGeExtents3d getExtents() const =0