DMRITool
v0.1.1-139-g860d86b4
Diffusion MRI Tool
|
#include <utlFunctors.h>
obtain a part of a vector.
For a vector with size m_Offset + N*(m_ChunkSize + m_Space) + residual, The output vector has size N*m_ChunkSize + std::min(residual, m_ChunkSize).
Definition at line 412 of file utlFunctors.h.
Public Types | |
typedef Shred | Self |
typedef VectorFunctorBase< TVector, TOutput > | Superclass |
Public Types inherited from utl::Functor::VectorFunctorBase< TVector, TOutput > | |
typedef VectorFunctorBase | Self |
Public Member Functions | |
std::vector< int > | GetArguments () |
virtual int | GetChunkSize () const |
virtual int | GetOffset () const |
int | GetOutputDimension (const int inputSize) const |
virtual int | GetSpace () const |
bool | operator!= (const Self &other) const |
TOutput | operator() (const TVector &A) const |
Self & | operator= (const Self &other) |
bool | operator== (const Self &other) const |
void | Print (std::ostream &os=std::cout) const |
void | SetArguments (const std::vector< int > &vec) |
virtual void | SetChunkSize (const int _arg) |
virtual void | SetOffset (const int _arg) |
virtual void | SetSpace (const int _arg) |
Public Member Functions inherited from utl::Functor::VectorFunctorBase< TVector, TOutput > | |
virtual int | GetLogLevel () const |
int | GetOutputDimension (const int inputSize) const |
int | GetOutputDimension (const std::vector< int > &sizeVec) const |
void | Initialize () |
bool | operator!= (const Self &other) const |
Self & | operator= (const Self &other) |
bool | operator== (const Self &other) const |
void | Print (std::ostream &os=std::cout) const |
virtual void | SetLogLevel (const int _arg) |
void | VerifyInputParameters (const int inputSize=-1) const |
Protected Attributes | |
int | m_ChunkSize |
int | m_Offset |
int | m_Space |
Protected Attributes inherited from utl::Functor::VectorFunctorBase< TVector, TOutput > | |
int | m_LogLevel =1 |
typedef Shred utl::Functor::Shred< TVector, TOutput >::Self |
Definition at line 415 of file utlFunctors.h.
typedef VectorFunctorBase<TVector, TOutput> utl::Functor::Shred< TVector, TOutput >::Superclass |
Definition at line 416 of file utlFunctors.h.
|
inline |
Definition at line 467 of file utlFunctors.h.
|
inlinevirtual |
Definition at line 477 of file utlFunctors.h.
|
inlinevirtual |
Definition at line 476 of file utlFunctors.h.
|
inline |
Definition at line 451 of file utlFunctors.h.
References utl::min().
|
inlinevirtual |
Definition at line 478 of file utlFunctors.h.
|
inline |
Definition at line 420 of file utlFunctors.h.
|
inline |
Definition at line 435 of file utlFunctors.h.
References utl::Functor::VectorFunctorBase< TVector, TOutput >::GetOutputDimension().
|
inline |
Definition at line 423 of file utlFunctors.h.
|
inline |
Definition at line 418 of file utlFunctors.h.
|
inline |
Definition at line 480 of file utlFunctors.h.
References utl::Print(), and utlLogOSVar.
|
inline |
Definition at line 459 of file utlFunctors.h.
References utlException.
|
inlinevirtual |
Definition at line 477 of file utlFunctors.h.
Referenced by ImageMath().
|
inlinevirtual |
Definition at line 476 of file utlFunctors.h.
Referenced by ImageMath().
|
inlinevirtual |
Definition at line 478 of file utlFunctors.h.
Referenced by ImageMath().
|
protected |
Definition at line 488 of file utlFunctors.h.
|
protected |
Definition at line 487 of file utlFunctors.h.
|
protected |
Definition at line 489 of file utlFunctors.h.