|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbGeometriesSet_h
22 #define otbGeometriesSet_h
24 #include <boost/variant.hpp>
79 template <
typename Visitor>
80 typename Visitor::result_type
98 return boost::apply_visitor(visitor, m_GeometriesSet);
104 template <
typename Visitor>
105 typename Visitor::result_type
apply(Visitor
const& visitor)
const
107 return boost::apply_visitor(visitor, m_GeometriesSet);
116 template <
typename Visitor>
117 typename Visitor::result_type
apply(Visitor
const& visitor,
Self& visitable)
119 return boost::apply_visitor(visitor, m_GeometriesSet, visitable.
m_GeometriesSet);
125 template <
typename Visitor>
126 typename Visitor::result_type
apply(Visitor
const& visitor,
Self & visitable)
const
128 return boost::apply_visitor(visitor, m_GeometriesSet, visitable.
m_GeometriesSet);
145 m_ImageReference = imageReference;
151 return m_ImageReference;
176 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
186 #ifndef OTB_MANUAL_INSTANTIATION
190 #endif // otbGeometriesSet_h
Visitor::result_type apply(Visitor const &visitor, Self &visitable) const
Visitor::result_type apply(Visitor const &visitor)
Visitor::result_type apply(Visitor const &visitor) const
boost::variant< ogr::DataSource::Pointer, ogr::Layer > AnyGeometriesSetType
ImageReference m_ImageReference
Common ITK type to manipulate any set of geometries: a otb::ogr::DataSource, or a otb::ogr::Layer.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
ImageReference const & GetImageReference() const
Visitor::result_type apply(Visitor const &visitor, Self &visitable)
AnyGeometriesSetType m_GeometriesSet
itk::SmartPointer< Self > Pointer
void SetImageReference(ImageReference const &imageReference)
itk::SmartPointer< Self > Pointer
Layer of geometric objects.
itk::SmartPointer< const Self > ConstPointer
ogr::ImageReference< double > ImageReference
itk::DataObject Superclass