VR-Forces 4.0.4 Class Documentation
examples/exampleBulletHole/DtMovablePolygonModel.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtMovablePolygonModel.h,v $ $Revision: 1.0 $ $State: Exp $
00007 ******************************************************************************/
00008 
00011 
00012 #pragma once
00013 
00014 #include "exampleBulletHole.h"
00015 #include <vrvCore/DtUniqueID.h>
00016 #include <vrvOsg/DtOsgPolygonModel.h>
00017 #include <vrvOsg/DtPolygonModelInstance.h>
00018 #include <vrvOsg/DtOsgSceneConnector.h>
00019 
00020 namespace makVrv
00021 {
00022    class DtDe;
00023    class DtOsgSceneConnector;
00024 
00028    class DT_DLL_EXAMPLEBULLETHOLE DtMovablePolygonModel
00029       : public DtOsgPolygonModel
00030    {
00031    public:
00033       class DtMovablePolygonModelInstance : public DtPolygonModelInstance
00034       {
00035       public:
00036          DtMovablePolygonModelInstance( DtDe& de )
00037             : DtPolygonModelInstance(de)
00038          {
00039          }
00040 
00041          virtual ~DtMovablePolygonModelInstance()
00042          {
00043          }
00044 
00046          virtual void addToConnector( DtOsgSceneConnector* connector );
00047       };
00048 
00049       DtMovablePolygonModel(DtDe& de, DtUniqueID& id);
00050 
00051       virtual ~DtMovablePolygonModel();
00052 
00054       virtual void setVisible(bool isVisible);
00055 
00058       virtual void setPosition( int vtx, const DtVector& position );
00059 
00062       virtual void setOrientation( int vtx, const DtTaitBryan& orientation );
00063    };
00064 }

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)