VR-Forces 4.0.4 Class Documentation
include/vrvOsg/DtOsgArticulatingCylinderModel.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtOsgArticulatingCylinderModel.h,v $ $Revision: 1.0 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvOsg/vrvOsg.h>    
00015 #include <vrvCore/DtArticulatingCylinderModel.h>
00016 #include <vrvCore/DtUniqueID.h>
00017 
00018 namespace osg
00019 {
00020    class Group;
00021 }
00022 
00023 class DtVector;
00024 
00025 namespace makVrv
00026 {
00027    class DtDe;
00028    class DtOsgSceneConnector;
00029 
00032    class DT_DLL_VRVOSG DtOsgArticulatingCylinderModel
00033       : public DtArticulatingCylinderModel
00034    {
00035    public:
00036       DtOsgArticulatingCylinderModel(DtDe& de, DtUniqueID& id);
00037 
00038       virtual ~DtOsgArticulatingCylinderModel();
00039 
00040       //@name Distributed Interface
00042 
00044       virtual void setDimensions(double x, double y, double z);
00045 
00047       virtual void setColor(float r,float g,float b,float a);
00048 
00050       virtual void setVisible(bool visible);
00051 
00053       virtual void setPosition( int vtx, const DtVector& position );
00054 
00056       virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
00057 
00059       virtual void setLightingEnabled( bool enabled );
00060 
00062       virtual void setSolid(bool solid);
00063 
00065 
00066       //@name Local Interface
00068 
00070       virtual void addToScene(const DtUniqueID& sceneObjectID, int modelSet,
00071          int visualizerType);
00072 
00074       virtual void removeFromScene();
00076 
00077    protected:
00078       DtOsgSceneConnector* mySceneConnector;
00079 
00080    };
00081 }

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)