![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtLineObjectInterface.h,v $ $Revision: 1.6 $ $State: Exp $ 00007 ******************************************************************************/ 00008 #pragma once 00009 00010 #include <vrvDrawControl/vrvDrawControlDefines.h> 00011 00012 #include <vrvDrawControl/DtDrawControlObject.h> 00013 #include <vrvDrawControl/DtVdcLineSegment.h> 00014 00015 namespace vrvControlToolkit 00016 { 00017 00025 class DT_DLL_VRVDRAWCONTROL DtLineObjectInterface 00026 { 00027 public: 00033 virtual int numSegments() const = 0; 00034 00040 virtual void setNumSegments(int numSegments) = 0; 00041 00049 virtual DtVdcLineSegment::DtVdcSegmentStyle lineStyle(int segment=0) const = 0; 00050 00058 virtual void setLineStyle(DtVdcLineSegment::DtVdcSegmentStyle lineStyle, 00059 int segment=0) = 0; 00060 00069 virtual DtVdcLineSegment::DtVdcSegmentArrowStyle arrowStyle(int segment=0) 00070 const = 0; 00071 00079 virtual void setArrowStyle(DtVdcLineSegment::DtVdcSegmentArrowStyle arrowStyle, 00080 int segment=0) = 0; 00081 00089 virtual unsigned pattern(int segment=0) const = 0; 00090 00098 virtual void setPattern(unsigned pattern, int segment=0) = 0; 00099 00107 virtual unsigned thickness(int segment=0) const = 0; 00108 00118 virtual void setThickness(unsigned thickness, int segment=0) = 0; 00119 00127 virtual double percentage(int segment) const = 0; 00128 00138 virtual void setPercentage(double percentage, int segment) = 0; 00139 }; 00140 00141 }