18 #ifndef itkDeformableSimplexMesh3DGradientConstraintForceFilter_h
19 #define itkDeformableSimplexMesh3DGradientConstraintForceFilter_h
45 ImageVoxel(
int *pos,
double *subpos,
double val,
double dist,
unsigned int ind)
50 this->
m_Spos[0] = subpos[0];
51 this->
m_Spos[1] = subpos[1];
52 this->
m_Spos[2] = subpos[2];
85 template<
typename TInputMesh,
typename TOutputMesh >
131 itkSetMacro(Range,
int);
132 itkGetConstMacro(Range,
int);
148 itkSetConstObjectMacro(
Image, OriginalImageType);
155 void PrintSelf(std::ostream & os,
Indent indent)
const override;
160 void ComputeExternalForce(
SimplexMeshGeometry *data,
const GradientImageType *gradientImage)
override;
168 double NextVoxel(
const double *pp,
int *ic,
double *x,
double *y,
double *z);
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkDeformableSimplexMesh3DGradientConstraintForceFilter.hxx"
ImageVoxel(int *pos, double *subpos, double val, double dist, unsigned int ind)
Light weight base class for most itk classes.
TOutputMesh OutputMeshType
unsigned int GetY() const
returns voxel Y coordinate (voxel row)
unsigned int GetX() const
returns voxel X coordinate (voxel column)
void SetValue(const double val)
returns voxel position
double GetDistance() const
returns voxel distance to origin
unsigned int GetZ() const
returns voxel Z coordinate (voxel plane)
typename InputMeshType::Pointer InputMeshPointer
ImageBaseType::IndexType IndexType
signed long IndexValueType
typename OutputMeshType::Pointer OutputMeshPointer
handle geometric properties for vertices of a simplx mesh
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
double GetValue() const
returns voxel value
A templated class holding a n-Dimensional covariant vector.
Templated n-dimensional image class.