VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtSkyObject.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtSkyObject.h,v $ $Revision: 1.12 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtSkyObject_H_
00014 #define DtSkyObject_H_
00015 
00016 #include <vrvCore/vrvCore.h>
00017 #include <vrvCore/DtUniqueID.h>
00018 
00019 class DtVector;
00020 
00021 namespace makVrv
00022 {
00023    class DtDe;
00024 
00027    class DT_DLL_VRVCORE DtSkyObject
00028    {
00029    public:
00030 
00032       enum CloudLayerTypes
00033       {
00034          Cirrocumulus,              
00035          CirrusFibratus,            
00036          Nimbostratus,              
00037          CumulusMediocris,          
00038          CumulusCongestus,          
00039          CumulonimbusCapillatus,    
00040       };
00041 
00043       DtSkyObject(DtDe& de, DtUniqueID id);
00044 
00046       virtual ~DtSkyObject();
00047 
00049       virtual void setDateAndTime(unsigned short year, unsigned char month,
00050          unsigned char day, unsigned char hour, unsigned char minutes,
00051          double seconds, bool observeDaylightSavings);
00052 
00057       virtual void setLocation(const DtVector& location);
00058 
00060       virtual void addCloudLayer(int deckType, const DtVector& location,
00061          const DtVector& bounds, double density);
00062 
00064       virtual void setCloudLayerEnabled(int index,bool enabled) = 0;
00065 
00067       virtual int cloudLayerCount() const;     
00068 
00070       virtual void removeCloudLayer(int index) = 0;
00071 
00073       virtual void setAirTurbidity(float turbidity) = 0;
00074 
00076       virtual void setVisibleDistance(float distance) = 0;
00077 
00079       virtual void setPrecipitationEnabled(bool enabled) = 0;
00080 
00083       virtual void setPrecipitationType(int type) = 0;
00084 
00086       virtual void setPrecipitationIntensity(float intensity) = 0;
00087 
00089       virtual void setCloudLayerPosition(int index, double xCoord,
00090          double yCoord) = 0;
00091 
00092    };
00093 }
00094 
00095 #endif
00096 

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)