CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Gi
GiExtAccum.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
25
#ifndef __OD_GI_EXTACCUM__
26
#define __OD_GI_EXTACCUM__
27
28
#include "
Ge/GeExtents3d.h
"
29
#include "
Gi/GiConveyorNode.h
"
30
#include "
Gi/GiDeviation.h
"
31
32
#include "
TD_PackPush.h
"
33
39
class
ODGI_EXPORT
OdGiExtAccum
:
public
OdGiConveyorNode
40
{
41
public
:
42
ODRX_DECLARE_MEMBERS
(
OdGiExtAccum
);
43
48
virtual
void
setDrawContext
(
OdGiConveyorContext
* pDrawContext) = 0;
49
55
virtual
void
setDeviation
(
const
OdGeDoubleArray
& deviations) = 0;
56
62
virtual
void
setDeviation
(
const
OdGiDeviation
* pDeviation) = 0;
63
74
virtual
OdGiConveyorGeometry
&
geometry
() = 0;
75
83
virtual
bool
getExtents
(
OdGeExtents3d
& extents)
const
= 0;
84
89
virtual
void
resetExtents
(
const
OdGeExtents3d
& newExtents =
OdGeExtents3d
()) = 0;
90
95
virtual
void
addExtents
(
const
OdGeExtents3d
& extents) = 0;
96
103
virtual
bool
plineContainBulges
()
const
= 0;
104
117
static
void
textExtents
(
OdGiConveyorContext
* pDrawContext,
const
OdGiTextStyle
& textStyle,
118
const
OdChar
* pStr,
int
nLength,
OdUInt32
raw,
OdGePoint3d
& minExt,
119
OdGePoint3d
& maxExt,
OdGePoint3d
* pEndPos = NULL,
OdGeExtents3d
*pExactExtents = NULL);
120
};
121
125
typedef
OdSmartPtr<OdGiExtAccum>
OdGiExtAccumPtr
;
126
127
#include "
TD_PackPop.h
"
128
129
#endif
// __OD_GI_EXTACCUM__
OdGeDoubleArray
OdArray< double, OdMemoryAllocator< double > > OdGeDoubleArray
Definition
GeDoubleArray.h:35
GeExtents3d.h
GiConveyorNode.h
GiDeviation.h
ODGI_EXPORT
#define ODGI_EXPORT
Definition
GiExport.h:35
OdGiExtAccumPtr
OdSmartPtr< OdGiExtAccum > OdGiExtAccumPtr
Definition
GiExtAccum.h:125
OdUInt32
unsigned int OdUInt32
Definition
OdPlatformSettings.h:768
OdChar
wchar_t OdChar
Definition
OdPlatformSettings.h:714
TD_PackPop.h
TD_PackPush.h
OdGeExtents3d
Definition
GeExtents3d.h:45
OdGePoint3d
Definition
GePoint3d.h:57
OdGiConveyorContext
Definition
GiConveyorGeometry.h:55
OdGiConveyorGeometry
Definition
GiConveyorGeometry.h:515
OdGiConveyorNode::OdGiConveyorNode
OdGiConveyorNode()
OdGiDeviation
Definition
GiDeviation.h:44
OdGiExtAccum
Definition
GiExtAccum.h:40
OdGiExtAccum::setDrawContext
virtual void setDrawContext(OdGiConveyorContext *pDrawContext)=0
OdGiExtAccum::setDeviation
virtual void setDeviation(const OdGeDoubleArray &deviations)=0
OdGiExtAccum::addExtents
virtual void addExtents(const OdGeExtents3d &extents)=0
OdGiExtAccum::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiExtAccum)
OdGiExtAccum::setDeviation
virtual void setDeviation(const OdGiDeviation *pDeviation)=0
OdGiExtAccum::plineContainBulges
virtual bool plineContainBulges() const =0
OdGiExtAccum::getExtents
virtual bool getExtents(OdGeExtents3d &extents) const =0
OdGiExtAccum::resetExtents
virtual void resetExtents(const OdGeExtents3d &newExtents=OdGeExtents3d())=0
OdGiExtAccum::textExtents
static void textExtents(OdGiConveyorContext *pDrawContext, const OdGiTextStyle &textStyle, const OdChar *pStr, int nLength, OdUInt32 raw, OdGePoint3d &minExt, OdGePoint3d &maxExt, OdGePoint3d *pEndPos=NULL, OdGeExtents3d *pExactExtents=NULL)
OdGiExtAccum::geometry
virtual OdGiConveyorGeometry & geometry()=0
OdGiTextStyle
Definition
GiTextStyle.h:51
OdSmartPtr
Definition
SmartPtr.h:58
Generated on Tue Apr 15 2025 11:30:01