CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Gi
GiDrawableSelectPE.h
Go to the documentation of this file.
1
2
// Copyright (C) 2002-2022, 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-2022 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 __ODDRAWABLESELECTPE_H__
25
#define __ODDRAWABLESELECTPE_H__
/* { Secret} **/
26
27
#include "
RxObject.h
"
28
#include "
GiDrawable.h
"
29
#include "
GiPathNode.h
"
30
#include "
Gs/Gs.h
"
31
#include "
Int64Array.h
"
32
33
#include "
TD_PackPush.h
"
34
47
class
OdGiDrawablePESelectionReactor
48
{
49
public
:
50
51
enum
52
{
53
kNotImplemented
= 0x80000000,
54
kContinue
= 0,
55
kBreak
= 1,
56
};
57
72
virtual
OdUInt32
selected
(
OdGsMarker
offset
,
double
depth)
73
{
74
return
OdUInt32
(
kNotImplemented
);
75
}
76
83
virtual
OdUInt32
hasOutOfSelection
()
84
{
85
return
OdUInt32
(
kNotImplemented
);
86
}
87
};
88
97
class
FIRSTDLL_EXPORT
OdGiDrawableSelectPE
:
public
OdRxObject
98
{
99
protected
:
100
OdGiDrawableSelectPE
();
101
public
:
102
103
ODRX_DECLARE_MEMBERS
(
OdGiDrawableSelectPE
);
104
118
virtual
bool
canSelect
(
const
OdGiPathNode
& pathNode,
OdGsMarker
& nMarkersCovered)
const
;
119
137
virtual
void
select
(
const
OdGiPathNode
& pathNode,
const
OdGePoint2d
* pPoly,
OdUInt32
nbPolyPts,
const
OdGeTol
&
tol
,
138
const
OdGeMatrix3d
& transformWorldToEye,
bool
bNeedEyeDepth,
OdGiDrawablePESelectionReactor
* pSelectionReactor)
const
;
139
140
};
141
142
typedef
OdSmartPtr<OdGiDrawableSelectPE>
OdGiDrawableSelectPEPtr
;
143
144
145
#include "
TD_PackPop.h
"
146
147
#endif
// __ODDRAWABLESELECTPE_H__
148
tol
tol
Definition:
DimVarDefs.h:2287
GiDrawable.h
OdGiDrawableSelectPEPtr
OdSmartPtr< OdGiDrawableSelectPE > OdGiDrawableSelectPEPtr
Definition:
GiDrawableSelectPE.h:142
GiPathNode.h
Gs.h
Int64Array.h
OdGsMarker
ptrdiff_t OdGsMarker
Definition:
OdPlatformSettings.h:902
OdUInt32
unsigned int OdUInt32
Definition:
OdPlatformSettings.h:814
FIRSTDLL_EXPORT
#define FIRSTDLL_EXPORT
Definition:
RootExport.h:39
RxObject.h
TD_PackPop.h
TD_PackPush.h
OdGeMatrix3d
Definition:
GeMatrix3d.h:79
OdGePoint2d
Definition:
GePoint2d.h:63
OdGeTol
Definition:
GeTol.h:49
OdGiDrawablePESelectionReactor
Definition:
GiDrawableSelectPE.h:48
OdGiDrawablePESelectionReactor::hasOutOfSelection
virtual OdUInt32 hasOutOfSelection()
Definition:
GiDrawableSelectPE.h:83
OdGiDrawablePESelectionReactor::kBreak
@ kBreak
Definition:
GiDrawableSelectPE.h:55
OdGiDrawablePESelectionReactor::kContinue
@ kContinue
Definition:
GiDrawableSelectPE.h:54
OdGiDrawablePESelectionReactor::kNotImplemented
@ kNotImplemented
Definition:
GiDrawableSelectPE.h:53
OdGiDrawablePESelectionReactor::selected
virtual OdUInt32 selected(OdGsMarker offset, double depth)
Definition:
GiDrawableSelectPE.h:72
OdGiDrawableSelectPE
Definition:
GiDrawableSelectPE.h:98
OdGiDrawableSelectPE::OdGiDrawableSelectPE
OdGiDrawableSelectPE()
OdGiDrawableSelectPE::canSelect
virtual bool canSelect(const OdGiPathNode &pathNode, OdGsMarker &nMarkersCovered) const
OdGiDrawableSelectPE::select
virtual void select(const OdGiPathNode &pathNode, const OdGePoint2d *pPoly, OdUInt32 nbPolyPts, const OdGeTol &tol, const OdGeMatrix3d &transformWorldToEye, bool bNeedEyeDepth, OdGiDrawablePESelectionReactor *pSelectionReactor) const
OdGiDrawableSelectPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiDrawableSelectPE)
OdGiPathNode
Definition:
GiPathNode.h:40
OdRxObject
Definition:
RxObject.h:564
OdSmartPtr
Definition:
SmartPtr.h:58
offset
GLintptr offset
Definition:
gles2_ext.h:183
Generated on Wed Apr 5 2023 17:29:17