VR-Forces 4.0.4 Class Documentation
examples/exampleBulletHole/DtBulletHoleUpdater.h
Go to the documentation of this file.
00001 /****************************************************************************** 
00002 ** Copyright (c) 2009 MAK Technologies, Inc. 
00003 ** All rights reserved. 
00004 ******************************************************************************/ 
00005 /****************************************************************************** 
00006 ** $RCSfile: DtBulletHoleUpdater.h,v $ $Revision: 1.19 $ $State: Exp $ 
00007 ******************************************************************************/ 
00008  
00012 
00013 #pragma once
00014 
00015 #include "exampleBulletHole.h"
00016 #include <vrvCore/DtDe.h>
00017 #include <vrvCore/DtIntersector.h>
00018 #include <vrvCore/DtUpdater.h>
00019 
00020 #include <string>
00021 
00022 #include <matrix/vlVector.h>
00023 #include <matrix/vlTaitBryan.h>
00024 
00025 namespace makVrv 
00026 {
00031    class DT_DLL_EXAMPLEBULLETHOLE DtBulletHoleUpdater : public DtUpdater
00032    { 
00033    public:
00034 
00036       DtBulletHoleUpdater(DtDe& de, DtUniqueID id, bool doNotAddToMgr = false );
00037 
00039       virtual ~DtBulletHoleUpdater();
00040       
00042       virtual void update( double simTime );
00043       
00046       virtual void setEnabled(bool enabled);
00047 
00049       virtual void setBulletEnd(const DtVector& end);
00050 
00052       virtual void setBulletSource(DtUniqueID sourceId);
00053 
00054    protected:
00055       DtUniqueID mySource;
00056       DtVector myEnd;
00057       bool myDirty;
00058    }; 
00059 } 

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)