VR-Forces 4.0.4 Class Documentation
include/vrvCore/DtScribeBoxVisualizer.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002  * Copyright (c) 2011 MAK Technologies, Inc.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 /*****************************************************************************
00006  * $RCSfile: DtScribeBoxVisualizer.h,v $ $Revision: 1.43 $ $State: Exp $
00007  *****************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvCore/DtEntityStateVisualizer.h>
00016 
00017 namespace makVrv
00018 {
00019 
00020    class DtSceneObjectAgent;
00021    class DtScribeBoxModelAgent;
00022 
00026    class DT_DLL_VRVCORE DtScribeBoxVisualizer : public DtStateVisualizer
00027    {
00028    public:
00029 
00031       DtScribeBoxVisualizer(DtBaseConnection& simulation, 
00032          DtStateListener& listener, int modelSet);
00033 
00035       virtual ~DtScribeBoxVisualizer();
00036 
00037       void setParent( DtStateVisualizer* p );
00038 
00041       virtual void setModelDefinitionForAgents();
00042 
00043       virtual void setSelected( bool b );
00044 
00046       virtual void setVisualizerDefinition( const DtVisualizerDefinition& visDef );
00047 
00049       virtual void setDisableModelScaling( bool b );
00050 
00052       virtual void setLocalModelScalingEnabled( bool enabled );
00053 
00055       virtual void setLocalModelScalingAmount( float localScl );
00056 
00058       virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
00059 
00061       static const DtStateVisualizer::TypeInfo& theTypeInfo();
00062 
00063    protected:
00064 
00065       virtual void createModelAgents();
00066       virtual void destroyModelAgents();
00067 
00068    protected:
00069 
00070       DtScribeBoxModelAgent* myScribeBoxModelAgent;
00071 
00072       bool myDisableModelScaling;
00073       bool myEnableLocalModelScaling;
00074 
00075       float myLocalModelScalingAmount;
00076 
00077    };
00078 
00079 
00080    typedef DtStateVisualizerCreatorTemplate<DtScribeBoxVisualizer>
00081       DtScribeBoxVisualizerCreator;
00082 
00083 }

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)