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);
160 virtual void ComputeExternalForce(
SimplexMeshGeometry *data,
const GradientImageType *gradientImage) ITK_OVERRIDE;
168 double NextVoxel(
const double *pp,
int *ic,
double *x,
double *y,
double *z);
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkDeformableSimplexMesh3DGradientConstraintForceFilter.hxx"
virtual void PrintSelf(std::ostream &os, Indent indent) const override
ImageVoxel(int *pos, double *subpos, double val, double dist, unsigned int ind)
Light weight base class for most itk classes.
double GetValue(void) const
returns voxel value
void SetValue(const double val)
returns voxel position
SmartPointer< Self > Pointer
unsigned int GetX(void) const
returns voxel X coordinate (voxel column)
::itk::IndexValueType IndexValueType
unsigned int GetY(void) const
returns voxel Y coordinate (voxel row)
unsigned int GetZ(void) const
returns voxel Z coordinate (voxel plane)
handle geometric properties for vertices of a simplx mesh
double GetDistance(void) const
returns voxel distance to origin
Control indentation during Print() invocation.
Templated n-dimensional image class.