VR-Forces 4.0.4 Class Documentation
include/vrfobjcore/formationRecord.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2004 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: formationRecord.h,v $ $Revision: 1.4 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef DtFormationRecord_H_
00013 #define DtFormationRecord_H_
00014 
00015 #include <matrix/vlVector.h>
00016 #include <vector>
00017 #include <map>
00018 
00020 
00021 #include "vrfobjcore/vrfobjcoreDefines.h"
00022 class DT_DLL_vrfobjcore DtFormationRecord
00023 {
00024 public:
00025    
00026    DtFormationRecord();
00027    
00028    DtFormationRecord(const DtFormationRecord& orig);
00029    
00030    DtFormationRecord& operator=(const DtFormationRecord& orig);
00031 
00033    virtual DtFormationRecord* clone() const;
00034 
00035    virtual void setPositionIndex(int index);   
00036    virtual int positionIndex() const;
00037    
00038    virtual void setLeadingPositionIndex(int index);
00039    virtual int leadingPositionIndex() const;
00040 
00041    virtual void setPositionRelativeToLeader(const DtVector& position);
00042    virtual const DtVector& positionRelativeToLeader() const;
00043 
00044    virtual void setSubordinateFormation(const DtString& formationName);
00045    virtual DtString subordinateFormation() const;
00046 
00047 protected:
00048    int myPositionIndex;
00049    int myLeadingPositionIndex;
00050    DtVector myPositionRelativeToLeader;
00051    DtString mySubordinateFormation;
00052 };
00053 
00054 #endif
00055 

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)