![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /***************************************************************************** 00002 * Copyright (c) 2012 MAK Technologies, Inc. 00003 * All rights reserved. 00004 *****************************************************************************/ 00005 00009 00010 #pragma once 00011 00012 #include <vrvCore/vrvCore.h> 00013 00014 #include <vrvCore/DtUniqueID.h> 00015 00016 #include <matrix/vlVector.h> 00017 00018 namespace makVrv 00019 { 00020 00023 class DT_DLL_VRVCORE DtBaseRadioVisualization 00024 { 00025 public: 00026 00030 struct DT_DLL_VRVCORE AttachablePoint { 00031 00033 AttachablePoint( DtUniqueID entitySceneObjectId ); 00034 00036 AttachablePoint( DtVector fixedLocation ); 00037 00039 bool operator == ( const AttachablePoint& other ) const; 00040 00042 bool operator < ( const AttachablePoint& other ) const; 00043 00044 DtVector myFixedLocation; 00045 DtUniqueID myEntitySceneObjectId; 00046 bool myFixedFlag; 00047 00048 }; 00049 00050 public: 00051 00053 DtBaseRadioVisualization( DtUniqueID uid ); 00054 00056 virtual ~DtBaseRadioVisualization(); 00057 00060 virtual void setColor( float red, float green, float blue, float alpha ) = 0; 00061 00064 virtual void setAnimationRate( float rate ) = 0; 00065 00067 virtual void animate( double t ) = 0; 00068 00070 DtUniqueID uniqueId() const; 00071 00072 protected: 00073 00074 DtUniqueID myUniqueId; 00075 00076 }; 00077 00078 }