VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vtkvmtkPolyDataPotentialFit Class Reference

Create an explicitly deformable model which evolves a surface to gradient magnitudes of an input image. More...

#include <vtkvmtkPolyDataPotentialFit.h>

Inheritance diagram for vtkvmtkPolyDataPotentialFit:
[legend]
Collaboration diagram for vtkvmtkPolyDataPotentialFit:
[legend]

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkPolyDataPotentialFitNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetPotentialImage (vtkImageData *)
 
virtual vtkImageData * GetPotentialImage ()
 
virtual void SetInflationImage (vtkImageData *)
 
virtual vtkImageData * GetInflationImage ()
 
virtual void SetInflationThreshold (double)
 
virtual double GetInflationThreshold ()
 
virtual void SetNumberOfIterations (int)
 
virtual int GetNumberOfIterations ()
 
virtual void SetNumberOfStiffnessSubIterations (int)
 
virtual int GetNumberOfStiffnessSubIterations ()
 
virtual void SetNumberOfInflationSubIterations (int)
 
virtual int GetNumberOfInflationSubIterations ()
 
virtual void SetRelaxation (double)
 
virtual double GetRelaxation ()
 
virtual void SetPotentialWeight (double)
 
virtual double GetPotentialWeight ()
 
virtual void SetStiffnessWeight (double)
 
virtual double GetStiffnessWeight ()
 
virtual void SetInflationWeight (double)
 
virtual double GetInflationWeight ()
 
virtual void SetConvergence (double)
 
virtual double GetConvergence ()
 
virtual void SetMaxTimeStep (double)
 
virtual double GetMaxTimeStep ()
 
virtual void SetTimeStep (double)
 
virtual double GetTimeStep ()
 
virtual void SetAdaptiveTimeStep (int)
 
virtual int GetAdaptiveTimeStep ()
 
virtual void AdaptiveTimeStepOn ()
 
virtual void AdaptiveTimeStepOff ()
 
virtual void SetFlipNormals (int)
 
virtual int GetFlipNormals ()
 
virtual void FlipNormalsOn ()
 
virtual void FlipNormalsOff ()
 
virtual void SetUsePotentialInInflation (int)
 
virtual int GetUsePotentialInInflation ()
 
virtual void UsePotentialInInflationOn ()
 
virtual void UsePotentialInInflationOff ()
 
virtual void SetDimensionality (int)
 
virtual int GetDimensionality ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkvmtkPolyDataPotentialFitSafeDownCast (vtkObjectBase *o)
 
static vtkvmtkPolyDataPotentialFitNew ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkvmtkPolyDataPotentialFit ()
 
 ~vtkvmtkPolyDataPotentialFit ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE
 
void EvaluateForce (double point[3], double force[3], bool normalize=true)
 
double EvaluatePotential (double point[3])
 
double EvaluateInflation (double point[3])
 
void ComputeDisplacements (bool potential, bool stiffness, bool inflation)
 
void ComputePotentialDisplacement (vtkIdType pointId, double potentialDisplacement[3])
 
void ComputeStiffnessDisplacement (vtkIdType pointId, double stiffnessDisplacement[3])
 
void ComputeInflationDisplacement (vtkIdType pointId, double inflationDisplacement[3])
 
void ComputeTimeStep ()
 
void ApplyDisplacements ()
 
int TestConvergence ()
 

Static Protected Member Functions

static double ComputeMinSpacing (double spacing[3])
 
static bool IsInExtent (vtkIdType extent[6], int ijk[3], vtkIdType border)
 
static bool IsCellInExtent (int extent[6], int ijk[3], vtkIdType border)
 

Protected Attributes

vtkImageData * PotentialImage
 
vtkImageData * InflationImage
 
vtkImageData * PotentialGradientImage
 
int NumberOfIterations
 
int NumberOfStiffnessSubIterations
 
int NumberOfInflationSubIterations
 
double TimeStep
 
double Relaxation
 
double MaxDisplacementNorm
 
double MinEdgeLength
 
double MinPotentialSpacing
 
double Convergence
 
double PotentialWeight
 
double StiffnessWeight
 
double InflationWeight
 
double InflationThreshold
 
double PotentialMaxNorm
 
int UsePotentialInInflation
 
double MaxTimeStep
 
int AdaptiveTimeStep
 
int FlipNormals
 
int Dimensionality
 
vtkDoubleArray * Displacements
 
vtkvmtkNeighborhoodsNeighborhoods
 
vtkDataArray * Normals
 

Detailed Description

Create an explicitly deformable model which evolves a surface to gradient magnitudes of an input image.

Date
2006/04/06 16:48:25
Revision
1.3

..

Definition at line 42 of file vtkvmtkPolyDataPotentialFit.h.

Member Typedef Documentation

◆ Superclass

typedef vtkPolyDataAlgorithm vtkvmtkPolyDataPotentialFit::Superclass

Definition at line 45 of file vtkvmtkPolyDataPotentialFit.h.

Constructor & Destructor Documentation

◆ vtkvmtkPolyDataPotentialFit()

vtkvmtkPolyDataPotentialFit::vtkvmtkPolyDataPotentialFit ( )
protected

◆ ~vtkvmtkPolyDataPotentialFit()

vtkvmtkPolyDataPotentialFit::~vtkvmtkPolyDataPotentialFit ( )
protected

Member Function Documentation

◆ IsTypeOf()

static int vtkvmtkPolyDataPotentialFit::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkvmtkPolyDataPotentialFit::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkvmtkPolyDataPotentialFit* vtkvmtkPolyDataPotentialFit::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkPolyDataPotentialFit::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkPolyDataPotentialFit* vtkvmtkPolyDataPotentialFit::NewInstance ( ) const

◆ PrintSelf()

void vtkvmtkPolyDataPotentialFit::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ New()

static vtkvmtkPolyDataPotentialFit* vtkvmtkPolyDataPotentialFit::New ( )
static

◆ SetPotentialImage()

virtual void vtkvmtkPolyDataPotentialFit::SetPotentialImage ( vtkImageData *  )
virtual

◆ GetPotentialImage()

virtual vtkImageData* vtkvmtkPolyDataPotentialFit::GetPotentialImage ( )
virtual

◆ SetInflationImage()

virtual void vtkvmtkPolyDataPotentialFit::SetInflationImage ( vtkImageData *  )
virtual

◆ GetInflationImage()

virtual vtkImageData* vtkvmtkPolyDataPotentialFit::GetInflationImage ( )
virtual

◆ SetInflationThreshold()

virtual void vtkvmtkPolyDataPotentialFit::SetInflationThreshold ( double  )
virtual

◆ GetInflationThreshold()

virtual double vtkvmtkPolyDataPotentialFit::GetInflationThreshold ( )
virtual

◆ SetNumberOfIterations()

virtual void vtkvmtkPolyDataPotentialFit::SetNumberOfIterations ( int  )
virtual

◆ GetNumberOfIterations()

virtual int vtkvmtkPolyDataPotentialFit::GetNumberOfIterations ( )
virtual

◆ SetNumberOfStiffnessSubIterations()

virtual void vtkvmtkPolyDataPotentialFit::SetNumberOfStiffnessSubIterations ( int  )
virtual

◆ GetNumberOfStiffnessSubIterations()

virtual int vtkvmtkPolyDataPotentialFit::GetNumberOfStiffnessSubIterations ( )
virtual

◆ SetNumberOfInflationSubIterations()

virtual void vtkvmtkPolyDataPotentialFit::SetNumberOfInflationSubIterations ( int  )
virtual

◆ GetNumberOfInflationSubIterations()

virtual int vtkvmtkPolyDataPotentialFit::GetNumberOfInflationSubIterations ( )
virtual

◆ SetRelaxation()

virtual void vtkvmtkPolyDataPotentialFit::SetRelaxation ( double  )
virtual

◆ GetRelaxation()

virtual double vtkvmtkPolyDataPotentialFit::GetRelaxation ( )
virtual

◆ SetPotentialWeight()

virtual void vtkvmtkPolyDataPotentialFit::SetPotentialWeight ( double  )
virtual

◆ GetPotentialWeight()

virtual double vtkvmtkPolyDataPotentialFit::GetPotentialWeight ( )
virtual

◆ SetStiffnessWeight()

virtual void vtkvmtkPolyDataPotentialFit::SetStiffnessWeight ( double  )
virtual

◆ GetStiffnessWeight()

virtual double vtkvmtkPolyDataPotentialFit::GetStiffnessWeight ( )
virtual

◆ SetInflationWeight()

virtual void vtkvmtkPolyDataPotentialFit::SetInflationWeight ( double  )
virtual

◆ GetInflationWeight()

virtual double vtkvmtkPolyDataPotentialFit::GetInflationWeight ( )
virtual

◆ SetConvergence()

virtual void vtkvmtkPolyDataPotentialFit::SetConvergence ( double  )
virtual

◆ GetConvergence()

virtual double vtkvmtkPolyDataPotentialFit::GetConvergence ( )
virtual

◆ SetMaxTimeStep()

virtual void vtkvmtkPolyDataPotentialFit::SetMaxTimeStep ( double  )
virtual

◆ GetMaxTimeStep()

virtual double vtkvmtkPolyDataPotentialFit::GetMaxTimeStep ( )
virtual

◆ SetTimeStep()

virtual void vtkvmtkPolyDataPotentialFit::SetTimeStep ( double  )
virtual

◆ GetTimeStep()

virtual double vtkvmtkPolyDataPotentialFit::GetTimeStep ( )
virtual

◆ SetAdaptiveTimeStep()

virtual void vtkvmtkPolyDataPotentialFit::SetAdaptiveTimeStep ( int  )
virtual

◆ GetAdaptiveTimeStep()

virtual int vtkvmtkPolyDataPotentialFit::GetAdaptiveTimeStep ( )
virtual

◆ AdaptiveTimeStepOn()

virtual void vtkvmtkPolyDataPotentialFit::AdaptiveTimeStepOn ( )
virtual

◆ AdaptiveTimeStepOff()

virtual void vtkvmtkPolyDataPotentialFit::AdaptiveTimeStepOff ( )
virtual

◆ SetFlipNormals()

virtual void vtkvmtkPolyDataPotentialFit::SetFlipNormals ( int  )
virtual

◆ GetFlipNormals()

virtual int vtkvmtkPolyDataPotentialFit::GetFlipNormals ( )
virtual

◆ FlipNormalsOn()

virtual void vtkvmtkPolyDataPotentialFit::FlipNormalsOn ( )
virtual

◆ FlipNormalsOff()

virtual void vtkvmtkPolyDataPotentialFit::FlipNormalsOff ( )
virtual

◆ SetUsePotentialInInflation()

virtual void vtkvmtkPolyDataPotentialFit::SetUsePotentialInInflation ( int  )
virtual

◆ GetUsePotentialInInflation()

virtual int vtkvmtkPolyDataPotentialFit::GetUsePotentialInInflation ( )
virtual

◆ UsePotentialInInflationOn()

virtual void vtkvmtkPolyDataPotentialFit::UsePotentialInInflationOn ( )
virtual

◆ UsePotentialInInflationOff()

virtual void vtkvmtkPolyDataPotentialFit::UsePotentialInInflationOff ( )
virtual

◆ SetDimensionality()

virtual void vtkvmtkPolyDataPotentialFit::SetDimensionality ( int  )
virtual

◆ GetDimensionality()

virtual int vtkvmtkPolyDataPotentialFit::GetDimensionality ( )
virtual

◆ RequestData()

virtual int vtkvmtkPolyDataPotentialFit::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

◆ EvaluateForce()

void vtkvmtkPolyDataPotentialFit::EvaluateForce ( double  point[3],
double  force[3],
bool  normalize = true 
)
protected

◆ EvaluatePotential()

double vtkvmtkPolyDataPotentialFit::EvaluatePotential ( double  point[3])
protected

◆ EvaluateInflation()

double vtkvmtkPolyDataPotentialFit::EvaluateInflation ( double  point[3])
protected

◆ ComputeDisplacements()

void vtkvmtkPolyDataPotentialFit::ComputeDisplacements ( bool  potential,
bool  stiffness,
bool  inflation 
)
protected

◆ ComputePotentialDisplacement()

void vtkvmtkPolyDataPotentialFit::ComputePotentialDisplacement ( vtkIdType  pointId,
double  potentialDisplacement[3] 
)
protected

◆ ComputeStiffnessDisplacement()

void vtkvmtkPolyDataPotentialFit::ComputeStiffnessDisplacement ( vtkIdType  pointId,
double  stiffnessDisplacement[3] 
)
protected

◆ ComputeInflationDisplacement()

void vtkvmtkPolyDataPotentialFit::ComputeInflationDisplacement ( vtkIdType  pointId,
double  inflationDisplacement[3] 
)
protected

◆ ComputeTimeStep()

void vtkvmtkPolyDataPotentialFit::ComputeTimeStep ( )
protected

◆ ApplyDisplacements()

void vtkvmtkPolyDataPotentialFit::ApplyDisplacements ( )
protected

◆ TestConvergence()

int vtkvmtkPolyDataPotentialFit::TestConvergence ( )
protected

◆ ComputeMinSpacing()

static double vtkvmtkPolyDataPotentialFit::ComputeMinSpacing ( double  spacing[3])
staticprotected

◆ IsInExtent()

static bool vtkvmtkPolyDataPotentialFit::IsInExtent ( vtkIdType  extent[6],
int  ijk[3],
vtkIdType  border 
)
inlinestaticprotected

Definition at line 124 of file vtkvmtkPolyDataPotentialFit.h.

125  {
126  return (ijk[0]>=extent[0]+border && ijk[0]<=extent[1]-border) && (ijk[1]>=extent[2]+border && ijk[1]<=extent[3]-border) && (ijk[2]>=extent[4]+border && ijk[2]<=extent[5]-border) ? true : false;
127  }

◆ IsCellInExtent()

static bool vtkvmtkPolyDataPotentialFit::IsCellInExtent ( int  extent[6],
int  ijk[3],
vtkIdType  border 
)
inlinestaticprotected

Definition at line 129 of file vtkvmtkPolyDataPotentialFit.h.

130  {
131  return (ijk[0]>=extent[0]+border && ijk[0]<extent[1]-border) && (ijk[1]>=extent[2]+border && ijk[1]<extent[3]-border) && (ijk[2]>=extent[4]+border && ijk[2]<extent[5]-border) ? true : false;
132  }

Member Data Documentation

◆ PotentialImage

vtkImageData* vtkvmtkPolyDataPotentialFit::PotentialImage
protected

Definition at line 134 of file vtkvmtkPolyDataPotentialFit.h.

◆ InflationImage

vtkImageData* vtkvmtkPolyDataPotentialFit::InflationImage
protected

Definition at line 135 of file vtkvmtkPolyDataPotentialFit.h.

◆ PotentialGradientImage

vtkImageData* vtkvmtkPolyDataPotentialFit::PotentialGradientImage
protected

Definition at line 136 of file vtkvmtkPolyDataPotentialFit.h.

◆ NumberOfIterations

int vtkvmtkPolyDataPotentialFit::NumberOfIterations
protected

Definition at line 138 of file vtkvmtkPolyDataPotentialFit.h.

◆ NumberOfStiffnessSubIterations

int vtkvmtkPolyDataPotentialFit::NumberOfStiffnessSubIterations
protected

Definition at line 140 of file vtkvmtkPolyDataPotentialFit.h.

◆ NumberOfInflationSubIterations

int vtkvmtkPolyDataPotentialFit::NumberOfInflationSubIterations
protected

Definition at line 141 of file vtkvmtkPolyDataPotentialFit.h.

◆ TimeStep

double vtkvmtkPolyDataPotentialFit::TimeStep
protected

Definition at line 143 of file vtkvmtkPolyDataPotentialFit.h.

◆ Relaxation

double vtkvmtkPolyDataPotentialFit::Relaxation
protected

Definition at line 144 of file vtkvmtkPolyDataPotentialFit.h.

◆ MaxDisplacementNorm

double vtkvmtkPolyDataPotentialFit::MaxDisplacementNorm
protected

Definition at line 145 of file vtkvmtkPolyDataPotentialFit.h.

◆ MinEdgeLength

double vtkvmtkPolyDataPotentialFit::MinEdgeLength
protected

Definition at line 146 of file vtkvmtkPolyDataPotentialFit.h.

◆ MinPotentialSpacing

double vtkvmtkPolyDataPotentialFit::MinPotentialSpacing
protected

Definition at line 147 of file vtkvmtkPolyDataPotentialFit.h.

◆ Convergence

double vtkvmtkPolyDataPotentialFit::Convergence
protected

Definition at line 148 of file vtkvmtkPolyDataPotentialFit.h.

◆ PotentialWeight

double vtkvmtkPolyDataPotentialFit::PotentialWeight
protected

Definition at line 150 of file vtkvmtkPolyDataPotentialFit.h.

◆ StiffnessWeight

double vtkvmtkPolyDataPotentialFit::StiffnessWeight
protected

Definition at line 151 of file vtkvmtkPolyDataPotentialFit.h.

◆ InflationWeight

double vtkvmtkPolyDataPotentialFit::InflationWeight
protected

Definition at line 152 of file vtkvmtkPolyDataPotentialFit.h.

◆ InflationThreshold

double vtkvmtkPolyDataPotentialFit::InflationThreshold
protected

Definition at line 154 of file vtkvmtkPolyDataPotentialFit.h.

◆ PotentialMaxNorm

double vtkvmtkPolyDataPotentialFit::PotentialMaxNorm
protected

Definition at line 155 of file vtkvmtkPolyDataPotentialFit.h.

◆ UsePotentialInInflation

int vtkvmtkPolyDataPotentialFit::UsePotentialInInflation
protected

Definition at line 156 of file vtkvmtkPolyDataPotentialFit.h.

◆ MaxTimeStep

double vtkvmtkPolyDataPotentialFit::MaxTimeStep
protected

Definition at line 158 of file vtkvmtkPolyDataPotentialFit.h.

◆ AdaptiveTimeStep

int vtkvmtkPolyDataPotentialFit::AdaptiveTimeStep
protected

Definition at line 159 of file vtkvmtkPolyDataPotentialFit.h.

◆ FlipNormals

int vtkvmtkPolyDataPotentialFit::FlipNormals
protected

Definition at line 161 of file vtkvmtkPolyDataPotentialFit.h.

◆ Dimensionality

int vtkvmtkPolyDataPotentialFit::Dimensionality
protected

Definition at line 163 of file vtkvmtkPolyDataPotentialFit.h.

◆ Displacements

vtkDoubleArray* vtkvmtkPolyDataPotentialFit::Displacements
protected

Definition at line 165 of file vtkvmtkPolyDataPotentialFit.h.

◆ Neighborhoods

vtkvmtkNeighborhoods* vtkvmtkPolyDataPotentialFit::Neighborhoods
protected

Definition at line 167 of file vtkvmtkPolyDataPotentialFit.h.

◆ Normals

vtkDataArray* vtkvmtkPolyDataPotentialFit::Normals
protected

Definition at line 168 of file vtkvmtkPolyDataPotentialFit.h.


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