VR-Forces 4.0.4 Class Documentation
include/vrvOsg/DtOsgAttachableEllipsoidModel.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtOsgAttachableEllipsoidModel.h,v $ $Revision: 1.0 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtOsgAttachableEllipsoidModel_H_
00014 #define DtOsgAttachableEllipsoidModel_H_
00015 
00016 #include <vrvOsg/vrvOsg.h>    
00017 #include <vrvCore/DtAttachableEllipsoidModel.h>
00018 #include <vrvCore/DtUniqueID.h>
00019 
00020 #include <matrix/vlVector.h>
00021 
00022 #include <osg/MatrixTransform>
00023 
00024 namespace osg
00025 {
00026    class Group;
00027 }
00028 
00029 namespace makVrv
00030 {
00031    class DtDe;
00032    class DtOsgSceneConnector;
00033 
00036    class DT_DLL_VRVOSG DtOsgAttachableEllipsoidModel
00037       : public DtAttachableEllipsoidModel
00038    {
00039    public:
00040       DtOsgAttachableEllipsoidModel(DtDe& de, DtUniqueID& id);
00041 
00042       virtual ~DtOsgAttachableEllipsoidModel();
00043 
00044       //@name Distributed Interface
00046 
00048       virtual void setDimensions(double x, double y, double z);
00049 
00051       virtual void setColor(float r,float g,float b,float a);
00052 
00054       virtual void setVisible(bool visible);
00055 
00057       virtual void setPosition( int vtx, const DtVector& position );
00058 
00060       virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
00061 
00063       virtual void setLightingEnabled( bool enabled );
00064 
00066       virtual void setSolid(bool isSolid);
00067 
00069 
00070       //@name Local Interface
00072 
00074       virtual void addToScene(const DtUniqueID& sceneObjectID, int modelSet,
00075          int visualizerType);
00076 
00078       virtual void removeFromScene();
00079 
00081 
00082    protected:
00083       DtOsgSceneConnector* mySceneConnector;
00084 
00085    };
00086 }
00087 
00088 #endif
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)