VR-Forces 4.0.4 Class Documentation
include/geometry/mapSurfaceToRoughness.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2005 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: mapSurfaceToRoughness.h,v $ $Revision: 1.3 $ $State: Exp $
00007 *******************************************************************************/
00008 
00009 // \file mapSurfaceToRoughness.h
00010 // \brief DtMapSurfaceToRoughness; helper class that maps a DtSurface to a
00011 // DtRoughnessSoilType
00012 
00013 #ifndef DtMapSurfaceToRoughness_H_
00014 #define DtMapSurfaceToRoughness_H_
00015 
00016 #include "geometry/geometryDefines.h"
00017 #include "geometry/surface.h"
00018 
00019 // DtMapSurfaceToRoughness is a functor that maps a DtSurface type to a 
00020 // DtRoughnessSoilType
00021 class DT_DLL_geometry DtMapSurfaceToRoughness
00022 {
00023 public:
00024 
00025    // default constructor
00026    DtMapSurfaceToRoughness();
00027 
00028    // destructor
00029    virtual ~DtMapSurfaceToRoughness();
00030 
00031    // copy constructor
00032    DtMapSurfaceToRoughness(const DtMapSurfaceToRoughness& orig);
00033 
00034    // assignment operator
00035    DtMapSurfaceToRoughness& operator=(const DtMapSurfaceToRoughness& orig);
00036 
00037    // Function call operator.  Maps given DtSurface to a DtRoughnessSoilType.
00038    virtual enum DtRoughnessSoilType operator()( const DtSurface& surface ) const;
00039 };
00040 
00041 #endif

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)