VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtChannelGridLines.h
Go to the documentation of this file.
1 /*****************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /*****************************************************************************
6 ** $RCSfile: DtChannelGridLines.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 
15 #include <vrvCore/vrvCore.h>
16 
17 #include <vrvCore/DtUniqueID.h>
18 
19 #include <string>
20 
21 namespace makVrv
22 {
23 
24  class DtDe;
25  class DtChannelGridLinesInstance;
26 
30  {
31  public:
32 
35 
37  virtual ~DtChannelGridLines();
38 
41  virtual void setInstance( DtChannelGridLinesInstance* instance );
42 
44  virtual DtChannelGridLinesInstance* instance();
45 
47  virtual void setVisible( bool isVisible );
48 
50  void setChannelName( const std::string& deName,
51  const std::string& winName, const std::string& channelName );
52 
55  void setModelDefinition( const std::string& modelDefinition );
56 
58  void setGridType( unsigned gridType );
59 
61  void setUnitType( unsigned unitType, bool isAngular );
62 
64  void setAutoSpacing( bool autoSpacing );
65 
67  void setFixedSpacingAmount( double amount );
68 
70  void setMinSpacing( int pixels );
71 
73  void setXOffset( double offset );
74 
76  void setYOffset( double offset );
77 
79  void setDecimalPlaces( unsigned decimalPlaces );
80 
85 
87  virtual void setMaxGridLines( int maxGridLines );
88 
90  virtual void setEastWestGridLineColor( float r, float g, float b, float a );
91 
93  virtual void setEastWestLabelColor( float r, float g, float b, float a );
94 
96  virtual void setNorthSouthGridLineColor( float r, float g, float b, float a );
97 
99  virtual void setNorthSouthLabelColor( float r, float g, float b, float a );
100 
102  virtual void setLabelFont( const std::string& fontName );
103 
105  virtual void setLabelPointSize( int pointSize );
106 
108  virtual void setLabelXOffset( int pixels );
109 
111  virtual void setLabelYOffset( int pixels );
112 
114  virtual void setLabelTextWidth( int width );
115 
117  virtual void setLabelTextHeight( int height );
118 
120  virtual void setGridLineWidth( float width );
121 
122  protected:
123 
125 
126  };
127 
128 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)