CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
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
33class OdGiDeviation;
34
35#include "TD_PackPush.h"
36
37class OdGiHlrResults;
39
44{
45public:
50 virtual void getObscuredColor(OdCmEntityColor& clr) {}
51
55 virtual void beginHiddenOutput() {}
56
60 virtual void endHiddenOutput() {}
61};
62
68{
69public:
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
105
106 virtual void setCurrentDrawablePath(const OdDbStubPtrArray& path) = 0;
107
108 virtual void setHLRemoverContext(OdGiHLRContext* pCtx) = 0;
109};
110
112
113#include "TD_PackPop.h"
114
115#endif // __OD_GI_H_L_REMOVER2__
#define ODGI_EXPORT
Definition: GiExport.h:35
OdSmartPtr< OdGiHlrResults > OdGiHlrResultsPtr
Definition: GiHLRemover.h:38
OdSmartPtr< OdGiHLRemover > OdGiHLRemoverPtr
Definition: GiHLRemover.h:111
virtual void endHiddenOutput()
Definition: GiHLRemover.h:60
virtual void getObscuredColor(OdCmEntityColor &clr)
Definition: GiHLRemover.h:50
virtual void beginHiddenOutput()
Definition: GiHLRemover.h:55
ODRX_DECLARE_MEMBERS(OdGiHLRemover)
virtual void setDeviation(const OdGeDoubleArray &deviations)=0
virtual void setDrawContext(OdGiConveyorContext *pDrawCtx)=0
virtual void process()=0
virtual void keepHidden(bool bDoIt)=0
virtual void invertZ(bool bDoIt)=0
virtual OdDbStubPtrArray currentDrawablePath() const =0
virtual OdGiHlrResultsPtr hlrResults(unsigned int *pNumItems=0) const =0
virtual void enable(bool enabled)=0
virtual void setDeviation(const OdGiDeviation *pDeviation)=0
virtual bool enabled() const =0
virtual bool zInverted() const =0
virtual bool hiddenKept() const =0
virtual void setCurrentDrawablePath(const OdDbStubPtrArray &path)=0
virtual void setHLRemoverContext(OdGiHLRContext *pCtx)=0
virtual void freeResults()=0