CFx SDK Documentation  2020SP3
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__
OdGiDeviation
Definition: GiDeviation.h:44
OdGiSelectProc::get
virtual void get(OdGePoint2dArray &points, OdGsView::SelectionMode &mode)=0
OdGiViewport
Definition: GiViewport.h:51
OdGiSelectProc::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdGiSelectProc)
OdArray< OdGePoint2d, OdMemoryAllocator< OdGePoint2d > >
TD_PackPop.h
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
ODGI_EXPORT
#define ODGI_EXPORT
Definition: GiExport.h:35
OdGiSelectProc::setDrawContext
virtual void setDrawContext(OdGiConveyorContext *pDrawCtx)=0
OdGsView::SelectionMode
SelectionMode
Definition: Gs.h:157
OdGiSelectProc
Definition: GiSelectProc.h:68
OdSmartPtr
Definition: SmartPtr.h:58
OdGiSelectProcPtr
OdSmartPtr< OdGiSelectProc > OdGiSelectProcPtr
Definition: GiSelectProc.h:106
OdGiSelectProc::check_n_fire_selected
virtual void check_n_fire_selected(OdUInt32 flags=0)=0
Gs.h
OdGiSelectProc::supportsSubentitySelection
static bool supportsSubentitySelection(const OdGiViewport *pView, OdGsView::SelectionMode mode, OdGsSelectionReactor *pReactor)
TD_PackPush.h
GePoint2dArray.h
OdGiSelectProc::set
virtual void set(const OdGePoint2d *pPoints, OdUInt32 nPoints, OdGsView::SelectionMode mode, OdGsSelectionReactor *pReactor)=0
OdGiConveyorContext
Definition: GiConveyorGeometry.h:54
OdGiConveyorNode
Definition: GiConveyorNode.h:84
OdGiSelectProc::setDeviation
virtual void setDeviation(const OdGiDeviation *pDeviation)=0
GiConveyorNode.h
OdGiSelectProc::setDeviation
virtual void setDeviation(const OdGeDoubleArray &deviations)=0
OdGsSelectionReactor
Definition: GsSelectionReactor.h:128
GeDoubleArray.h
OdGePoint2d
Definition: GePoint2d.h:60