Hi all.<br><br>I would like to instantiate a PointsContainer for a static PointSet. There seems to be no such class in Python wrapping, but according<br>to the documentation, it wraps as VectorContainer templated over the PointType.<br>
<br>dim = 3<br>pixelType = itk.D<br><br>pointType = itk.Point[itk.D , dim]<br>container = itk.VectorContainer[pointType]()<br><br>Traceback (most recent call last):<br> File "<pyshell#5>", line 1, in <module><br>
cont = itk.VectorContainer[pointType]()<br> File "/usr/lib/WrapITK/Python/itkTemplate.py", line 215, in __getitem__<br> raise KeyError, 'itkTemplate : No template %s for the %s class' % (str(parameters), self.__name__)<br>
KeyError: "itkTemplate : No template [<class 'itkPoint.itkPointD3'>] for the itk::VectorContainer class"<br><br>How can such container be instantiated?<br><br>Best regards,<br>Carlos<br><br>