comparison Framework/Toolbox/DicomStructureSet.h @ 794:04f518ebd132

LoaderStateMachine
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 May 2019 12:26:16 +0200
parents 4fe4b221a31f
children 61ba4b504e9a
comparison
equal deleted inserted replaced
793:f72b49954f62 794:04f518ebd132
133 const Structure& GetStructure(size_t index) const; 133 const Structure& GetStructure(size_t index) const;
134 134
135 Structure& GetStructure(size_t index); 135 Structure& GetStructure(size_t index);
136 136
137 bool ProjectStructure(std::vector< std::vector<PolygonPoint> >& polygons, 137 bool ProjectStructure(std::vector< std::vector<PolygonPoint> >& polygons,
138 Structure& structure, 138 const Structure& structure,
139 const CoordinateSystem3D& slice); 139 const CoordinateSystem3D& slice) const;
140 140
141 public: 141 public:
142 DicomStructureSet(const OrthancPlugins::FullOrthancDataset& instance); 142 DicomStructureSet(const OrthancPlugins::FullOrthancDataset& instance);
143 143
144 size_t GetStructureCount() const 144 size_t GetStructuresCount() const
145 { 145 {
146 return structures_.size(); 146 return structures_.size();
147 } 147 }
148 148
149 Vector GetStructureCenter(size_t index) const; 149 Vector GetStructureCenter(size_t index) const;
170 170
171 Vector GetNormal() const; 171 Vector GetNormal() const;
172 172
173 bool ProjectStructure(std::vector< std::vector<PolygonPoint> >& polygons, 173 bool ProjectStructure(std::vector< std::vector<PolygonPoint> >& polygons,
174 size_t index, 174 size_t index,
175 const CoordinateSystem3D& slice) 175 const CoordinateSystem3D& slice) const
176 { 176 {
177 return ProjectStructure(polygons, GetStructure(index), slice); 177 return ProjectStructure(polygons, GetStructure(index), slice);
178 } 178 }
179 }; 179 };
180 } 180 }