28 #pragma warning(disable : 4263)
285 const std::string &funcName,
286 const std::string &str=
"Number of parameter should be ");
299 static void packMemory(
void *targetBuffer,
void *srcBuffer,
size_t setSize,
size_t gapSize,
size_t numSets);
321 unsigned int _configMask1;
324 unsigned int _configMask2;
329 AddOnState *_addOnState;
MLTypeInfos * getInSubImageTypeInfos()
ITKModuleAddOnConfigs2
Configuration bits for configMask2 in ITKModuleAddOns constructor.
@ UsesNonScalarIntConversion
void postGetFilterParams()
Does Module::getFilterParams stuff on end of function.
ITKModuleAddOnConfigs1
Configuration bits for configMask1 in ITKModuleAddOns constructor.
static void printVector(const char *str, const ImageVector &vec)
void setInSubImageProperties(int outIndex, PagedImage &outImg)
Sets input subimage properties at end of Module::calculateOutputImageProperties.
unsigned int getConfigMask2()
Returns configuration mask 2.
MLDataType getOutputSubImageDataType(int outIndex=0)
Returns the current output buffer data type for non scalar filters.
void preConstructorStuff()
Adds functionality to constructor of _module directly after construction.
void preActivateAttachments()
Does Module::activateAttachments stuff on start of function.
MLTypeInfos * getOutSubImageTypeInfos(int outIndex=0)
static void packSubImg(SubImage &subImg, const SubImageBox &imgBox)
void postCalcOutImageProps(int outIndex)
Does Module::calculateOutputImageProperties stuff on end of function.
void preCalcOutSubImage(SubImage &outSubImg, int outIndex, SubImage *inSubImgs)
Does some Module::calculateOutputSubImage stuff on start of function.
void postSetFilterParams()
Does Module::setFilterParams stuff on end of function.
void postHandleNotification(Field *field)
Does Module::handleNotification stuff on end of function.
static MLDataType getBestIntegerType(MLDataType inDataType, MLdouble minVV, MLdouble maxVV)
void preCalcOutImageProps(int outIndex)
Does Module::calculateOutputImageProperties stuff on start of function.
static bool isCompiledDim(MLint dim)
void postConstructorStuff()
Adds functionality to constructor of _module at end of constructor.
static std::string GetStringFromInt(int intVal, unsigned int reservedSpaces=1)
void preHandleNotification(Field *field)
Does Module::handleNotification stuff on start of function.
ITKModuleAddOns(Module &module, unsigned int configMask1=Empty, unsigned int configMask2=Empty)
SubImageBox preCalcInSubImageBox(int inIndex, const SubImageBox &outSubImgBox, int outIndex)
Does Module::calculateInputSubImageBox stuff on start of function.
SubImageBox postCalcInSubImageBox(int inIndex, const SubImageBox &outSubImgBox, const SubImageBox &processedBox, int outIndex)
Does Module::calculateInputSubImageBox stuff on end of function.
static MLDataType getBestSignedType(MLDataType inDataType, MLdouble minVV, MLdouble maxVV, int preferDouble)
static int GetIntFromString(const std::string &str, bool &isValid)
static void packMemory(void *targetBuffer, void *srcBuffer, size_t setSize, size_t gapSize, size_t numSets)
~ITKModuleAddOns()
Destructor.
MLDataType getInputSubImageDataType()
Returns the current input buffer data type for non scalar filters.
void postActivateAttachments()
Does Module::activateAttachments stuff on end of function.
static bool CheckNumberSizes(size_t s1, size_t s2, const std::string &funcName, const std::string &str="Number of parameter should be ")
void preSetFilterParams()
Does Module::setFilterParams stuff on start of function.
MLint getUsedFilteringDim()
unsigned int getConfigMask1()
Returns configuration mask 1.
void postCalcOutSubImage(SubImage &outSubImg, int outIndex, SubImage *inSubImgs)
Does some Module::calculateOutputSubImage stuff on end of function.
static void printSubImgBox(const char *str, const SubImageBox &box)
static bool isCompiledType(MLDataType dt)
void preGetFilterParams()
Does Module::getFilterParams stuff on start of function.
#define MLITK_SUPPORT_EXPORT
TSubImageBox< MLint > SubImageBox
Defines the standard SubImageBox type used in the ML. Its size varies with the size of the MLint type...
TImageVector< MLint > ImageVector
Defines the standard ImageVector type that is used by the ML for indexing and coordinates.