VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtRendererItems.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtRendererItems.h,v $ $Revision: 1.10 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvCoreQt/vrvCoreQt.h>
00015 #include <vrvCoreQt/DtCheckedItem.h>
00016 #include <vrvCore/DtSubjectObserver.h>
00017 
00018 namespace makVrv
00019 {
00022    class DT_DLL_VRVCOREQT DtWireframeItem : public DtCheckedItem
00023    {
00024    public:
00025       DtWireframeItem(DtDe&);
00026 
00027       virtual ~DtWireframeItem();
00028 
00029       //Override create action to connecto to DtDe signals.
00030       QAction* createAction(DtDe& de, QWidget* parent);
00031 
00032    protected: 
00033 
00034       //Set the value due to being triggered.
00035       virtual void setValue(bool value);
00036 
00037       //Get the current value.
00038       virtual bool getValue() const;
00039      
00040    };
00041 
00044    class DT_DLL_VRVCOREQT DtShadowsItem : public DtCheckedItem
00045    {
00046    public:
00047       DtShadowsItem(DtDe&);
00048 
00049       virtual ~DtShadowsItem();
00050 
00051       //Override create action to connecto to DtDe signals.
00052       QAction* createAction(DtDe& de, QWidget* parent);
00053 
00054    protected: 
00055 
00056       //Set the value due to being triggered.
00057       virtual void setValue(bool value);
00058 
00059       //Get the current value.
00060       virtual bool getValue() const;
00061 
00062    };
00065    class DT_DLL_VRVCOREQT DtTerrainScalingItem : public DtCheckedItem,  
00066       public DtDeObserver
00067    {
00068    public:
00069       DtTerrainScalingItem(DtDe&);
00070 
00071       virtual ~DtTerrainScalingItem();
00072 
00073       //Override create action to connecto to DtDe signals.
00074       QAction* createAction(DtDe& de, QWidget* parent);
00075 
00076    protected: 
00077       
00078       // For Display Engine subject observer
00079       virtual void slot_activate( DtDe* subject );
00080       virtual void slot_deactivate( DtDe* ) {}
00081 
00082       // Set if the item is enabled/disabled
00083       virtual void updateEnabled();
00084 
00085       virtual void slot_onCoordinateSystemChanged( const std::string& );
00086   
00087       //Set the value due to being triggered.
00088       virtual void setValue(bool value);
00089 
00090       //Get the current value.
00091       virtual bool getValue() const;
00092    };
00093 }

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)