VR-Forces 4.0.4 Class Documentation
include/vrvOsg/DtOsgDrawModel.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtOsgDrawModel.h,v $ $Revision: 1.13 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 #include <vrvOsg/vrvOsg.h>    
00015 #include <vrvCore/DtDrawModel.h>
00016 #include <vrvCore/DtUniqueID.h>
00017 #include <matrix/vlVector.h>
00018 #include <matrix/vlTaitBryan.h>
00019 
00020 namespace makVrv
00021 {
00022    class DtDe;
00023    class DtOsgSceneConnector;
00024 
00031    class DT_DLL_VRVOSG DtOsgDrawModel : public DtDrawModel
00032    {
00033    public:
00034       DtOsgDrawModel(DtDe& de, DtUniqueID& id);
00035 
00036       virtual ~DtOsgDrawModel();
00037 
00038       //@name Distributed Interface
00040       virtual void drawLine(const DtVector& color, double lineWidth);
00041          
00042       virtual void setVisible(bool visible);
00043       virtual void setPosition( int vtx, const DtVector& position );
00044       virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
00045       virtual void setSolid(bool isSolid);
00047             
00048       //@name Local Interface
00050       virtual void addToScene( const DtUniqueID& sceneObjectId, int modelSet,
00051          int visualizerType );
00052 
00054       virtual void removeFromScene();
00055 
00057       
00058    protected:
00059       void initializeModelInstance();
00060 
00061    protected:
00062       DtOsgSceneConnector* mySceneConnector;
00063 
00064    };
00065 }

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)