VR-Forces 4.0.4 Class Documentation
include/terrainqt/terrainUnitFormatter.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 2008 MaK Technologies, Inc.
00003 ** All rights reserved.
00004 *********************************************************************/
00005 /*********************************************************************
00006 ** $RCSfile: terrainUnitFormatter.h,v $ $Revision: 1.1 $ $State: Exp $
00007 *********************************************************************/
00008 
00011 
00012 #ifndef DTTERRAINUNITFORMATTER_H_
00013 #define DTTERRAINUNITFORMATTER_H_
00014 
00019 
00020 #include "tdbutil/translation.h"
00021 #include "terrainqt/terrainqtDefines.h"
00022 
00023 class DtCoordinateSystem;
00024 
00025 class DT_DLL_terrainqt DtTerrainUnitFormatter : public DtUnitFormatter
00026 {
00027 public:
00030    virtual DtString formatSourceToDisplay(const DtVector& val) const;
00031    virtual DtString formatSourceToDisplay(double val, const DtString& unitDisplay,
00032                                               const DtString& source, DtString& unitLabel) const;
00033 
00036    virtual DtString formatSourceToDisplay(const DtCoordinateSystem*, const DtVector& val) const;
00037 
00038    virtual DtString formatSourceToDisplay(const DtCoordinateSystem*, double val, const DtString& unitDisplay,
00039                                               const DtString& source, DtString& unitLabel) const;
00040 };
00041 
00042 #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)