CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
GiSelectProcBase.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2024, 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-2024 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 __ODGISELECTPROCBASE__
25#define __ODGISELECTPROCBASE__
26
27#include "Gi/GiConveyorNode.h"
28#include "Ge/GeDoubleArray.h"
29
30class OdGiDeviation;
32
33#include "TD_PackPush.h"
34
41{
42public:
46 enum
47 {
48 kCheckMarkerOnChange = 1, // Selection marker changed
49 kCheckMarkerOnViewModeChange = 2, // View mode changed
50
51 kCheckMarkerFinish = 0x80000000 // Selection finished
52 };
56 enum
57 {
58 kSupportPointsPrim = 1, // Support point primitives (degenerate polylines)
59 kSupportLinesPrim = 2, // Support line primitives
60 kSupportTrianglesPrim = 4, // Support triangles/polygons/shells and meshes (filled geometry)
62 };
63public:
64 //DOM-IGNORE-BEGIN
66 //DOM-IGNORE-END
67
72 virtual void check_n_fire_selected(OdUInt32 flags = 0) = 0;
73
78 virtual void switchSectioning(bool /*bEnable*/) { }
79
86 virtual bool handleSelectionByExtents( const OdGeExtents3d& extWc ) { return false; }
87
93
99 virtual void setDeviation(const OdGeDoubleArray& deviations) = 0;
100
106 virtual void setDeviation(const OdGiDeviation* pDeviation) = 0;
107
113 virtual void setDrawContext(OdGiConveyorContext* pDrawCtx) = 0;
114};
115
121
122#include "TD_PackPop.h"
123
124#endif //#ifndef __ODGISELECTPROCBASE__
OdArray< double, OdMemoryAllocator< double > > OdGeDoubleArray
#define ODGI_EXPORT
Definition GiExport.h:35
OdSmartPtr< OdGiSelectProcBase > OdGiSelectProcBasePtr
unsigned int OdUInt32
ODRX_DECLARE_MEMBERS(OdGiSelectProcBase)
virtual OdUInt32 supportGeometryPrimitives() const
virtual void setDrawContext(OdGiConveyorContext *pDrawCtx)=0
virtual void setDeviation(const OdGeDoubleArray &deviations)=0
virtual void switchSectioning(bool)
virtual void check_n_fire_selected(OdUInt32 flags=0)=0
virtual bool handleSelectionByExtents(const OdGeExtents3d &extWc)
virtual void setDeviation(const OdGiDeviation *pDeviation)=0