comparison OrthancStone/Sources/Scene2D/TextureBaseSceneLayer.h @ 1768:226718777702

fix DicomVolumeImageMPRSlicer::Slice::CreateSceneLayer() for opposite normals
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 May 2021 17:18:39 +0200
parents 9ac2a65d4172
children a217140dd41a
comparison
equal deleted inserted replaced
1767:e7b4479dea6f 1768:226718777702
41 double angle_; 41 double angle_;
42 bool isLinearInterpolation_; 42 bool isLinearInterpolation_;
43 bool flipX_; 43 bool flipX_;
44 bool flipY_; 44 bool flipY_;
45 uint64_t revision_; 45 uint64_t revision_;
46 std::unique_ptr<AffineTransform2D> transform_; // Manually-specified transformation
46 47
47 protected: 48 protected:
48 void SetTexture(Orthanc::ImageAccessor* texture); 49 void SetTexture(Orthanc::ImageAccessor* texture);
49 50
50 void IncrementRevision() 51 void IncrementRevision()
118 return flipY_; 119 return flipY_;
119 } 120 }
120 121
121 const Orthanc::ImageAccessor& GetTexture() const; 122 const Orthanc::ImageAccessor& GetTexture() const;
122 123
124 void SetTransform(const AffineTransform2D& transform);
125
126 void ClearTransform();
127
123 AffineTransform2D GetTransform() const; 128 AffineTransform2D GetTransform() const;
124 129
125 virtual void GetBoundingBox(Extent2D& target) const ORTHANC_OVERRIDE; 130 virtual void GetBoundingBox(Extent2D& target) const ORTHANC_OVERRIDE;
126 131
127 virtual uint64_t GetRevision() const ORTHANC_OVERRIDE 132 virtual uint64_t GetRevision() const ORTHANC_OVERRIDE