VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtAttachWidgetInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtAttachWidgetInterface.h,v $ $Revision: 1.17 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
15 #include <vrvCore/DtUniqueID.h>
17 #include <vrvUtil/DtUnicode.h>
18 
19 #include <vector>
20 
21 namespace makVrv
22 {
26  {
27  public:
28 
31 
33  virtual ~DtAttachWidgetInterface();
34 
36  virtual void setHideAttachedModelEnabled( bool enabled ) = 0;
37 
39  virtual void setAttachedObjects( const std::vector<DtUnicode>& attachedObjects ) = 0;
40 
42  virtual void setAttachableParts( const std::vector<DtUnicode>& parts) = 0;
43 
45  virtual void setAttachedPart(const DtUnicode& partName) = 0;
46 
48  virtual void addAttachFilter( const DtUnicode& filterName,
49  int filterType ) = 0;
50 
52  virtual void setCurrentAttachFilter( int filterType ) = 0;
53 
55  virtual void setAttachNextEnabled( bool enabled ) = 0;
56 
58  virtual void setAttachPreviousEnabled( bool enabled ) = 0;
59 
61  virtual void addAttachModes( const std::list<DtUnicode>& modeNames,
62  const std::list<int>& modeTypes ) = 0;
63 
65  virtual void setCurrentAttachMode( int modeType ) = 0;
66 
68  virtual void setAttachModeEnabled( int modeType, bool enabled ) = 0;
69 
71  virtual void setAttached(bool b) = 0;
72 
74  virtual void setAttachSelectedEnabled( bool enabled ) = 0;
75 
77  virtual void setMoreInformationShown(bool) = 0;
78 
79  boost::signal<void (int)> signal_setAttachMode;
80  boost::signal<void ()> signal_attachToNext;
81  boost::signal<void ()> signal_attachToPrevious;
82  boost::signal<void (const std::string&)> signal_attachToPartName;
83  boost::signal<void ()> signal_attachToSelected;
84  boost::signal<void ()> signal_detach;
85  boost::signal<void (bool)> signal_setHideAttachedModel;
86  boost::signal<void (int)> signal_attachFilterTypeChanged;
87  };
88 
89 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)