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; \
55 template<
typename TOutputImage >
80 OutputImageType::ImageDimension);
86 typedef int * ( * WholeExtentCallbackType )(
void *);
87 typedef double * ( * SpacingCallbackType )(
void *);
88 typedef double * ( * OriginCallbackType )(
void *);
89 typedef const char * ( *ScalarTypeCallbackType )(
void *);
93 typedef int * ( * DataExtentCallbackType )(
void *);
94 typedef void * ( * BufferPointerCallbackType )(
void *);
98 typedef float * ( *FloatSpacingCallbackType )(
void *);
99 typedef float * ( *FloatOriginCallbackType )(
void *);
167 itkGetConstMacro(CallbackUserData,
void *);
185 void operator=(const
Self &) ITK_DELETE_FUNCTION;
206 #ifndef ITK_MANUAL_INSTANTIATION
207 #include "itkVTKImageImport.hxx"
210 #endif // itkVTKImageImport_h
OutputImageType::Pointer OutputImagePointer
PipelineModifiedCallbackType m_PipelineModifiedCallback
void * m_CallbackUserData
ImageSource< TOutputImage > Superclass
UpdateInformationCallbackType m_UpdateInformationCallback
BufferPointerCallbackType m_BufferPointerCallback
Connect the end of an VTK pipeline to an ITK image pipeline.
NumberOfComponentsCallbackType m_NumberOfComponentsCallback
double *(* OriginCallbackType)(void *)
PropagateUpdateExtentCallbackType m_PropagateUpdateExtentCallback
virtual void SetFloatOriginCallback(FloatOriginCallbackType _arg)
FloatSpacingCallbackType m_FloatSpacingCallback
DataExtentCallbackType m_DataExtentCallback
Base class for all process objects that output image data.
int(* PipelineModifiedCallbackType)(void *)
virtual void GenerateData() override
virtual void PropagateRequestedRegion(DataObject *) override
std::string m_ScalarTypeName
void SetOriginCallback(FloatOriginCallbackType f)
OutputImageType::SizeType OutputSizeType
double *(* SpacingCallbackType)(void *)
int *(* WholeExtentCallbackType)(void *)
const char *(* ScalarTypeCallbackType)(void *)
SpacingCallbackType m_SpacingCallback
virtual void GenerateOutputInformation() override
virtual void UpdateOutputInformation() override
Update the information describing the output data.
float *(* FloatOriginCallbackType)(void *)
OutputImageType::RegionType OutputRegionType
OutputImageType::PixelType OutputPixelType
itkSetMacro2(CallbackUserData, void *)
void(* UpdateInformationCallbackType)(void *)
void(* UpdateDataCallbackType)(void *)
TOutputImage OutputImageType
FloatOriginCallbackType m_FloatOriginCallback
int *(* DataExtentCallbackType)(void *)
int(* NumberOfComponentsCallbackType)(void *)
UpdateDataCallbackType m_UpdateDataCallback
virtual void SetFloatSpacingCallback(FloatSpacingCallbackType _arg)
void *(* BufferPointerCallbackType)(void *)
static const unsigned int OutputImageDimension
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
float *(* FloatSpacingCallbackType)(void *)
void(* PropagateUpdateExtentCallbackType)(void *, int *)
WholeExtentCallbackType m_WholeExtentCallback
void SetSpacingCallback(FloatSpacingCallbackType f)
OriginCallbackType m_OriginCallback
void PrintSelf(std::ostream &os, Indent indent) const override
ScalarTypeCallbackType m_ScalarTypeCallback
Base class for all data objects in ITK.
OutputImageType::IndexType OutputIndexType