bool timeVarying()
Check whether the transform is timeVarying.
-
function definition:
bool timeVarying() const
-
parameters: NONE
- output: (bool) Returns true if the child transform is time varying, false otherwise
void train(const QList<[TemplateList][../templatelist/templatelist.md)> &data)
Call train on the child transform
-
function defintion:
void train(const QList<TemplateList> &data)
-
parameters:
Parameter Type Description data const QList<TemplateList> & The training data -
output: (void)
void project(const Template &src, Template &dst)
Call project on the child transform
-
function definition:
void project(const Template &src, Template &dst) const
-
parameters:
Parameter Type Description src const Template & The input template dst Template & The output template -
output: (void)
void project(const TemplateList &src, TemplateList &dst)
Call project on the child transform
-
function definition:
void project(const TemplateList &src, TemplateList &dst) const
-
parameters:
Parameter Type Description src const TemplateList & The input template list dst TemplateList & The output template list -
output: (void)
void projectUpdate(const Template &src, Template &dst)
Call projectUpdate on the child transform
-
function definition:
void projectUpdate(const Template &src, Template &dst)
-
parameters:
Parameter Type Description src const Template & The input template dst Template & The output template -
output: (void)
void projectUpdate(const TemplateList &src, TemplateList &dst)
Call projectUpdate on the child transform
-
function definition:
void projectUpdate(const TemplateList &src, TemplateList &dst)
-
parameters:
Parameter Type Description src const TemplateList & The input template list dst TemplateList & The output template list -
output: (void)
void init()
Initialize the transform. Sets trainable to match the child transform (if the child is trainable so is the wrapper)
-
function definition:
void init()
-
parameters: NONE
- output: (void)
void finalize(TemplateList &output)
This is a virtual function. Call finalize on the child transform
-
function definition:
virtual void finalize(TemplateList &output)
-
parameters:
Parameter Type Description output const TemplateList & The output to finalize -
output: (void)
Transform *simplify(bool &newTransform)
This is a virtual function. Calls simplify on the child transform.
-
function definition:
virtual Transform *simplify(bool &newTransform)
-
parameters:
Parameter Type Description newTransform bool & True if a new, simplified, transform was allocated inside this call, false otherwise -
output: (Transform *) Returns itself if the child transform cannot be simplified. newTransform is set to false in this case. If the child can be simplified, a new WrapperTransform is allocated with the child transform set as the simplified version of the old child transform. newTransform is set to true in this case
Transform *smartCopy(bool &newTransform)
Get a smart copy, meaning a copy only if one is required, of this transform
-
function definition:
Transform *smartCopy(bool &newTransform)
-
parameters:
Parameter Type Description newTransform bool & True if a new, simplified, transform was allocated inside this call, false otherwise -
output: (Transform *) Returns itself if the child transform is not time varying (no copy needed). newTransform is set to false in this case. If the child is time varying make a copy by calling smartCopy on the child. newTransform is set to true in this case.