#include <BaryPatch.h>
Inheritance diagram for BaryPatch:

Public Member Functions | |
| bool | IsAPoint () |
| bool | IsAPatch () |
| TDPoint * | GetPoint () |
| BaryPatch * | GetPatch () |
| BaryPatch (int ThingName, SelectableThing **Workspace, int DimU, int DimV, int DimW, int UCnx1, int UCnx2, int VCnx1, int VCnx2, int WCnx1, int WCnx2, SSMatrix *TransfoMatrice, int ***RefPointsI, TDPoint **LevelPointsTable) | |
| ~BaryPatch () | |
| void | draw (ManipulatedFrame *MF) |
| int | UUnSilentDim () |
| int | VUnSilentDim () |
| int | WUnSilentDim () |
| int | WhatsMyNumber () |
| void | UpdateNameTag () |
| void | drawQuad (Vec P1, Vec P2, Vec P3, Vec P4) |
| void | SelectAll () |
| void | UpdateMatrixPoints () |
Public Attributes | |
| int | _DimU |
| int | _DimV |
| int | _DimW |
| int | _UCnx1 |
| int | _UCnx2 |
| int | _VCnx1 |
| int | _VCnx2 |
| int | _WCnx1 |
| int | _WCnx2 |
| SSMatrix * | _TransfoMatrice |
| int *** | _RefPointsIndiceTable |
| Vec *** | _MatrixPoints |
| TDPoint ** | _LevelPointsTable |
| BaryPatch::BaryPatch | ( | int | ThingName, | |
| SelectableThing ** | Workspace, | |||
| int | DimU, | |||
| int | DimV, | |||
| int | DimW, | |||
| int | UCnx1, | |||
| int | UCnx2, | |||
| int | VCnx1, | |||
| int | VCnx2, | |||
| int | WCnx1, | |||
| int | WCnx2, | |||
| SSMatrix * | TransfoMatrice, | |||
| int *** | RefPointsI, | |||
| TDPoint ** | LevelPointsTable | |||
| ) | [inline] |
Basic constructor
| BaryPatch::~BaryPatch | ( | ) | [inline] |
Destructor
| void BaryPatch::draw | ( | ManipulatedFrame * | MF | ) | [inline, virtual] |
Draws perturbations and patches of a given level, going down the patch tree
Implements SelectableThing.
| void BaryPatch::drawQuad | ( | Vec | P1, | |
| Vec | P2, | |||
| Vec | P3, | |||
| Vec | P4 | |||
| ) | [inline] |
Draw a quadrilateral using 4 points
| BaryPatch* BaryPatch::GetPatch | ( | ) | [inline, virtual] |
| TDPoint* BaryPatch::GetPoint | ( | ) | [inline, virtual] |
| bool BaryPatch::IsAPatch | ( | ) | [inline, virtual] |
| bool BaryPatch::IsAPoint | ( | ) | [inline, virtual] |
| void BaryPatch::SelectAll | ( | ) | [inline] |
Selects all perturbation points of the level
| void BaryPatch::UpdateMatrixPoints | ( | ) | [inline] |
Rebuilds _ProjectedTransfoMatrix projecting the barycentric coordinates of my points (columns of cumulated TransfoMatrices) according to level 0 reference point position and previous level perturbations we suppose this patch's parent _ProjectedTransfoMatrix is already updated we propagate the _ProjectedTransfoMatrix updating to children patches
| void BaryPatch::UpdateNameTag | ( | ) | [inline, virtual] |
Selectable thing inherited, updates the name tag of the point
Implements SelectableThing.
| int BaryPatch::UUnSilentDim | ( | ) | [inline] |
Returns 1 when dimension on axis U is > 1, 0 else
| int BaryPatch::VUnSilentDim | ( | ) | [inline] |
Returns 1 when dimension on axis V is > 1, 0 else
| int BaryPatch::WhatsMyNumber | ( | ) | [inline] |
Returns the number of the patch
| int BaryPatch::WUnSilentDim | ( | ) | [inline] |
Returns 1 when dimension on axis W is > 1, 0 else
| int BaryPatch::_DimU |
Dimension of the patch (how many points on the axis U)
| int BaryPatch::_DimV |
Dimension of the patch (how many points on the axis V)
| int BaryPatch::_DimW |
Dimension of the patch (how many points on the axis W)
The level zero points are identified by indices in a table containing all level 0 points
| Vec*** BaryPatch::_MatrixPoints |
The (x,y,z) coordinates of the _RefPointsIndiceTable
The level zero points are identified by indices in a table containing all level 0 points
Each point of the patch has a position which is determined by the coordinates of a cumulated TransfoMatrix column in the barycentric space related to some of the level zero points with previous level perturbations coming into account too _TransfoMatrix is the last transformation applied in the tree branch of transformation leading to this patch. This patch's points' positions in 3d space are the result of applying _TransfoMatrix to my parent's points and adding my perturbation.
The connection patterns of the patch on this axis : what point does the connexion begin at?
The connection patterns of the patch on this axis : what point does the connexion end at?
The connection patterns of the patch on this axis : what point does the connexion begin at?
The connection patterns of the patch on this axis : what point does the connexion end at?
The connection patterns of the patch on this axis : what point does the connexion begin at?
The connection patterns of the patch on this axis : what point does the connexion end at?
1.4.7