plastimatch
Loading...
Searching...
No Matches
itk_pointset.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _itk_pointset_h_
5#define _itk_pointset_h_
6
7#include "plmbase_config.h"
8#include "itkPointSet.h"
9#include "itkDefaultStaticMeshTraits.h"
10#include "itk_point.h"
11
12class Point;
13class Xform;
14template<class T> class Pointset;
17
18
19typedef itk::DefaultStaticMeshTraits<
20 float, 3, 3, float, float > FloatPointSetTraitsType;
21typedef itk::PointSet<
23typedef FloatPointSetType::PointIdentifier FloatPointIdType;
24
25typedef itk::DefaultStaticMeshTraits<
26 double, 3, 3, double, double > DoublePointSetTraitsType;
27typedef itk::PointSet<
29typedef DoublePointSetType::PointIdentifier DoublePointIdType;
30typedef itk::PointSet< short, 3 > ShortPointSetType;
31typedef ShortPointSetType::PointsContainer ShortPointsContainer;
32
33template<class T> void itk_pointset_load (T pointset, const char* fn);
34template<class T> T itk_pointset_warp (T ps_in, Xform* xf);
35template<class T> void itk_pointset_debug (T pointset);
36
38PLMBASE_API DoublePointSetType::Pointer itk_double_pointset_from_raw_pointset (Raw_pointset *ps);
39
40template<class T> PLMBASE_API FloatPointSetType::Pointer
42template<class T> PLMBASE_API DoublePointSetType::Pointer
44
46PLMBASE_API Raw_pointset* raw_pointset_from_itk_float_pointset (FloatPointSetType::Pointer itk_ps);
47
48#endif
Definition pointset.h:15
Definition pointset.h:62
The Xform class is an abstraction that encapsulates a simple transform, either native format (B-splin...
Definition xform.h:66
itk::Point< float, 3 > FloatPoint3DType
Definition itk_point.h:16
itk::Point< double, 3 > DoublePoint3DType
Definition itk_point.h:17
itk::PointSet< short, 3 > ShortPointSetType
Definition itk_pointset.h:30
DoublePointSetType::Pointer itk_double_pointset_from_raw_pointset(Raw_pointset *ps)
Definition itk_pointset.cxx:62
Unlabeled_pointset * unlabeled_pointset_from_itk_float_pointset(FloatPointSetType::Pointer itk_ps)
Definition itk_pointset.cxx:118
FloatPointSetType::Pointer itk_float_pointset_from_raw_pointset(Raw_pointset *ps)
Definition itk_pointset.cxx:44
FloatPointSetType::Pointer itk_float_pointset_from_pointset(const Pointset< T > *ps)
Definition itk_pointset.cxx:81
void itk_pointset_load(T pointset, const char *fn)
Definition itk_pointset.cxx:139
Raw_pointset * raw_pointset_from_itk_float_pointset(FloatPointSetType::Pointer itk_ps)
Definition itk_pointset.cxx:19
T itk_pointset_warp(T ps_in, Xform *xf)
Definition itk_pointset.cxx:176
DoublePointSetType::PointIdentifier DoublePointIdType
Definition itk_pointset.h:29
void itk_pointset_debug(T pointset)
Definition itk_pointset.cxx:205
Pointset< Point > Unlabeled_pointset
Definition itk_pointset.h:16
itk::PointSet< DoublePoint3DType, 3, DoublePointSetTraitsType > DoublePointSetType
Definition itk_pointset.h:28
itk::PointSet< FloatPoint3DType, 3, FloatPointSetTraitsType > FloatPointSetType
Definition itk_pointset.h:22
DoublePointSetType::Pointer itk_double_pointset_from_pointset(const Pointset< T > &ps)
Definition itk_pointset.cxx:100
itk::DefaultStaticMeshTraits< float, 3, 3, float, float > FloatPointSetTraitsType
Definition itk_pointset.h:20
FloatPointSetType::PointIdentifier FloatPointIdType
Definition itk_pointset.h:23
itk::DefaultStaticMeshTraits< double, 3, 3, double, double > DoublePointSetTraitsType
Definition itk_pointset.h:26
ShortPointSetType::PointsContainer ShortPointsContainer
Definition itk_pointset.h:31
#define PLMBASE_API
Definition plmbase_config.h:19
Definition raw_pointset.h:10