~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/cadxcore/export/contracts/iimageexportcontract.cpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
        return ExportContract->GetView()->GetEstudio()->GetPathActiveImage();
51
51
}
52
52
 
 
53
std::string GNC::GCS::IImageExportDelegate::GetPathDICOM(int index)
 
54
{
 
55
        return ExportContract->GetView()->GetEstudio()->GetImagePath(index);
 
56
}
 
57
 
53
58
std::list<std::string> GNC::GCS::IImageExportDelegate::GetPathAllDICOMs()
54
59
{
55
60
        return ExportContract->GetView()->GetImagePaths();
86
91
{
87
92
        GNC::GCS::IStreamingLoader* Loader = GNC::GCS::ControladorCarga::Instance()->NewLoader();
88
93
 
89
 
        Loader->SetInput(ExportContract->GetView()->GetEstudio()->GetImagePath(index));
 
94
        Loader->SetInput(GetPathDICOM(index));
90
95
 
91
96
        Loader->Update();
92
97
        vtkSmartPointer<vtkImageData> pImgData;