VR-Forces 4.1 Class Documentation
DtVdcLineSegment.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVdcLineSegment.h,v $ $Revision: 1.3 $ $State: Exp $
7 ******************************************************************************/
8 #pragma once
9 
13 
16 
17 namespace vrvControlToolkit
18 {
27  {
28  public:
33  typedef enum
34  {
38  DtVdcSegmentStyleLightning
39  } DtVdcSegmentStyle;
40 
45  typedef enum
46  {
54  DtVdcSegmentArrowStyleArrowDouble
55  } DtVdcSegmentArrowStyle;
56 
57  public:
58  DtVdcLineSegment(double percentage, DtVdcColor color, unsigned pattern,
59  unsigned thickness, DtVdcSegmentStyle style,
60  DtVdcSegmentArrowStyle arrowStyle);
61 
63 
64  DtVdcLineSegment( const DtVdcLineSegment& orig );
65 
66  DtVdcLineSegment operator=( const DtVdcLineSegment& orig );
67 
68  const DtVdcColor& color() const;
69  void setColor( const DtVdcColor& color );
70 
71  unsigned pattern() const;
72  void setPattern( unsigned pattern );
73 
74  unsigned thickness() const;
75  void setThickness( unsigned thickness );
76 
77  double percentage() const;
78  void setPercentage ( double percentage );
79 
80  DtVdcSegmentStyle style() const;
81  void setStyle( DtVdcSegmentStyle style );
82 
83  DtVdcSegmentArrowStyle arrowStyle() const;
84  void setArrowStyle( DtVdcSegmentArrowStyle arrowStyle );
85 
86  protected:
88  unsigned myPattern;
89  unsigned myThickness;
90  double myPercentage;
93  };
94 
95 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)