18#ifndef itkVTKImageImport_h
19#define itkVTKImageImport_h
24#define itkSetMacro2(name, type) \
25 virtual void Set##name(type _arg) \
27 itkDebugMacro("setting " #name " to " << _arg); \
28 if (this->m_##name != _arg) \
30 this->m_##name = _arg; \
56template <
typename TOutputImage>
82 static constexpr unsigned int OutputImageDimension = OutputImageType::ImageDimension;
128 this->SetFloatSpacingCallback(f);
140 this->SetFloatOriginCallback(f);
181 itkGetConstMacro(CallbackUserData,
void *);
203 void * m_CallbackUserData{
nullptr };
219 std::string m_ScalarTypeName{};
223#ifndef ITK_MANUAL_INSTANTIATION
224# include "itkVTKImageImport.hxx"
Base class for all data objects in ITK.
Base class for all process objects that output image data.
TOutputImage OutputImageType
typename OutputImageType::Pointer OutputImagePointer
Control indentation during Print() invocation.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Connect the end of an VTK pipeline to an ITK image pipeline.
void GenerateOutputInformation() override
void(*)(void *) UpdateDataCallbackType
void *(*)(void *) BufferPointerCallbackType
void SetOriginCallback(FloatOriginCallbackType f)
float *(*)(void *) FloatSpacingCallbackType
~VTKImageImport() override=default
typename OutputImageType::IndexType OutputIndexType
void PropagateRequestedRegion(DataObject *) override
void PrintSelf(std::ostream &os, Indent indent) const override
void(*)(void *, int *) PropagateUpdateExtentCallbackType
const char *(*)(void *) ScalarTypeCallbackType
double *(*)(void *) SpacingCallbackType
int(*)(void *) PipelineModifiedCallbackType
void GenerateData() override
typename OutputImageType::SizeType OutputSizeType
double *(*)(void *) OriginCallbackType
double *(*)(void *) DirectionCallbackType
typename OutputImageType::RegionType OutputRegionType
typename OutputImageType::PixelType OutputPixelType
int(*)(void *) NumberOfComponentsCallbackType
void UpdateOutputInformation() override
Update the information describing the output data.
itkSetMacro2(CallbackUserData, void *)
float *(*)(void *) FloatOriginCallbackType
int *(*)(void *) DataExtentCallbackType
void(*)(void *) UpdateInformationCallbackType
int *(*)(void *) WholeExtentCallbackType
void SetSpacingCallback(FloatSpacingCallbackType f)
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....