|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbVectorData_h
22 #define otbVectorData_h
24 #include "itkTreeContainer.h"
25 #include "itkDataObject.h"
57 template <
class TPrecision =
double,
unsigned int VDimension = 2,
class TValuePrecision =
double>
70 itkStaticConstMacro(
Dimension,
unsigned int, VDimension);
99 virtual void SetOrigin(
const double origin[2]);
100 virtual void SetOrigin(
const float origin[2]);
103 itkGetConstReferenceMacro(Origin,
OriginType);
109 virtual void SetSpacing(
const double spacing[2]);
110 virtual void SetSpacing(
const float spacing[2]);
116 virtual bool Clear();
119 virtual int Size()
const;
134 void Graft(
const itk::DataObject* data)
override;
146 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
160 #ifndef OTB_MANUAL_INSTANTIATION
itk::SmartPointer< Self > Pointer
static const unsigned int Dimension
DataTreeType::Pointer DataTreePointerType
itk::Point< PrecisionType, VDimension > PointType
void operator=(const Self &)=delete
TValuePrecision ValuePrecisionType
itk::SmartPointer< Self > Pointer
itk::Vector< double, 2 > SpacingType
This class represents a hierarchy of vector data.
This class represents a node of data in a vector data hierarchy.
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itkGetObjectMacro(DataTree, DataTreeType)
virtual std::string GetProjectionRef() const
DataNodeType::LineType LineType
itk::TreeContainer< DataNodePointerType > DataTreeType
DataNodeType::PolygonType PolygonType
DataNodeType::PointType PointType
itk::Point< double, 2 > OriginType
void TransformPointToPhysicalPoint(const PointType &point, PointType &physicalPoint) const
virtual void SetOrigin(OriginType _arg)
This class implement a PolyLineParametricPath for which a value can be set. The value is stored in th...
DataTreePointerType m_DataTree
void PrintSelf(std::ostream &os, itk::Indent indent) const override
DataNodeType::Pointer DataNodePointerType
void Graft(const itk::DataObject *data) override
otb::DataNode< TPrecision, VDimension, TValuePrecision > DataNodeType
itk::SmartPointer< const Self > ConstPointer
This class represent a 2D polygon.
virtual void SetProjectionRef(const std::string &projectionRef)
itk::DataObject Superclass
virtual void SetSpacing(const SpacingType &spacing)