VR-Forces 4.0.4 Class Documentation
include/vrvVrl/DtVrlinkAppearanceVisualizerInterface.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2009 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtVrlinkAppearanceVisualizerInterface.h,v $ $Revision: 1.43 $ $State: Exp $
00007 ******************************************************************************/
00008 
00014 
00015 #pragma once
00016 
00017 namespace makVrv
00018 {
00019    class DtEntityAppearanceMapper;
00020 
00021    namespace DT_PROTOCOL_NAMESPACE
00022    {
00023       class DtVrlinkAppearanceVisualizerInterface
00024       {
00025       public:
00026          DtVrlinkAppearanceVisualizerInterface();
00027 
00028       protected:
00029 
00030          virtual void setAppearanceAttribute(const unsigned int attr, 
00031             const unsigned int val);
00032 
00034          virtual void updateAppearanceSet( unsigned int oldValue,unsigned int newValue, bool );
00035 
00037          virtual bool handleCustomAppearance(unsigned int attr, unsigned int value)
00038          {
00039             return false;
00040          }
00041 
00043          virtual void setState( int stateNumber, int stateValue ) = 0;
00044 
00045          void setAppearanceMapper(const DtEntityAppearanceMapper* a)
00046          {
00047             myAppearanceMapper = a;
00048          }
00049 
00050       protected:
00051          const DtEntityAppearanceMapper*  myAppearanceMapper;
00052       };
00053    }
00054 }
00055 

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)