30 #include "ogrsf_frmts.h"
72 template <
class TPrecision =
double,
unsigned VDimension = 2,
class TValuePrecision =
double>
90 itkStaticConstMacro(
Dimension,
unsigned int, VDimension);
93 typedef itk::Point<PrecisionType, VDimension>
PointType;
112 itkGetStringMacro(NodeId);
113 itkSetStringMacro(NodeId);
277 bool HasField(
const std::string& key)
const;
334 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
366 #ifndef OTB_MANUAL_INSTANTIATION
This class represents a node of data in a vector data hierarchy.
Polygon< ValuePrecisionType > PolygonType
bool IsMultiLineFeature() const
int GetFieldAsInt(const std::string &key) const
OGRGeometry * ConvertDataNodeToOGRGeometry(const DataNode *dataNode)
LineType::Pointer LinePointerType
PolygonListPointerType GetPolygonInteriorRings() const
std::string GetFieldAsString(const std::string &key) const
void SetFieldAsString(const std::string &key, const std::string &value)
bool IsLineFeature() const
PolygonType::Pointer PolygonPointerType
otb::PolyLineParametricPathWithValue< ValuePrecisionType, VDimension > LineType
bool IsPointFeature() const
double GetFieldAsDouble(const std::string &key) const
std::string GetNodeTypeAsString() const
bool IsMultiPointFeature() const
PolygonListType::Pointer PolygonListPointerType
static const unsigned int Dimension
TValuePrecision ValuePrecisionType
std::vector< std::string > GetFieldList() const
bool HasField(const std::string &key) const
void SetFieldAsDouble(const std::string &key, double value)
ObjectList< PolygonType > PolygonListType
itk::SmartPointer< Self > Pointer
bool IsCollectionFeature() const
void SetLine(LineType *line)
itk::Point< PrecisionType, VDimension > PointType
itk::SmartPointer< const Self > ConstPointer
double EuclideanDistanceMetric(const DataNode *node)
void PrintSelf(std::ostream &os, itk::Indent indent) const override
PointType GetPoint() const
LinePointerType GetLine() const
VertexListType::ConstPointer VertexListConstPointerType
virtual const char * GetNodeId() const
PolygonType::VertexListType VertexListType
bool IsPolygonFeature() const
void SetFieldAsInt(const std::string &key, int value)
virtual void SetNodeId(const char *_arg)
void SetPoint(PointType point)
bool Within(const DataNode *node)
PolygonListType::ConstPointer PolygonListConstPointerType
void Reset(const DataNode &inputNode)
Perform a reset of all fields of a datanode using an input node.
bool IsMultiPolygonFeature() const
PolygonPointerType GetPolygonExteriorRing() const
void SetPolygonInteriorRings(PolygonListType *polygonList)
void SetPolygonExteriorRing(PolygonType *polygon)
LineType::ConstPointer LineConstPointerType
DataNode(const Self &)=delete
void operator=(const Self &)=delete
bool Intersects(const DataNode *node)
PolygonType::ConstPointer PolygonConstPointerType
void CopyFieldList(const DataNode *dataNode)
void SetNodeType(NodeType type)
virtual NodeType GetNodeType() const
This class is a generic all-purpose wrapping around an std::vector<itk::SmartPointer<ObjectType> >.
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
This class implement a PolyLineParametricPath for which a value can be set. The value is stored in th...
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
This class represent a 2D polygon.
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
Superclass::VertexListType VertexListType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
PolygonListPointerType interiorRings
PolygonPointerType exteriorRing