CFx SDK Documentation  2023 SP0
GiSelectProc.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, 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 Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 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 __ODGISELECTPROC__
25 #define __ODGISELECTPROC__
26 
27 #include "Gi/GiConveyorNode.h"
28 #include "Gs/Gs.h"
29 #include "Ge/GeDoubleArray.h"
30 #include "Ge/GePoint2dArray.h"
31 
32 class OdGiDeviation;
34 
35 #include "TD_PackPush.h"
36 
68 {
69 public:
70  enum
71  {
72  kCheckMarkerOnChange = 1,
73  kCheckMarkerOnViewModeChange = 2,
74 
75  kCheckMarkerFinish = 0x80000000
76  };
77 public:
79 
80  virtual void set(const OdGePoint2d* pPoints,
81  OdUInt32 nPoints,
82  OdGsView::SelectionMode mode, OdGsSelectionReactor* pReactor) = 0;
83 
84  virtual void get(OdGePoint2dArray& points,
85  OdGsView::SelectionMode& mode) = 0;
86 
87  virtual void check_n_fire_selected(OdUInt32 flags = 0) = 0;
88 
91  virtual void setDeviation(const OdGeDoubleArray& deviations) = 0;
92 
95  virtual void setDeviation(const OdGiDeviation* pDeviation) = 0;
96 
99  virtual void setDrawContext(OdGiConveyorContext* pDrawCtx) = 0;
100 
104 };
105 
107 
108 #include "TD_PackPop.h"
109 
110 #endif //#ifndef __ODGISELECTPROC__
#define ODGI_EXPORT
Definition: GiExport.h:35
OdSmartPtr< OdGiSelectProc > OdGiSelectProcPtr
Definition: GiSelectProc.h:106
unsigned int OdUInt32
ODRX_DECLARE_MEMBERS(OdGiSelectProc)
virtual void setDrawContext(OdGiConveyorContext *pDrawCtx)=0
virtual void setDeviation(const OdGeDoubleArray &deviations)=0
static bool supportsSubentitySelection(const OdGiViewport *pView, OdGsView::SelectionMode mode, OdGsSelectionReactor *pReactor)
virtual void set(const OdGePoint2d *pPoints, OdUInt32 nPoints, OdGsView::SelectionMode mode, OdGsSelectionReactor *pReactor)=0
virtual void get(OdGePoint2dArray &points, OdGsView::SelectionMode &mode)=0
virtual void setDeviation(const OdGiDeviation *pDeviation)=0
virtual void check_n_fire_selected(OdUInt32 flags=0)=0
SelectionMode
Definition: Gs.h:157