comparison Framework/Radiography/RadiographyDicomLayer.cpp @ 503:77e0eb83ff63 am-touch-events

layers are now Observable and emitting LayerEdited messages
author amazy
date Tue, 26 Feb 2019 12:58:03 +0100
parents 4eb96c6b4e96
children 42dadae61fa9
comparison
equal deleted inserted replaced
502:3ae7563b4fe1 503:77e0eb83ff63
100 100
101 SetSize(image->GetWidth(), image->GetHeight()); 101 SetSize(image->GetWidth(), image->GetHeight());
102 102
103 source_ = raii; 103 source_ = raii;
104 ApplyConverter(); 104 ApplyConverter();
105
106 EmitMessage(RadiographyLayer::LayerEditedMessage(*this));
105 } 107 }
106 108
107 void RadiographyDicomLayer::Render(Orthanc::ImageAccessor& buffer, 109 void RadiographyDicomLayer::Render(Orthanc::ImageAccessor& buffer,
108 const AffineTransform2D& viewTransform, 110 const AffineTransform2D& viewTransform,
109 ImageInterpolation interpolation) const 111 ImageInterpolation interpolation) const