Mercurial > hg > orthanc-stone
comparison Framework/Layers/LineLayerRenderer.h @ 394:17d54c028805
rename ILayerRenderer::GetLayerSlice() to GetLayerPlane()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 10 Nov 2018 08:44:18 +0100 |
parents | fccffbf99ba1 |
children | b70e9be013e4 |
comparison
equal
deleted
inserted
replaced
393:e7a494bdd956 | 394:17d54c028805 |
---|---|
30 private: | 30 private: |
31 double x1_; | 31 double x1_; |
32 double y1_; | 32 double y1_; |
33 double x2_; | 33 double x2_; |
34 double y2_; | 34 double y2_; |
35 CoordinateSystem3D slice_; | 35 CoordinateSystem3D plane_; |
36 bool visible_; | 36 bool visible_; |
37 uint8_t color_[3]; | 37 uint8_t color_[3]; |
38 | 38 |
39 public: | 39 public: |
40 LineLayerRenderer(double x1, | 40 LineLayerRenderer(double x1, |
41 double y1, | 41 double y1, |
42 double x2, | 42 double x2, |
43 double y2, | 43 double y2, |
44 const CoordinateSystem3D& slice); | 44 const CoordinateSystem3D& plane); |
45 | 45 |
46 virtual bool RenderLayer(CairoContext& context, | 46 virtual bool RenderLayer(CairoContext& context, |
47 const ViewportGeometry& view); | 47 const ViewportGeometry& view); |
48 | 48 |
49 virtual void SetLayerStyle(const RenderStyle& style); | 49 virtual void SetLayerStyle(const RenderStyle& style); |
50 | 50 |
51 virtual const CoordinateSystem3D& GetLayerSlice() | 51 virtual const CoordinateSystem3D& GetLayerPlane() |
52 { | 52 { |
53 return slice_; | 53 return plane_; |
54 } | 54 } |
55 | 55 |
56 virtual bool IsFullQuality() | 56 virtual bool IsFullQuality() |
57 { | 57 { |
58 return true; | 58 return true; |