Shapeworks Studio
2.1
Shape analysis software suite
|
Public Types | |
typedef TestTwoCostFunction | Self |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef PSMCostFunction< VDimension > | Superclass |
typedef Superclass::ParticleSystemType | ParticleSystemType |
typedef Superclass::VectorType | VectorType |
typedef ParticleSystemType::PointType | PointType |
Public Types inherited from itk::PSMCostFunction< VDimension > | |
typedef PSMCostFunction | Self |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef LightObject | Superclass |
typedef PSMParticleSystem< VDimension > | ParticleSystemType |
typedef vnl_vector_fixed< double, VDimension > | VectorType |
Public Member Functions | |
itkTypeMacro (TestTwoCostFunction, PSMCostFunction) | |
itkNewMacro (Self) | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
virtual VectorType | Evaluate (unsigned int, unsigned int, const ParticleSystemType *, double &maxtimestep, double &energy) const |
virtual VectorType | Evaluate (unsigned int a, unsigned int b, const ParticleSystemType *c, double &d) const |
virtual double | Energy (unsigned int a, unsigned int b, const ParticleSystemType *c) const |
virtual void | BeforeIteration () |
virtual void | AfterIteration () |
void | SetValue (double v) |
double | GetValue () const |
Public Member Functions inherited from itk::PSMCostFunction< VDimension > | |
itkTypeMacro (PSMCostFunction, LightObject) | |
itkStaticConstMacro (Dimension, unsigned int, VDimension) | |
virtual void | ResetBuffers () |
virtual void | BeforeEvaluate (unsigned int, unsigned int, const ParticleSystemType *) |
virtual void | SetParticleSystem (ParticleSystemType *p) |
virtual ParticleSystemType * | GetParticleSystem () const |
virtual void | SetDomainNumber (unsigned int i) |
virtual int | GetDomainNumber () const |
Protected Member Functions | |
void | operator= (const TestTwoCostFunction &) |
TestTwoCostFunction (const TestTwoCostFunction &) | |
Protected Member Functions inherited from itk::PSMCostFunction< VDimension > | |
void | operator= (const PSMCostFunction &) |
PSMCostFunction (const PSMCostFunction &) | |
Protected Attributes | |
double | m_Value |
Protected Attributes inherited from itk::PSMCostFunction< VDimension > | |
ParticleSystemType * | m_ParticleSystem |
unsigned int | m_DomainNumber |
Definition at line 25 of file itkPSMTwoCostFunctionTest.cxx.
typedef Superclass::ParticleSystemType itk::TestTwoCostFunction< VDimension >::ParticleSystemType |
Type of particle system.
Definition at line 36 of file itkPSMTwoCostFunctionTest.cxx.
typedef TestTwoCostFunction itk::TestTwoCostFunction< VDimension >::Self |
Standard class typedefs.
Definition at line 29 of file itkPSMTwoCostFunctionTest.cxx.
typedef Superclass::VectorType itk::TestTwoCostFunction< VDimension >::VectorType |
Vector & Point types.
Definition at line 39 of file itkPSMTwoCostFunctionTest.cxx.
|
inlinevirtual |
Called after each iteration of the solver.
Reimplemented from itk::PSMCostFunction< VDimension >.
Definition at line 80 of file itkPSMTwoCostFunctionTest.cxx.
|
inlinevirtual |
Called before each iteration of a solver.
Reimplemented from itk::PSMCostFunction< VDimension >.
Definition at line 77 of file itkPSMTwoCostFunctionTest.cxx.
|
inlinevirtual |
The first argument is a pointer to the particle system. The second argument is the index of the domain within that particle system. The third argument is the index of the particle location within the given domain.
Implements itk::PSMCostFunction< VDimension >.
Definition at line 52 of file itkPSMTwoCostFunctionTest.cxx.
|
inlinevirtual |
Evaluate returns the vector-valued result of the function. The first argument is a pointer to the particle system. The second argument is the index of the domain within that particle system. The third argument is the index of the particle location within the given domain.
Implements itk::PSMCostFunction< VDimension >.
Definition at line 62 of file itkPSMTwoCostFunctionTest.cxx.
itk::TestTwoCostFunction< VDimension >::itkNewMacro | ( | Self | ) |
Method for creation through the object factory.
itk::TestTwoCostFunction< VDimension >::itkStaticConstMacro | ( | Dimension | , |
unsigned | int, | ||
VDimension | |||
) |
Dimensionality of the domain of the particle system.