/*========================================================================= Program: Tensor ToolKit - TTK Module: $URL$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) INRIA 2010. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #ifndef _itk_TensorToClFunction_h_ #define _itk_TensorToClFunction_h_ #include "itkTensorToScalarFunction.h" namespace itk { template class ITK_EXPORT TensorToClFunction : public TensorToScalarFunction { public: typedef TensorToClFunction Self; typedef TensorToScalarFunction Superclass; typedef SmartPointer Pointer; typedef SmartPointer ConstPointer; itkTypeMacro (TensorToClFunction, TensorToScalarFunction); itkNewMacro (Self); typedef TInputPixelType InputPixelType; typedef TOutputPixelType OutputPixelType; OutputPixelType ComputeScalar (const InputPixelType&) const; protected: TensorToClFunction(){}; ~TensorToClFunction(){}; void PrintSelf(std::ostream& os, Indent indent) const { Superclass::PrintSelf(os, indent); } private: TensorToClFunction (const Self&); void operator=(const Self&); }; } // end of namespace #ifndef ITK_MANUAL_INSTANTIATION #include "itkTensorToClFunction.txx" #endif #endif