CFx SDK Documentation  2023 SP0
FxTracker.h
Go to the documentation of this file.
1 //
2 // (C) Copyright 2005-2022 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 "DDKERNEL.h"
20 #include "FxString.h"
21 
22 #include "FxPragmaPush.h"
23 
24 class CFxTrackerContext;
25 class CFxHitTestInfo;
27 class OdGiDrawable;
28 class CFxView;
29 
36 {
37 public:
38  /* {secret} */
40  virtual ~CFxTracker();
41 
47  virtual void Update( CFxTrackerContext* pContext, CFxHitTestInfo* pHitTestInfo ) = 0;
48 
54  virtual void DrawTracker( CFxTrackerContext* pContext, const CFxHitTestInfo* pHitTestInfo ) const = 0;
55 
61  virtual void DrawDDTracker( CFxTrackerContext* pContext, const CFxHitTestInfo* pHitTestInfo ) const{};
62 
68  virtual bool CheckRegenAbort( const CFxInputPointManager* pInputManager ) const;
69 
73  virtual const CFxString& GetName() const;
74 
78  virtual bool IsEager( const CFxHitTestInfo* pHitTestInfo ) const;
79 
83  virtual bool DoAction( const CFxHitTestInfo* pHitTestInfo );
84 
88  virtual void OnMainSelectionSetChanged( const CFxHitTestInfo* pHitTestInfo );
89 
90 protected:
91  /* {secret} */
93 
94 public:
95  /* {secret} */
96  bool m_bAdded;
97 };
98 
99 #include "FxPragmaPop.h"
#define DDKERNEL_API
Definition: DDKERNEL.h:32
virtual ~CFxTracker()
virtual const CFxString & GetName() const
virtual bool CheckRegenAbort(const CFxInputPointManager *pInputManager) const
virtual bool IsEager(const CFxHitTestInfo *pHitTestInfo) const
bool m_bAdded
Definition: FxTracker.h:96
virtual void DrawTracker(CFxTrackerContext *pContext, const CFxHitTestInfo *pHitTestInfo) const =0
CFxString m_strName
Definition: FxTracker.h:92
virtual void DrawDDTracker(CFxTrackerContext *pContext, const CFxHitTestInfo *pHitTestInfo) const
Definition: FxTracker.h:61
virtual void Update(CFxTrackerContext *pContext, CFxHitTestInfo *pHitTestInfo)=0
virtual bool DoAction(const CFxHitTestInfo *pHitTestInfo)
virtual void OnMainSelectionSetChanged(const CFxHitTestInfo *pHitTestInfo)