// $Revision: 1.4 $ //------------------------------------------------------------------------------ // // Copyright (C) 1994, 1995 Taligent, Inc. All rights reserved. // // Project: TaligentSelectionTool // File: SelectionTarget.h // Build/Version: 1.0.0 // // Description: Create a model selection repesenting the data displayed in // a specific portion of the screen. // //------------------------------------------------------------------------------ #ifndef TaligentSamples_SELECTIONTARGET #define TaligentSamples_SELECTIONTARGET class TSelectionTarget; #ifndef TaligentSamples_SELECTIONTOOLTARGET #include "SelectionToolTarget.h" #endif #ifndef Taligent_DELETERFOR #include #endif #ifndef Taligent_AREAGEOMETRY #include #endif class MSelectionMapping; //from SelectionMapping.h class MFeedbacker; //from Feedbacker.h class TModelSelection; //from //................................................................................ class TSelectionTarget : public TSelectionToolTarget { public: TaligentTypeExtensionDeclarationsMacro_Abstract(TSelectionTarget) public: TSelectionTarget(MSelectionMapping* mapping, MFeedbacker* feedbacker); virtual ~TSelectionTarget(); TGArea GetSelectedArea() const; void SetSelectedArea(const TGPoint& where); void SetSelectedArea(const TGArea& area); virtual TModelSelection* GetSelection() const; private: TSelectionTarget& operator=(const TSelectionTarget& source); TDeleterFor fSelection; TGArea fArea; }; #endif