VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtAggregateMilStdIconVisualizer.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2010 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile:  $ $Revision:  $ $State:  $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvCore/vrvCore.h>
00016 #include <vrvCore/DtMilStdIconVisualizer.h>
00017 
00018 namespace makVrv
00019 {
00024    class DT_DLL_VRVCORE DtAggregateMilStdIconVisualizer :
00025       public DtMilStdIconVisualizer
00026    {
00027    public:
00028 
00030       DtAggregateMilStdIconVisualizer(DtBaseConnection& connection, 
00031          DtStateListener& listener, int modelSet);
00032 
00034       virtual ~DtAggregateMilStdIconVisualizer();
00035 
00037       void setEchelonEnabled(bool enabled);
00039       bool echelonEnabled() const;
00040 
00042       virtual void setVisualizerDefinition(const DtVisualizerDefinition& visDef);
00043 
00048       virtual unsigned short echelonCharacterForUnitSymbolFont(int force) const;
00049 
00051       virtual DtUnicode generateSymbolString(float fillColor[4],
00052          float outlineColor[4], unsigned int fillGlyph, 
00053          unsigned int outlineGlyph, unsigned int echelonGlyph, 
00054          bool damaged ) const;
00055 
00057       virtual DtUnicode generateSymbolString(float fillColor[4],
00058          float outlineColor[4], unsigned int fillGlyph, 
00059          unsigned int outlineGlyph, bool damaged ) const;
00060 
00062       virtual unsigned short echelonGlyph() const;
00063 
00065       virtual void setShowMainIcon(bool);
00066 
00068       virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
00069 
00071       static const DtStateVisualizer::TypeInfo& theTypeInfo();
00072 
00073    protected:
00074 
00076       bool myEchelonFlag;
00077       DtUnicodeChar myEchelonGlyph;
00078    };
00079 }

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)