CFx SDK Documentation
2024 SP0
Loading...
Searching...
No Matches
SDK
CFx
dd_inc
Gi
GiHLRemover.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
25
26
#ifndef __OD_GI_H_L_REMOVER__
27
#define __OD_GI_H_L_REMOVER__
28
29
#include "
Ge/GeDoubleArray.h
"
30
#include "
Gi/GiConveyorNode.h
"
31
#include "
DbStubPtrArray.h
"
32
33
class
OdGiDeviation
;
34
35
#include "
TD_PackPush.h
"
36
37
class
OdGiHlrResults
;
38
typedef
OdSmartPtr<OdGiHlrResults>
OdGiHlrResultsPtr
;
39
43
class
ODGI_EXPORT
OdGiHLRContext
44
{
45
public
:
50
virtual
void
getObscuredColor
(
OdCmEntityColor
& clr) {}
51
55
virtual
void
beginHiddenOutput
() {}
56
60
virtual
void
endHiddenOutput
() {}
61
};
62
67
class
ODGI_EXPORT
OdGiHLRemover
:
public
OdGiConveyorNode
68
{
69
public
:
70
ODRX_DECLARE_MEMBERS
(
OdGiHLRemover
);
71
74
virtual
void
setDeviation
(
const
OdGeDoubleArray
& deviations) = 0;
75
78
virtual
void
setDeviation
(
const
OdGiDeviation
* pDeviation) = 0;
79
82
virtual
void
setDrawContext
(
OdGiConveyorContext
* pDrawCtx) = 0;
83
86
virtual
void
process
() = 0;
87
88
virtual
void
enable
(
bool
enabled) = 0;
89
90
virtual
bool
enabled
()
const
= 0;
91
92
virtual
void
invertZ
(
bool
bDoIt) = 0;
93
94
virtual
bool
zInverted
()
const
= 0;
95
96
virtual
OdGiHlrResultsPtr
hlrResults
(
unsigned
int
* pNumItems = 0)
const
= 0;
97
98
virtual
void
freeResults
() = 0;
99
100
virtual
void
keepHidden
(
bool
bDoIt) = 0;
101
102
virtual
bool
hiddenKept
()
const
= 0;
103
104
virtual
OdDbStubPtrArray
currentDrawablePath
()
const
= 0;
105
106
virtual
void
setCurrentDrawablePath
(
const
OdDbStubPtrArray
& path) = 0;
107
108
virtual
void
setHLRemoverContext
(
OdGiHLRContext
* pCtx) = 0;
109
};
110
111
typedef
OdSmartPtr<OdGiHLRemover>
OdGiHLRemoverPtr
;
112
113
#include "
TD_PackPop.h
"
114
115
#endif
// __OD_GI_H_L_REMOVER2__
DbStubPtrArray.h
GeDoubleArray.h
GiConveyorNode.h
ODGI_EXPORT
#define ODGI_EXPORT
Definition:
GiExport.h:35
OdGiHlrResultsPtr
OdSmartPtr< OdGiHlrResults > OdGiHlrResultsPtr
Definition:
GiHLRemover.h:38
OdGiHLRemoverPtr
OdSmartPtr< OdGiHLRemover > OdGiHLRemoverPtr
Definition:
GiHLRemover.h:111
TD_PackPop.h
TD_PackPush.h
OdArray< double, OdMemoryAllocator< double > >
OdCmEntityColor
Definition:
CmColorBase.h:73
OdGiConveyorContext
Definition:
GiConveyorGeometry.h:55
OdGiConveyorNode
Definition:
GiConveyorNode.h:88
OdGiDeviation
Definition:
GiDeviation.h:44
OdGiHLRContext
Definition:
GiHLRemover.h:44
OdGiHLRContext::endHiddenOutput
virtual void endHiddenOutput()
Definition:
GiHLRemover.h:60
OdGiHLRContext::getObscuredColor
virtual void getObscuredColor(OdCmEntityColor &clr)
Definition:
GiHLRemover.h:50
OdGiHLRContext::beginHiddenOutput
virtual void beginHiddenOutput()
Definition:
GiHLRemover.h:55
OdGiHLRemover
Definition:
GiHLRemover.h:68
OdGiHLRemover::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiHLRemover)
OdGiHLRemover::setDeviation
virtual void setDeviation(const OdGeDoubleArray &deviations)=0
OdGiHLRemover::setDrawContext
virtual void setDrawContext(OdGiConveyorContext *pDrawCtx)=0
OdGiHLRemover::process
virtual void process()=0
OdGiHLRemover::keepHidden
virtual void keepHidden(bool bDoIt)=0
OdGiHLRemover::invertZ
virtual void invertZ(bool bDoIt)=0
OdGiHLRemover::currentDrawablePath
virtual OdDbStubPtrArray currentDrawablePath() const =0
OdGiHLRemover::hlrResults
virtual OdGiHlrResultsPtr hlrResults(unsigned int *pNumItems=0) const =0
OdGiHLRemover::enable
virtual void enable(bool enabled)=0
OdGiHLRemover::setDeviation
virtual void setDeviation(const OdGiDeviation *pDeviation)=0
OdGiHLRemover::enabled
virtual bool enabled() const =0
OdGiHLRemover::zInverted
virtual bool zInverted() const =0
OdGiHLRemover::hiddenKept
virtual bool hiddenKept() const =0
OdGiHLRemover::setCurrentDrawablePath
virtual void setCurrentDrawablePath(const OdDbStubPtrArray &path)=0
OdGiHLRemover::setHLRemoverContext
virtual void setHLRemoverContext(OdGiHLRContext *pCtx)=0
OdGiHLRemover::freeResults
virtual void freeResults()=0
OdGiHlrResults
Definition:
GiHlrResults.h:38
OdSmartPtr
Definition:
SmartPtr.h:58
Generated on Wed Apr 5 2023 17:29:17