/*========================================================================= 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_VTKFibersToITKGroupSpatialObjectCommandFactory_h_ #define _itk_VTKFibersToITKGroupSpatialObjectCommandFactory_h_ #include "itkObjectFactoryBase.h" #include namespace itk { class TTKCONVERTCOMMANDS_EXPORT VTKFibersToITKGroupSpatialObjectCommandFactory : public ObjectFactoryBase { public: using Self = VTKFibersToITKGroupSpatialObjectCommandFactory; using Superclass = ObjectFactoryBase; using Pointer = SmartPointer; using ConstPointer = SmartPointer; /** Class methods used to interface with the registered factories. */ const char* GetITKSourceVersion() const override; const char* GetDescription() const override; /** Method for class instantiation. */ itkFactorylessNewMacro(Self); static VTKFibersToITKGroupSpatialObjectCommandFactory* FactoryNew() { return new VTKFibersToITKGroupSpatialObjectCommandFactory;} /** Run-time type information (and related methods). */ itkTypeMacro(VTKFibersToITKGroupSpatialObjectCommandFactory, ObjectFactoryBase); /** Register one factory of this type */ static void RegisterOneFactory() { VTKFibersToITKGroupSpatialObjectCommandFactory::Pointer CSFFactory = VTKFibersToITKGroupSpatialObjectCommandFactory::New(); ObjectFactoryBase::RegisterFactory( CSFFactory ); } protected: VTKFibersToITKGroupSpatialObjectCommandFactory(); ~VTKFibersToITKGroupSpatialObjectCommandFactory() override; private: VTKFibersToITKGroupSpatialObjectCommandFactory(const Self&); void operator=(const Self&); }; } #endif