CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GiSectionGeometry.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_GI_SECTION_SEOMETRY_MAP_H__
25#define __OD_GI_SECTION_SEOMETRY_MAP_H__
26
27#include "Gi/GiExport.h"
28#include "Ge/GeMatrix3d.h"
29#include "Ge/GePoint3dArray.h"
30#include "Gi/GiPathNode.h"
32#include "RxObject.h"
33
140
148class ODGI_EXPORT OdGiSectionGeometryMap : public OdRxObject
149{
150 public:
156 virtual OdGiSectionGeometry* getAt(OdGiDrawable& section, const OdGiPathNode* path,
157 const OdGiDrawable& drawable, const OdGeMatrix3d& tf) = 0;
158 virtual void clear() = 0;
159};
160
169
178{
179 public:
187 virtual OdDbStub* getLiveSection(const OdDbStub* layoutId, OdDbStub*& sectionSettingsId) const = 0;
188 virtual OdGiDrawablePtr createLiveSection(OdDbBaseDatabase *pDb, OdDbStub *visualStyleId,
189 const OdGePoint3dArray &points, const OdGeVector3d &verticalDir,
190 const double *dTop = NULL, const double *dBottom = NULL) const = 0;
191 virtual bool isLiveSection(const OdGiDrawable* pDrawable) const = 0;
193 const OdGiDrawable& drawable,
194 const OdGeMatrix3d& xform,
196 bool* bHasForeground) const = 0;
198 virtual int classifyExtentsRelativelySection(const OdGiDrawable* pDrawable, const OdGeExtents3d& ext) const = 0;
199};
200
205
206#endif // __OD_GI_SECTION_SEOMETRY_MAP_H__
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > > OdGePoint3dArray
OdRxObject OdDbBaseDatabase
OdSmartPtr< OdGiSectionGeometryManager > OdGiSectionGeometryManagerPtr
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
OdArray< OdGiDrawablePtr > OdGiDrawablePtrArray
#define ODGI_EXPORT
Definition GiExport.h:35
OdSmartPtr< OdGiSectionGeometryMap > OdGiSectionGeometryMapPtr
const OdGiDrawablePtrArray & foregroundEnts() const
const OdGiDrawablePtrArray & intBoundaryEnts() const
OdGiDrawablePtrArray & intBoundaryEnts()
OdGiDrawablePtrArray & foregroundEnts()
const OdGiDrawablePtrArray & backgroundEnts() const
OdGiDrawablePtrArray & intFillEnts()
OdGiDrawablePtrArray m_backgroundEnts
int foregroundEdgeTransparency() const
OdGiDrawablePtrArray & backgroundEnts()
const OdGiDrawablePtrArray & intFillEnts() const
OdGiDrawablePtrArray m_intBoundaryEnts
void setForegroundTransparency(int faceTransp, int edgeTransp)
OdGiDrawablePtrArray m_foregroundEnts
int foregroundFaceTransparency() const
OdGiDrawablePtrArray m_intFillEnts
virtual bool generateSectionGeometry(OdGiDrawable &section, const OdGiDrawable &drawable, const OdGeMatrix3d &xform, OdGiSectionGeometry &geom, bool *bHasForeground) const =0
virtual int classifyExtentsRelativelySection(const OdGiDrawable *pDrawable, const OdGeExtents3d &ext) const =0
virtual OdGiDrawablePtr createLiveSection(OdDbBaseDatabase *pDb, OdDbStub *visualStyleId, const OdGePoint3dArray &points, const OdGeVector3d &verticalDir, const double *dTop=NULL, const double *dBottom=NULL) const =0
ODRX_DECLARE_MEMBERS(OdGiSectionGeometryManager)
virtual OdDbStub * getLiveSection(const OdDbStub *layoutId, OdDbStub *&sectionSettingsId) const =0
virtual bool isLiveSection(const OdGiDrawable *pDrawable) const =0
virtual OdGiSectionGeometryMapPtr createSectionGeometryMap()=0
virtual OdGiSectionGeometry * getAt(OdGiDrawable &section, const OdGiPathNode *path, const OdGiDrawable &drawable, const OdGeMatrix3d &tf)=0
ODRX_DECLARE_MEMBERS(OdGiSectionGeometryMap)
virtual void clear()=0