TexGen
|
Represents a textile cell containing yarns. More...
#include <Simulation.h>
Public Member Functions | |
CSimulation (void) | |
virtual | ~CSimulation (void) |
void | ClearDeformationSteps () |
Clear all deformation steps. More... | |
void | AddDeformationStep (const CLinearTransformation &Deformation) |
Add a deformation step. More... | |
const vector< CLinearTransformation > & | GetDeformationSteps () const |
Get the list of deformation steps. More... | |
void | SetDeformationSteps (const vector< CLinearTransformation > &DeformationSteps) |
Set the list of deformation steps. More... | |
const CLinearTransformation & | GetDeformation () const |
Return the final deformation in the series or identity if none exist. More... | |
void | SetDeformation (const CLinearTransformation &Deformation) |
Set the deformation, this will clear all existing deformations. More... | |
Protected Attributes | |
vector< CLinearTransformation > | m_DeformationSteps |
Represents a textile cell containing yarns.
Definition at line 29 of file Simulation.h.
CSimulation::CSimulation | ( | void | ) |
Definition at line 25 of file Simulation.cpp.
|
virtual |
Definition at line 29 of file Simulation.cpp.
void CSimulation::AddDeformationStep | ( | const CLinearTransformation & | Deformation | ) |
Add a deformation step.
Definition at line 52 of file Simulation.cpp.
References m_DeformationSteps.
Referenced by SetDeformation().
void CSimulation::ClearDeformationSteps | ( | ) |
Clear all deformation steps.
Definition at line 47 of file Simulation.cpp.
References m_DeformationSteps.
Referenced by SetDeformation().
const CLinearTransformation & CSimulation::GetDeformation | ( | ) | const |
Return the final deformation in the series or identity if none exist.
This function is useful if the simulation consists of a single deformation step otherwise use GetDeformationSteps.
Definition at line 33 of file Simulation.cpp.
References m_DeformationSteps.
|
inline |
Get the list of deformation steps.
Definition at line 42 of file Simulation.h.
void CSimulation::SetDeformation | ( | const CLinearTransformation & | Deformation | ) |
Set the deformation, this will clear all existing deformations.
This function is useful if the simulation consists of a single deformation step otherwise use AddDeformationStep or SetDeformationSteps.
Definition at line 41 of file Simulation.cpp.
References AddDeformationStep(), and ClearDeformationSteps().
|
inline |
Set the list of deformation steps.
Definition at line 45 of file Simulation.h.
|
protected |
Definition at line 62 of file Simulation.h.
Referenced by AddDeformationStep(), ClearDeformationSteps(), TexGen::CSimulationAbaqus::CreateAbaqusInputFile(), and GetDeformation().