![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 // /****************************************************************************** 00002 // ** Copyright (c) 2012 MAK Technologies, Inc. 00003 // ** All rights reserved. 00004 // ******************************************************************************/ 00005 00009 00010 #pragma once 00011 00012 #include <vrvCore/vrvCore.h> 00013 #include <vrvCore/DtLineModel.h> 00014 00015 namespace makVrv 00016 { 00020 class DT_DLL_VRVCORE DtSegmentedLineModel : public DtLineModel 00021 { 00022 public: 00024 DtSegmentedLineModel(DtDe& de, DtUniqueID id); 00025 00027 ~DtSegmentedLineModel(); 00028 00031 virtual void setStyleSegments(const std::vector<double>& segmentPercentages) = 0; 00032 00034 virtual void setSegmentColor(unsigned int segmentIndex, 00035 float r, float g, float b, float a) = 0; 00036 00040 virtual void setSegmentLightningStyle(unsigned int segmentIndex, 00041 bool enableLightningStyle) = 0; 00042 00046 virtual void setSegmentStartArrow(unsigned int segmentIndex, 00047 bool enableArrow) = 0; 00048 00052 virtual void setSegmentEndArrow(unsigned int segmentIndex, 00053 bool enableArrow) = 0; 00054 00059 virtual void setSegmentStipplePattern(unsigned int segmentIndex, 00060 unsigned int stipplePattern, int repeatFactor=1) = 0; 00061 00063 virtual void setSegmentWidth(unsigned int segmentIndex, double width) = 0; 00064 00067 virtual void setSegmentStartColor( unsigned int segmentIndex, float r, 00068 float g, float b, float a ) = 0; 00069 00072 virtual void setSegmentEndColor( unsigned int segmentIndex, float r, 00073 float g, float b, float a ) = 0; 00074 00075 }; // class DT_DLL_VRVCORE DtSegmentedLineModel 00076 }