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 *);
206 #ifndef ITK_MANUAL_INSTANTIATION
207 #include "itkVTKImageImport.hxx"
210 #endif // __itkVTKImageImport_h
void PrintSelf(std::ostream &os, Indent indent) const
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.
void operator=(const Self &)
NumberOfComponentsCallbackType m_NumberOfComponentsCallback
double *(* OriginCallbackType)(void *)
PropagateUpdateExtentCallbackType m_PropagateUpdateExtentCallback
virtual void SetFloatOriginCallback(FloatOriginCallbackType _arg)
virtual void UpdateOutputInformation()
FloatSpacingCallbackType m_FloatSpacingCallback
DataExtentCallbackType m_DataExtentCallback
virtual void GenerateOutputInformation()
Base class for all process objects that output image data.
int(* PipelineModifiedCallbackType)(void *)
std::string m_ScalarTypeName
virtual void PropagateRequestedRegion(DataObject *)
void SetOriginCallback(FloatOriginCallbackType f)
OutputImageType::SizeType OutputSizeType
double *(* SpacingCallbackType)(void *)
int *(* WholeExtentCallbackType)(void *)
const char *(* ScalarTypeCallbackType)(void *)
SpacingCallbackType m_SpacingCallback
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
virtual void GenerateData()
ScalarTypeCallbackType m_ScalarTypeCallback
Base class for all data objects in ITK.
OutputImageType::IndexType OutputIndexType