VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
statePropertyDecoration.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2018 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
6 #pragma once
7 
8 #include <vrvUtil/signalslib.h>
11 #include <string>
12 
13 namespace makVrf
14 {
15  class DtStatePropertyDecorationVisualizer;
16 
18  {
19  public:
22 
24  virtual ~DtStatePropertyDecoration();
25 
28  virtual void visualize(int index);
29 
31  virtual void unvisualize();
32 
35  virtual void setScale( float scale );
36 
38  virtual bool shouldBeVisualized() = 0;
39 
41  boost::signal<void (DtStatePropertyDecoration*, bool)> signal_visualize;
42 
43  protected:
45  virtual void setVisualizeAtIndex(int) = 0;
46 
47  protected:
48 
51 
52  protected:
53  int myIndex;
54  float myScale;
57  };
58 
61  {
62  public:
65 
68 
70  virtual DtStatePropertyDecoration* create(
71  DtStatePropertyDecorationVisualizer& parentVisualizer) = 0;
72 
75  virtual DtStatePropertyDecorationCreator* clone() = 0;
76 
79  virtual const std::string& decorationClassName() = 0;
80  };
81 
82 }

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)