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
void(* UpdateDataCallbackType)(void *)
OutputImageType::Pointer OutputImagePointer
double *(* OriginCallbackType)(void *)
PipelineModifiedCallbackType m_PipelineModifiedCallback
void * m_CallbackUserData
ImageSource< TOutputImage > Superclass
int(* PipelineModifiedCallbackType)(void *)
UpdateInformationCallbackType m_UpdateInformationCallback
BufferPointerCallbackType m_BufferPointerCallback
const char *(* ScalarTypeCallbackType)(void *)
Connect the end of an VTK pipeline to an ITK image pipeline.
NumberOfComponentsCallbackType m_NumberOfComponentsCallback
PropagateUpdateExtentCallbackType m_PropagateUpdateExtentCallback
virtual void SetFloatOriginCallback(FloatOriginCallbackType _arg)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
FloatSpacingCallbackType m_FloatSpacingCallback
DataExtentCallbackType m_DataExtentCallback
void(* UpdateInformationCallbackType)(void *)
Base class for all process objects that output image data.
virtual void GenerateData() override
virtual void PropagateRequestedRegion(DataObject *) override
std::string m_ScalarTypeName
void *(* BufferPointerCallbackType)(void *)
void SetOriginCallback(FloatOriginCallbackType f)
int *(* DataExtentCallbackType)(void *)
OutputImageType::SizeType OutputSizeType
SpacingCallbackType m_SpacingCallback
virtual void GenerateOutputInformation() override
virtual void UpdateOutputInformation() override
Update the information describing the output data.
OutputImageType::RegionType OutputRegionType
OutputImageType::PixelType OutputPixelType
itkSetMacro2(CallbackUserData, void *)
TOutputImage OutputImageType
void(* PropagateUpdateExtentCallbackType)(void *, int *)
FloatOriginCallbackType m_FloatOriginCallback
UpdateDataCallbackType m_UpdateDataCallback
virtual void SetFloatSpacingCallback(FloatSpacingCallbackType _arg)
static const unsigned int OutputImageDimension
SmartPointer< Self > Pointer
Control indentation during Print() invocation.
double *(* SpacingCallbackType)(void *)
WholeExtentCallbackType m_WholeExtentCallback
void SetSpacingCallback(FloatSpacingCallbackType f)
OriginCallbackType m_OriginCallback
ScalarTypeCallbackType m_ScalarTypeCallback
float *(* FloatSpacingCallbackType)(void *)
float *(* FloatOriginCallbackType)(void *)
void PrintSelf(std::ostream &os, Indent indent) const override
int *(* WholeExtentCallbackType)(void *)
Base class for all data objects in ITK.
void operator=(const Self &) ITK_DELETE_FUNCTION
int(* NumberOfComponentsCallbackType)(void *)
OutputImageType::IndexType OutputIndexType