3
* $Id: volumedataset.h 3558 2011-03-20 20:02:22Z carlos $
6
* Copyright 2008-10 MetaEmotion S.L. All rights reserved.
7
* http://ginkgo-cadx.com
9
* This file is licensed under LGPL v3 license.
10
* See License.txt for details
16
#include <yasper/yasper.h>
17
#include <api/math/geometria3d.h>
18
#include <vtkSmartPointer.h>
24
class IContextoEstudioReferido;
28
namespace MedicalViewer {
29
namespace Reconstruction {
34
GNC::GCS::GVector3D<int, int> dims;
35
GNC::GCS::GVector3D<double, double> origin;
36
GNC::GCS::GVector3D<double, double> spacing;
43
typedef std::list< GnkPtr<Slice> > SliceList;
45
class DataSet : public SliceList {
50
GnkPtr<GNC::GCS::IContextoEstudioReferido> RefStudy;
51
vtkSmartPointer<vtkImageData> Img;
53
GNC::GCS::GVector3D<int, int> dims;
54
GNC::GCS::GVector3D<double, double> origin;
55
GNC::GCS::GVector3D<double, double> spacing;
56
GNC::GCS::GVector3D<double, double> vdir;
62
DataSet(const GnkPtr<GNC::GCS::IContextoEstudioReferido>& ref, const GnkPtr<Slice>& slice);
68
/** Checks if the slice with corresponding cosines can belongs to this dataset **/
69
bool Add(const GnkPtr<Slice>& slice);
72
void DoAdd(const GnkPtr<Slice>& slice);
75
typedef std::list< GnkPtr<DataSet> > DataSetList;