ITK  5.4.0
Insight Toolkit
Public Member Functions | Public Attributes | Friends | List of all members
itk::ImageVoxel Class Reference

#include <itkDeformableSimplexMesh3DGradientConstraintForceFilter.h>

Detailed Description

Definition at line 32 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

Public Member Functions

double GetDistance () const
 
double GetValue () const
 
unsigned int GetX () const
 
unsigned int GetY () const
 
unsigned int GetZ () const
 
 ImageVoxel ()=default
 
 ImageVoxel (const int *pos, const double *subpos, double val, double dist, unsigned int ind)
 
void SetValue (const double val)
 

Public Attributes

double m_Distance
 
unsigned int m_Index
 
double m_Spos [3]
 
double m_Value
 
unsigned int m_Vpos [3]
 

Friends

std::ostream & operator<< (std::ostream &os, const ImageVoxel &val)
 

Constructor & Destructor Documentation

◆ ImageVoxel() [1/2]

itk::ImageVoxel::ImageVoxel ( )
default

◆ ImageVoxel() [2/2]

itk::ImageVoxel::ImageVoxel ( const int *  pos,
const double *  subpos,
double  val,
double  dist,
unsigned int  ind 
)
inline

Member Function Documentation

◆ GetDistance()

double itk::ImageVoxel::GetDistance ( ) const
inline

returns voxel distance to origin

Definition at line 80 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

References m_Distance.

◆ GetValue()

double itk::ImageVoxel::GetValue ( ) const
inline

returns voxel value

Definition at line 86 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

References m_Value.

◆ GetX()

unsigned int itk::ImageVoxel::GetX ( ) const
inline

returns voxel X coordinate (voxel column)

Definition at line 62 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

References m_Vpos.

◆ GetY()

unsigned int itk::ImageVoxel::GetY ( ) const
inline

returns voxel Y coordinate (voxel row)

Definition at line 68 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

References m_Vpos.

◆ GetZ()

unsigned int itk::ImageVoxel::GetZ ( ) const
inline

returns voxel Z coordinate (voxel plane)

Definition at line 74 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

References m_Vpos.

◆ SetValue()

void itk::ImageVoxel::SetValue ( const double  val)
inline

returns voxel position

set the value of the voxel

Definition at line 94 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

References m_Value.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  os,
const ImageVoxel val 
)
friend

Member Data Documentation

◆ m_Distance

double itk::ImageVoxel::m_Distance

◆ m_Index

unsigned int itk::ImageVoxel::m_Index

◆ m_Spos

double itk::ImageVoxel::m_Spos[3]

◆ m_Value

double itk::ImageVoxel::m_Value

Definition at line 40 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

Referenced by GetValue(), and SetValue().

◆ m_Vpos

unsigned int itk::ImageVoxel::m_Vpos[3]

Definition at line 36 of file itkDeformableSimplexMesh3DGradientConstraintForceFilter.h.

Referenced by GetX(), GetY(), and GetZ().


The documentation for this class was generated from the following file: