VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtAttachWidgetInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtAttachWidgetInterface.h,v $ $Revision: 1.17 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvCoreQt/vrvCoreQt.h>
00015 #include <vrvCore/DtUniqueID.h>
00016 #include <vrvCore/DtObserverObject.h>
00017 #include <vrvUtil/DtUnicode.h>
00018 
00019 #include <vector>
00020 
00021 namespace makVrv
00022 {
00025    class DT_DLL_VRVCOREQT DtAttachWidgetInterface
00026    {
00027    public:
00028    
00030       DtAttachWidgetInterface();
00031 
00033       virtual ~DtAttachWidgetInterface();
00034        
00036       virtual void setHideAttachedModelEnabled( bool enabled ) = 0;
00037       
00039       virtual void setAttachedObjects( const std::vector<DtUnicode>& attachedObjects ) = 0;
00040 
00042       virtual void setAttachableParts( const std::vector<DtUnicode>& parts) = 0;
00043 
00045       virtual void setAttachedPart(const DtUnicode& partName) = 0;
00046 
00048       virtual void addAttachFilter( const DtUnicode& filterName,
00049          int filterType ) = 0;
00050       
00052       virtual void setCurrentAttachFilter( int filterType ) = 0;
00053       
00055       virtual void setAttachNextEnabled( bool enabled ) = 0;
00056       
00058       virtual void setAttachPreviousEnabled( bool enabled ) = 0;
00059       
00061       virtual void addAttachModes( const std::list<DtUnicode>& modeNames,
00062          const std::list<int>& modeTypes ) = 0;
00063           
00065       virtual void setCurrentAttachMode( int modeType ) = 0;
00066       
00068       virtual void setAttachModeEnabled( int modeType, bool enabled ) = 0;
00069 
00071       virtual void setAttached(bool b) = 0;
00072       
00074       virtual void setAttachSelectedEnabled( bool enabled ) = 0;     
00075 
00077       virtual void setMoreInformationShown(bool) = 0;
00078 
00079       boost::signal<void (int)> signal_setAttachMode;
00080       boost::signal<void ()> signal_attachToNext;
00081       boost::signal<void ()> signal_attachToPrevious;
00082       boost::signal<void (const std::string&)> signal_attachToPartName;
00083       boost::signal<void ()> signal_attachToSelected;
00084       boost::signal<void ()> signal_detach;
00085       boost::signal<void (bool)> signal_setHideAttachedModel;
00086       boost::signal<void (int)> signal_attachFilterTypeChanged;
00087    };
00088 
00089 }

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)