VR-Forces 4.0.4 Class Documentation
include/vrvOsg/DtOsgProjectedWidgetModel.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtOsgProjectedWidgetModel.h,v $ $Revision: 1.14 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvOsg/vrvOsg.h>
00015 #include <vrvCore/DtProjectedWidgetModel.h>
00016 #include <vector>
00017 
00018 namespace makVrv
00019 {
00020    class DtOsgWidgetUpdater;
00021 
00022 
00025    class DT_DLL_VRVOSG DtOsgProjectedWidgetModel : public DtProjectedWidgetModel
00026    {
00027    public:
00028 
00030       DtOsgProjectedWidgetModel(DtDe& de, DtUniqueID id);
00031 
00033       virtual ~DtOsgProjectedWidgetModel();
00034 
00036       virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
00037          int visualizerType );
00038 
00040       virtual void removeFromScene();
00041 
00044       virtual void addWidget(DtWidget* aWidget);
00045 
00047       virtual void removeWidget(DtWidget* aWidget);
00048 
00050       virtual void setModelDefinition(const std::string& str);
00051 
00053       virtual void setPosition( int vtx, const DtVector& position );
00054 
00055       DtOsgWidgetUpdater& widgetUpdater();
00056       
00057       virtual std::vector<DtWidget*>& widgets();
00058 
00059       virtual void setVisible(bool visible);
00060 
00062       virtual void setSolid(bool solid);
00063       
00064    protected:
00065 
00066       DtUniqueID myParentId;
00067 
00068    };
00069 }

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)