CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
GiSelectProc.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 __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
32class OdGiDeviation;
34
35#include "TD_PackPush.h"
36
66{
67public:
68 enum
69 {
70 kCheckMarkerOnChange = 1,
71 kCheckMarkerOnViewModeChange = 2,
72
73 kCheckMarkerFinish = 0x80000000
74 };
75public:
76 //DOM-IGNORE-BEGIN
78 //DOM-IGNORE-END
79
88 virtual void set(const OdGePoint2d* pPoints,
89 OdUInt32 nPoints,
91
98 virtual void get(OdGePoint2dArray& points,
99 OdGsView::SelectionMode& mode) = 0;
100
101 virtual void check_n_fire_selected(OdUInt32 flags = 0) = 0;
102
108 virtual void setDeviation(const OdGeDoubleArray& deviations) = 0;
109
115 virtual void setDeviation(const OdGiDeviation* pDeviation) = 0;
116
122 virtual void setDrawContext(OdGiConveyorContext* pDrawCtx) = 0;
123
136
144 virtual bool handleSelectionByExtents( const OdGeExtents3d& extWc ) { return false; }
145
146};
147
153
154#include "TD_PackPop.h"
155
156#endif //#ifndef __ODGISELECTPROC__
#define ODGI_EXPORT
Definition: GiExport.h:35
OdSmartPtr< OdGiSelectProc > OdGiSelectProcPtr
Definition: GiSelectProc.h:152
unsigned int OdUInt32
ODRX_DECLARE_MEMBERS(OdGiSelectProc)
virtual void setDrawContext(OdGiConveyorContext *pDrawCtx)=0
virtual bool handleSelectionByExtents(const OdGeExtents3d &extWc)
Definition: GiSelectProc.h:144
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:173