HOPS
HOPS class reference
|
Class MHO_EndZeroPadder. More...
#include <MHO_EndZeroPadder.hh>
Public Member Functions | |
MHO_EndZeroPadder () | |
virtual | ~MHO_EndZeroPadder () |
void | DeselectAllAxes () |
Deselects all axes by setting each axis to false. More... | |
virtual void | DisableNormFXMode () |
Disables Normal Mapping FX Mode by setting fNormFXMode to false. UNUSED - TODO REMOVE ME! More... | |
virtual void | DisableTagCopy () |
Disables copying tags by setting fCopyTags to false. More... | |
virtual void | DoNotPreserveWorkspace () |
Sets preserve workspace flag to false, delete memory after execution. More... | |
virtual void | EnableNormFXMode () |
Enables Normalized FX Mode by setting fNormFXMode to true. UNUSED - TODO REMOVE ME! More... | |
virtual void | EnableTagCopy () |
Enables copying of tags. More... | |
virtual void | PreserveWorkspace () |
Sets a flag to preserve workspace memory after execution. More... | |
void | SelectAllAxes () |
Selects all axes for transformation. sometimes we may want to select/deselect particular dimensions of the x-form default is to transform along every dimension, but that may not always be needed. More... | |
void | SelectAxis (std::size_t axis_index) |
Selects an axis for transformation if its index is within the array rank. More... | |
virtual void | SetEndPadded () |
Setter for end padded, zero padding from end of data out to end of the array. More... | |
virtual void | SetPaddedSize (std::size_t new_size) |
Setter for padded size, instead of a multiplicative factor, the original array, length N is padded out ot the new specified length M. More... | |
virtual void | SetPaddingFactor (std::size_t factor) |
Setter for padding factor, the factor M by which the new array will be extended (original array, length N, new array length NM) More... | |
virtual void | SetReverseEndPadded () |
Setter for reverse end padded, place data at end of array and zero pad out to start. More... | |
![]() | |
MHO_UnaryOperator () | |
virtual | ~MHO_UnaryOperator () |
virtual bool | Execute () override |
Executes operation using provided arguments and return type. More... | |
virtual bool | Execute () override=0 |
Function Execute. More... | |
virtual bool | Initialize () override |
Initializes the system using in-place or out-of-place arguments. More... | |
virtual bool | Initialize () override=0 |
Function Initialize. More... | |
MHO_Operator () | |
virtual void | SetArgs (const XArgType *in, XArgType *out) |
Setter for args. More... | |
virtual void | SetArgs (XArgType *in) |
Setter for args. More... | |
![]() | |
MHO_Operator () | |
virtual | ~MHO_Operator () |
std::string | GetName () const |
Getter for operator name. More... | |
virtual double | Priority () const |
Get the the priority field value. More... | |
void | SetName (std::string name) |
Setter for operator name. More... | |
virtual void | SetPriority (const double &priority) |
Setter for operator priority (determines order of execution within a operator category) More... | |
Protected Member Functions | |
virtual bool | ExecuteInPlace (XArgType *in) |
Executes operation in-place by copying temporary workspace back to input object. More... | |
virtual bool | ExecuteOutOfPlace (const XArgType *in, XArgType *out) |
Function ExecuteOutOfPlace. More... | |
virtual bool | InitializeInPlace (XArgType *in) |
Initializes in-place by creating a temporary workspace and calling InitializeOutOfPlace. More... | |
virtual bool | InitializeOutOfPlace (const XArgType *in, XArgType *out) |
Initializes out-of-place processing for input and output arrays. More... | |
Additional Inherited Members | |
![]() | |
bool | fInPlace |
std::tuple< XArgType * > | fInPlaceArgs |
std::tuple< const XArgType *, XArgType * > | fOutOfPlaceArgs |
Class MHO_EndZeroPadder.
Pads out the end of a multidimensional array with zeros.
|
inline |
|
inlinevirtual |
|
inline |
Deselects all axes by setting each axis to false.
|
inlinevirtual |
Disables Normal Mapping FX Mode by setting fNormFXMode to false. UNUSED - TODO REMOVE ME!
|
inlinevirtual |
Disables copying tags by setting fCopyTags to false.
|
inlinevirtual |
Sets preserve workspace flag to false, delete memory after execution.
|
inlinevirtual |
Enables Normalized FX Mode by setting fNormFXMode to true. UNUSED - TODO REMOVE ME!
|
inlinevirtual |
Enables copying of tags.
|
inlineprotectedvirtual |
Executes operation in-place by copying temporary workspace back to input object.
in | Input object of type XArgType* that will be modified in-place. |
Implements hops::MHO_UnaryOperator< XArgType >.
|
inlineprotectedvirtual |
Function ExecuteOutOfPlace.
in | (const XArgType*) |
out | (XArgType*) |
Implements hops::MHO_UnaryOperator< XArgType >.
|
inlineprotectedvirtual |
Initializes in-place by creating a temporary workspace and calling InitializeOutOfPlace.
in | Input argument of type XArgType* |
Implements hops::MHO_UnaryOperator< XArgType >.
|
inlineprotectedvirtual |
Initializes out-of-place processing for input and output arrays.
in | Pointer to constant input array of type XArgType |
out | Pointer to output array of type XArgType |
Implements hops::MHO_UnaryOperator< XArgType >.
|
inlinevirtual |
Sets a flag to preserve workspace memory after execution.
|
inline |
Selects all axes for transformation. sometimes we may want to select/deselect particular dimensions of the x-form default is to transform along every dimension, but that may not always be needed.
|
inline |
Selects an axis for transformation if its index is within the array rank.
axis_index | Index of the axis to select. |
|
inlinevirtual |
Setter for end padded, zero padding from end of data out to end of the array.
|
inlinevirtual |
Setter for padded size, instead of a multiplicative factor, the original array, length N is padded out ot the new specified length M.
new_size | New padded size of type std::size_t |
|
inlinevirtual |
Setter for padding factor, the factor M by which the new array will be extended (original array, length N, new array length NM)
factor | New length factor for extended array |
|
inlinevirtual |
Setter for reverse end padded, place data at end of array and zero pad out to start.