TTrans Struct Reference

Detailed Description

A step in a transform sequence. Defined here to simplify the definition of TTransSeq (TTranSeq methods would have direct access to the elements in TTrans, but it is easy to add

Definition at line 136 of file trans_seq.h.

Data Fields

unsigned int t
 
unsigned int u
 
unsigned int v
 
double val
 
int s
 
THTransformct
 
double * vect
 
double ** p
 

Field Documentation

unsigned int TTrans::v

Second variable involved in the transform. Only used in Parametrized-Patch transforms

Definition at line 139 of file trans_seq.h.

Referenced by CopyTrans(), DeriveTransSeq(), EvaluateTransSeq(), FixVarInTransSeq(), InitCtTrans(), InitPatchTrans(), InitTVTrans(), InitVarTrans(), PrintTransSeq(), ReplaceVarInTransSeq(), ShiftVariablesInTransSeq(), and TransHasVar().

double TTrans::val

If either variable u or v are fixed but the other variable is still free, the value of the fixed variable is stored here. If both variables are fixed, the transform is constant. This only make sense for PA-like transform where which use two variables. The rest of transforms become constant if one variable is fixed.

Definition at line 141 of file trans_seq.h.

Referenced by CopyTrans(), EvaluateTransSeq(), FixVarInTransSeq(), InitCtTrans(), InitPatchTrans(), InitTVTrans(), InitVarTrans(), and PrintTransSeq().

int TTrans::s

Sign of the transform. If negative the transform has to be inverted

Definition at line 148 of file trans_seq.h.

Referenced by AddTrans2TransSeq(), CopyTrans(), DeriveTransSeq(), EvaluatePATrans(), EvaluateTrans(), EvaluateTransSeq(), InitCtTrans(), InitPatchTrans(), InitTVTrans(), InitVarTrans(), PrintTransSeq(), and TransInvert().

double* TTrans::vect

Displacement vector for TV transforms

Definition at line 152 of file trans_seq.h.

Referenced by CopyTrans(), DeleteTrans(), DeriveTransSeq(), EvaluateTrans(), EvaluateTransSeq(), InitCtTrans(), InitPatchTrans(), InitTVTrans(), InitVarTrans(), and PrintTransSeq().

double** TTrans::p

Auxiliary 3D points associated with the transform. Only used for Parametrized-Patch transforms

Definition at line 153 of file trans_seq.h.

Referenced by CopyTrans(), DeleteTrans(), DeriveTransSeq(), EvaluateTrans(), EvaluateVectorsPATrans(), InitCtTrans(), InitPatchTrans(), InitTVTrans(), InitVarTrans(), and PrintTransSeq().