int
main()
{
pointSet->SetPoint(0UL,
point);
pointSet->SetPoint(1UL,
point);
using SampleType =
sample->SetPointSet(pointSet);
SampleType::Iterator iter = sample->Begin();
while (iter != sample->End())
{
std::cout << "id = " << iter.GetInstanceIdentifier()
<< "\t measurement vector = " << iter.GetMeasurementVector()
<< "\t frequency = " << iter.GetFrequency() << std::endl;
++iter;
}
return EXIT_SUCCESS;
}
A superclass of the N-dimensional mesh structure; supports point (geometric coordinate and attribute)...
This class provides ListSample interface to ITK PointSet.
ImageBaseType::PointType PointType
*par Constraints *The filter image with at least two dimensions and a vector *length of at least The theory supports extension to scalar but *the implementation of the itk vector classes do not **The template parameter TRealType must be floating point(float or double) or *a user-defined "real" numerical type with arithmetic operations defined *sufficient to compute derivatives. **\par Performance *This filter will automatically multithread if run with *SetUsePrincipleComponents