CFx SDK Documentation  2020SP3
FxSelectionSetReactor.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2020 by Graebert GmbH.
3 //
4 // Permission to use, copy, modify, and distribute this software in
5 // object code form for any purpose and without fee is hereby granted,
6 // provided that the above copyright notice appears in all copies and
7 // that both that copyright notice and the limited warranty and
8 // restricted rights notice below appear in all supporting
9 // documentation.
10 //
11 // GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12 // GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13 // MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14 // DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15 // UNINTERRUPTED OR ERROR FREE.
16 
17 #pragma once
18 
19 #include "FxPragmaPush.h"
20 
21 #include "DDKERNEL.h"
22 #include "FxSelectionSet.h"
23 
30 {
31 public:
33  ~CFxSelectionSetReactor(void) override;
34 
36 
45  const OdGePoint3dArray& pointsWCS, const CFxView* pView ) {}
46 
53  virtual void OnSelectionStarted( const CFxSelectionData* pData ) {}
54 
59  virtual void OnSelectionEnded() {}
60 
67  virtual void OnObjectAppended( const OdDbObjectId& id ) {}
68 
75  virtual void OnObjectRemoved( const OdDbObjectId& id ) {}
76 
83  virtual void OnObjectModified( const OdDbObjectId& id ) {}
84 
89  virtual void OnClearStarted() {}
90 
95  virtual void OnClearEnded() {}
96 };
97 
98 #include "FxPragmaPop.h"
FxPragmaPop.h
CFxSelectionSetReactor::~CFxSelectionSetReactor
~CFxSelectionSetReactor(void) override
CFxSelectionSetReactor::OnSelectionStarted
virtual void OnSelectionStarted(CFxSelectionData::SelectionMethod eMethod, const OdGePoint3dArray &pointsWCS, const CFxView *pView)
Definition: FxSelectionSetReactor.h:44
CFxSelectionSetReactor
Definition: FxSelectionSetReactor.h:30
OdRxObject
Definition: RxObject.h:564
OdDbObjectId
Definition: DbObjectId.h:99
DDKERNEL.h
OdArray< OdGePoint3d, OdMemoryAllocator< OdGePoint3d > >
CFxSelectionSetReactor::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(CFxSelectionSetReactor)
CFxSelectionSetReactor::OnSelectionStarted
virtual void OnSelectionStarted(const CFxSelectionData *pData)
Definition: FxSelectionSetReactor.h:53
CFxSelectionData::SelectionMethod
SelectionMethod
Definition: FxSelectionSet.h:325
CFxSelectionSetReactor::OnObjectModified
virtual void OnObjectModified(const OdDbObjectId &id)
Definition: FxSelectionSetReactor.h:83
CFxSelectionData
Definition: FxSelectionSet.h:317
CFxSelectionSetReactor::OnClearEnded
virtual void OnClearEnded()
Definition: FxSelectionSetReactor.h:95
CFxSelectionSetReactor::OnSelectionEnded
virtual void OnSelectionEnded()
Definition: FxSelectionSetReactor.h:59
CFxSelectionSetReactor::CFxSelectionSetReactor
CFxSelectionSetReactor(void)
DDKERNEL_API
#define DDKERNEL_API
Definition: DDKERNEL.h:32
CFxView
Definition: FxView.h:265
CFxSelectionSetReactor::OnClearStarted
virtual void OnClearStarted()
Definition: FxSelectionSetReactor.h:89
FxSelectionSet.h
CFxSelectionSetReactor::OnObjectRemoved
virtual void OnObjectRemoved(const OdDbObjectId &id)
Definition: FxSelectionSetReactor.h:75
FxPragmaPush.h
CFxSelectionSetReactor::OnObjectAppended
virtual void OnObjectAppended(const OdDbObjectId &id)
Definition: FxSelectionSetReactor.h:67