TexGen
|
Respresents a 2d woven textile. More...
#include <TextileWeave2D.h>
Public Member Functions | |
CTextileWeave2D (int iWidth, int iHeight, double dSpacing, double dThickness, bool bRefine=true, bool bInPlaneTangents=true) | |
Build a 2d weave unit cell of given width, height, yarn spacing and fabric thickness. More... | |
CTextileWeave2D (TiXmlElement &Element) | |
~CTextileWeave2D (void) | |
CTextile * | Copy () const |
string | GetType () const |
Derived class should return the class name. More... | |
void | PopulateTiXmlElement (TiXmlElement &Element, OUTPUT_TYPE OutputType) |
Used for saving data to XML. More... | |
string | GetDefaultName () const |
Get the default name to assign to a textile. More... | |
void | SwapPosition (int x, int y) |
Swap the cross over order of yarns at given index. More... | |
void | SwapAll () |
Swap the cross over order of all yarns. More... | |
bool | GetRefine () const |
bool | GetInPlaneTangents () const |
void | RefineTextile (bool bCorrectWidths=true, bool bCorrectInterference=true, bool bPeriodic=true) |
Refine the textile to eliminate interference. More... | |
virtual CDomainPlanes | GetDefaultDomain (bool bSheared=false, bool bAddedDomainHeight=true) |
Get a domain which describes 6 planes triming the textile to a unit cell. More... | |
void | ConvertToPatternDraft () |
void | SetInPlaneTangents (bool bInPlaneTangents=true) const |
Function to set interpolation so that in-plane tangents are forced at master nodes. More... | |
void | SetThickness (double dThickness, bool bAdjustYarnHeights=true) |
Set the thickness of the fabric. More... | |
void | SetXYarnWidths (int iIndex, double dWidth) |
Set the width of the yarn parallel to the X axis, with given index. More... | |
void | SetXYarnWidths (double dWidth) |
Set the width of all the yarns parallel to the X axis. More... | |
void | SetYYarnWidths (int iIndex, double dWidth) |
Set the width of the yarn parallel to the Y axis, with given index. More... | |
void | SetYYarnWidths (double dWidth) |
Set the width of all the yarns parallel to the Y axis. More... | |
void | SetXYarnHeights (int iIndex, double dHeight) |
Set the height of the yarn parallel to the X axis, with given index. More... | |
void | SetXYarnHeights (double dHeight) |
Set the height of all the yarns parallel to the X axis. More... | |
void | SetYYarnHeights (int iIndex, double dHeight) |
Set the height of the yarn parallel to the Y axis, with given index. More... | |
void | SetYYarnHeights (double dHeight) |
Set the height of all the yarns parallel to the Y axis. More... | |
void | SetXYarnSpacings (int iIndex, double dSpacing) |
Set the spacing of the yarn parallel to the X axis, with given index. More... | |
void | SetXYarnSpacings (double dSpacing) |
Set the spacing of all the yarns parallel to the X axis. More... | |
void | SetYYarnSpacings (int iIndex, double dSpacing) |
Set the spacing of the yarn parallel to the Y axis, with given index. More... | |
void | SetYYarnSpacings (double dSpacing) |
Set the spacing of all the yarns parallel to the Y axis. More... | |
double | GetXYarnWidths (int iIndex) const |
Get the width of the yarn parallel to the X axis, with given index. More... | |
double | GetYYarnWidths (int iIndex) const |
Get the width of the yarn parallel to the Y axis, with given index. More... | |
double | GetXYarnHeights (int iIndex) const |
Get the height of the yarn parallel to the X axis, with given index. More... | |
double | GetYYarnHeights (int iIndex) const |
Get the height of the yarn parallel to the Y axis, with given index. More... | |
double | GetXYarnSpacings (int iIndex) const |
Get the spacing of the yarn parallel to the X axis, with given index. More... | |
double | GetYYarnSpacings (int iIndex) const |
Get the spacing of the yarn parallel to the Y axis, with given index. More... | |
double | GetXYarnGapSize (int iIndex) const |
Get the gap size between two yarns parallel to the X axis, with given index. More... | |
double | GetYYarnGapSize (int iIndex) const |
Get the gap size between two yarns parallel to the Y axis, with given index. More... | |
void | SetYarnWidths (double dWidth) |
Set the width of all the yarns in the textile. More... | |
void | SetYarnHeights (double dHeight) |
Set the height of all the yarns in the textile. More... | |
void | SetYarnSpacings (double dSpacing) |
Set the spacing of all the yarns in the textile. More... | |
void | SetGapSize (double dGapSize) |
Set the size of the gap to leave between yarns when correcting interference. More... | |
void | SetResolution (int iResolution) |
Set the resolution of the yarns. More... | |
void | AssignSectionMesh (const CSectionMesh &SectionMesh) |
Assign a section mesh to the weave. More... | |
void | AssignDefaultDomain (bool bSheared=false, bool bAddedHeight=true) |
Get the default domain and assign it as the domain. More... | |
bool | FlattenYarns (double dFlatLevel, int iUpDownBoth=0) |
void | CorrectEdgeInterference () |
double | GetWidth () const |
Get the width of the unit cell. More... | |
double | GetHeight () const |
Get the height of the unit cell. More... | |
int | GetNumXYarns () const |
int | GetNumYYarns () const |
double | GetFabricThickness () const |
double | GetGapSize () const |
double | GetAverageYarnSpacing () const |
double | GetAverageYarnWidth () const |
const vector< PATTERN2D > & | GetCell (int x, int y) const |
int | GetResolution () const |
vector< CYarn * > | GetXYarns (int iIndex) |
vector< CYarn * > | GetYYarns (int iIndex) |
int | GetYarnIndex (int x, int y, int z) const |
CPatternDraft & | GetPatternDraft () |
int | AddYarn (const CYarn &Yarn) |
Add a Yarn to the textile. More... | |
bool | DeleteYarn (int iIndex) |
Delete an Yarn from the textile. More... | |
void | DeleteYarns () |
Delete all Yarns in the textile. More... | |
void | AddNodesToMesh (CMesh &Mesh) |
Add the master nodes to the mesh. More... | |
void | AddPathToMesh (CMesh &Mesh) |
Add yarn centerline path to mesh. More... | |
void | AddSurfaceToMesh (CMesh &Mesh, bool bTrimToDomain=false) |
Create surface mesh for this textile and add it to the mesh object. More... | |
bool | AddSurfaceToMesh (CMesh &Mesh, vector< CMesh > &DomainMeshes, bool bTrimToDomain=false) |
void | AddVolumeToMesh (vector< CMesh > &YarnMeshes, bool bTrimToDomain=false) |
Create volume mesh for each yarn in this textile and add to a vector of meshes. More... | |
void | AddVolumeToMesh (CMesh &Mesh, bool bTrimToDomain=false) |
Create volume mesh for this textile and add it to the mesh object. More... | |
void | AddCentrePlaneToMesh (CMesh &Mesh, bool bTrimToDomain=false) |
Create centre plane mesh for this textile and add it to the mesh object. More... | |
void | GetPointInformation (const vector< XYZ > &Points, vector< POINT_INFO > &PointsInfo, double dTolerance=1e-9) |
Get useful information of a list of points. More... | |
void | GetPointInformation (const vector< XYZ > &Points, vector< POINT_INFO > &PointsInfo, int iYarn, double dTolerance=1e-9, bool bSurface=false) |
Get information when know which yarn point is in. Saves iterating through entire textile. More... | |
void | SavePointInformationToVTK (string Filename, const CMesh &Mesh, double dTolerance=1e-9) |
Output point information to VTK. More... | |
double | GetApproximateSize () |
Get an approximate size for the textile. More... | |
int | DetectInterference (vector< float > &DistanceToSurface, vector< int > &YarnIndex, bool bTrimToDomain, CMesh *pInterferingPoints=NULL) |
Find out if any of the yarns are interfering with each other. More... | |
void | Rotate (WXYZ Rotation, XYZ Origin=XYZ(0, 0, 0)) |
Rotate the Textile by given quaternion. More... | |
void | Translate (XYZ Vector) |
Translate the Textile by given vector. More... | |
string | GetName () const |
Get the name associated with this textile. More... | |
void | AssignDomain (const CDomain &Domain) |
Assign a domain to the textile, will be used by default to trim the domain. More... | |
void | RemoveDomain () |
Remove the domain. More... | |
double | GetYarnLength (string Units="m") |
Calculate the total yarn length. More... | |
double | GetYarnLengthPerUnitArea (string Units="/m") |
Calculate the total yarn length per unit area. More... | |
double | GetYarnVolume (string Units="m^3") |
Calculate the yarn volume. More... | |
double | GetYarnVolumePerUnitArea (string Units="m") |
Calculate the total yarn volume per unit area. More... | |
double | GetFibreVolume (string Units="m^3") |
Calculate the volume of fibre in the yarn, for just the nodes specified. More... | |
double | GetFibreVolumePerUnitArea (string Units="m") |
Calculate the volume of fibre per unit area. More... | |
double | GetFibreYarnVolumeFraction () |
Calculates the total fibre volume fraction for all yarns. More... | |
double | GetQuickDomainVolumeFraction () |
Calculates the fibre volume fraction for the domain. More... | |
double | GetDomainVolumeFraction () |
Calculates the fibre volume fraction for the domain. More... | |
void | SetAllYarnsYoungsModulusX (double dValue, string Units="MPa") |
Set the Youngs Modulus for all yarns in textile. More... | |
void | SetAllYarnsYoungsModulusY (double dValue, string Units="MPa") |
void | SetAllYarnsYoungsModulusZ (double dValue, string Units="MPa") |
void | SetAllYarnsShearModulusXY (double dValue, string Units="MPa") |
Set the shear modulus for all yarns in textile. More... | |
void | SetAllYarnsShearModulusXZ (double dValue, string Units="MPa") |
void | SetAllYarnsShearModulusYZ (double dValue, string Units="MPa") |
void | SetAllYarnsAlphaX (double dValue, string Units="/K") |
Set the coefficient of thermal expansion for all yarns in textile. More... | |
void | SetAllYarnsAlphaY (double dValue, string Units="/K") |
void | SetAllYarnsAlphaZ (double dValue, string Units="/K") |
void | SetAllYarnsPoissonsRatioX (double dValue) |
Set the Poisson's ratio for all yarns in textile. More... | |
void | SetAllYarnsPoissonsRatioY (double dValue) |
void | SetAllYarnsPoissonsRatioZ (double dValue) |
bool | ConvertToInterpNodes () const |
CTextileWeave * | GetWeave () |
If this textile is a woven textile get a pointer of that type else return NULL. More... | |
CTextileWeave2D * | GetWeave2D () |
CTextile3DWeave * | Get3DWeave () |
CTextileOrthogonal * | GetOrthogonalWeave () |
CTextileLayered * | GetLayeredTextile () |
CTextileLayerToLayer * | GetLayerToLayerWeave () |
CTextileDecoupledLToL * | GetDecoupledLToLWeave () |
CTextileAngleInterlock * | GetAngleInterlockWeave () |
int | GetNumYarns () const |
const CYarn * | GetYarn (int iIndex) const |
CYarn * | GetYarn (int iIndex) |
const vector< CYarn > & | GetYarns () const |
vector< CYarn > & | GetYarns () |
const CDomain * | GetDomain () const |
CDomain * | GetDomain () |
bool | SetGeometryScale (string Units) |
Set the scale of the geometry. More... | |
void | SetArealDensity (double dValue, string Units="kg/m^2") |
Set the areal density, i.e. the mass per unit area of fabric. More... | |
void | ResetArealDensity () |
void | SetMatrixYoungsModulus (double dValue, string Units="MPa") |
Set the Young's modulus for matrix. More... | |
void | SetMatrixPoissonsRatio (double dValue) |
Set the Poisson's ration for matrix. More... | |
void | SetMatrixAlpha (double dValue) |
Set the coefficient of thermal expansion for the matrix. More... | |
string | GetGeometryScale () const |
double | GetArealDensity (string Units="kg/m^2") const |
double | GetMatrixYoungsModulus (string Units="MPa") const |
double | GetMatrixPoissonsRatio () const |
double | GetMatrixAlpha () const |
void | SetYarnLinearDensity (double dValue, string Units="kg/m") |
Set the fibre linear density, i.e. the mass per unit length of fibre. More... | |
void | SetFibreDensity (double dValue, string Units="kg/m^3") |
Set the fibre density, i.e. the mass per unit volume of fibre. More... | |
void | SetFibreDiameter (double dValue, string Units="m") |
Set the fibre diameter. More... | |
void | SetFibresPerYarn (int iValue) |
Set the number of fibres in a yarn. More... | |
void | SetYoungsModulus (double dValue, string Units="MPa") |
Set the Young's modulus for a yarn. More... | |
void | SetYoungsModulusX (double dValue, string Units="MPa") |
void | SetYoungsModulusY (double dValue, string Units="MPa") |
void | SetYoungsModulusZ (double dValue, string Units="MPa") |
void | SetShearModulusXY (double dValue, string Units="MPa") |
Set the Shear modulus for a yarn. More... | |
void | SetShearModulusXZ (double dValue, string Units="MPa") |
void | SetShearModulusYZ (double dValue, string Units="MPa") |
void | SetPoissonsRatio (double dValue) |
Set the Poisson's ratio for a yarn. More... | |
void | SetPoissonsRatioX (double dValue) |
void | SetPoissonsRatioY (double dValue) |
void | SetPoissonsRatioZ (double dValue) |
void | SetAlphaX (double dValue, string Units="/K") |
Set the coefficients of thermal expansion for a yarn. More... | |
void | SetAlphaY (double dValue, string Units="/K") |
void | SetAlphaZ (double dValue, string Units="/K") |
void | SetFibreArea (double dValue, string Units="m^2") |
Set the area occupied by fibres in a yarn cross-section. More... | |
void | ResetYarnLinearDensity () |
void | ResetFibreDensity () |
void | ResetFibreDiameter () |
void | ResetFibresPerYarn () |
void | ResetFibreArea () |
void | ResetYoungsModulusX () |
void | ResetYoungsModulusY () |
void | ResetYoungsModulusZ () |
void | ResetShearModulusXY () |
void | ResetShearModulusXZ () |
void | ResetShearModulusYZ () |
void | ResetAlphaX () |
void | ResetAlphaY () |
void | ResetAlphaZ () |
void | ResetPoissonsRatioX () |
void | ResetPoissonsRatioY () |
void | ResetPoissonsRatioZ () |
double | GetYarnLinearDensity (string Units="kg/m") const |
double | GetFibreDensity (string Units="kg/m^3") const |
double | GetFibreDiameter (string Units="m") const |
int | GetFibresPerYarn () const |
double | GetFibreArea (string Units="m^2") const |
Get the area occupied by fibres given fibre diameter and number of fibres. More... | |
double | GetYoungsModulusX (string Units="MPa") const |
double | GetYoungsModulusY (string Units="MPa") const |
double | GetYoungsModulusZ (string Units="MPa") const |
double | GetShearModulusXY (string Units="MPa") const |
double | GetShearModulusXZ (string Units="MPa") const |
double | GetShearModulusYZ (string Units="MPa") const |
double | GetAlphaX (string Units="/K") const |
double | GetAlphaY (string Units="/K") const |
double | GetAlphaZ (string Units="/K") const |
double | GetPoissonsRatioX () const |
double | GetPoissonsRatioY () const |
double | GetPoissonsRatioZ () const |
Protected Member Functions | |
bool | BuildTextile () const |
Build the textile. More... | |
virtual void | Refine (bool bCorrectWidths=true, bool bCorrectInterference=true, bool bPeriodic=true) const |
void | AdjustTangents () const |
virtual bool | AdjustSectionsForRotation (bool bPeriodic=true) const |
void | SetInPlaneTangents (int Yarn, bool bInPlaneTangents=true) const |
vector< PATTERN2D > & | GetCell (int x, int y) |
bool | Valid () const |
Check that the weave pattern contained in m_Pattern is valid. More... | |
virtual void | CorrectInterference () const |
Adjust cross section shapes to correct interference. More... | |
bool | NeedsMidSection (int iYarn, int iSection) const |
void | CorrectYarnWidths () const |
Adjust cross section widths to avoid interference. More... | |
pair< int, int > | GetCellCoordinates (int iIndex) const |
int | AddYarn (const CYarn &Yarn) const |
bool | BuildTextileIfNeeded () const |
Build the textile only if needed. More... | |
void | CleanUp () |
void | SetDefaultMatrixProperties () |
Set default matrix properties as specified by DefaultProperties.h. More... | |
void | SetDefaultProperties () |
Set default properties as specified by DefaultProperties.h. More... | |
Protected Attributes | |
bool | m_bRefine |
bool | m_bInPlaneTangents |
CPatternDraft | m_PatternDraft |
Class for generating pattern draft from weave pattern. More... | |
int | m_iNumXYarns |
int | m_iNumYYarns |
vector< vector< PATTERN2D > > | m_Pattern |
double | m_dGapSize |
double | m_dFabricThickness |
int | m_iResolution |
CObjectContainer< CSectionMesh > | m_pSectionMesh |
vector< YARNDATA > | m_XYarnData |
vector< YARNDATA > | m_YYarnData |
vector< vector< int > > | m_XYarns |
vector< vector< int > > | m_YYarns |
vector< CYarn > | m_Yarns |
Vector of yarns contained within this cell. More... | |
bool | m_bNeedsBuilding |
Variable which keeps track of wether the textile needs building or not. More... | |
CObjectContainer< CDomain > | m_pDomain |
string | m_GeometryScale |
double | m_MatrixPoissonsRatio |
double | m_MatrixAlpha |
int | m_iFibresPerYarn |
double | m_PoissonsRatioX |
double | m_PoissonsRatioY |
double | m_PoissonsRatioZ |
Respresents a 2d woven textile.
Definition at line 30 of file TextileWeave2D.h.
CTextileWeave2D::CTextileWeave2D | ( | int | iWidth, |
int | iHeight, | ||
double | dSpacing, | ||
double | dThickness, | ||
bool | bRefine = true , |
||
bool | bInPlaneTangents = true |
||
) |
Build a 2d weave unit cell of given width, height, yarn spacing and fabric thickness.
Definition at line 28 of file TextileWeave2D.cpp.
References TexGen::CTextileWeave::GetCell(), TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::PATTERN_XYARN, and TexGen::PATTERN_YYARN.
CTextileWeave2D::CTextileWeave2D | ( | TiXmlElement & | Element | ) |
Definition at line 50 of file TextileWeave2D.cpp.
References m_bInPlaneTangents, and m_bRefine.
CTextileWeave2D::~CTextileWeave2D | ( | void | ) |
Definition at line 46 of file TextileWeave2D.cpp.
|
inherited |
Create centre plane mesh for this textile and add it to the mesh object.
Mesh | Mesh to add elements to |
bTrimToDomain | Mesh inserted will be clipped to the domain size |
Definition at line 319 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.
|
inherited |
Add the master nodes to the mesh.
Definition at line 165 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Add yarn centerline path to mesh.
Definition at line 176 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Create surface mesh for this textile and add it to the mesh object.
Mesh | Mesh to add elements to |
bTrimToDomain | Mesh inserted will be clipped to the domain size |
Definition at line 187 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CSurfaceMesh::SaveSurfaceMesh(), and TexGen::CTetgenMesh::SaveTetgenMesh().
|
inherited |
Create surface mesh for this textile and add it to the mesh object Create meshes for domain plane faces with yarn intersection polygons included
Mesh | Mesh to add elements to |
bTrimToDomain | Mesh inserted will be clipped to the domain size |
DomainMeshes | Vector of meshes, one for each face of the domain |
Definition at line 201 of file Textile.cpp.
References TexGen::CMesh::AddElement(), TexGen::CMesh::AddNode(), TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CMesh::ConvertTriToQuad(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNumNodes(), TexGen::CTextile::m_pDomain, TexGen::CTextile::m_Yarns, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::CMesh::POLYGON, and TGERROR.
|
inherited |
Create volume mesh for this textile and add it to the mesh object.
Mesh | Mesh to add elements to |
bTrimToDomain | Mesh inserted will be clipped to the domain size |
Definition at line 287 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.
|
inherited |
Create volume mesh for each yarn in this textile and add to a vector of meshes.
YarnMeshes | Vector of meshes, one for each yarn, to add elements to |
bTrimToDomain | Mesh inserted will be clipped to the domain size |
Definition at line 301 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CAdjustMeshInterference::AdjustTextileMesh(), and TexGen::CSimulationAbaqus::CreateAbaqusInputFile().
|
inherited |
Add a Yarn to the textile.
Definition at line 122 of file Textile.cpp.
References TexGen::CTextile::m_Yarns.
Referenced by TexGen::CTextileLayered::AddLayer(), TexGen::CTextileLayerToLayer::BuildLayerToLayerTextile(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), and TexGen::CTextile::CTextile().
|
protectedinherited |
Definition at line 137 of file Textile.cpp.
References TexGen::CTextile::m_Yarns.
|
protectedvirtual |
Definition at line 91 of file TextileWeave2D.cpp.
References TexGen::CYarn::AssignSection(), TexGen::CSectionEllipse::Copy(), TexGen::CSection::Copy(), TexGen::CYarnSection::Copy(), TexGen::CTextileWeave::GetCell(), TexGen::CYarnSectionInterpNode::GetNodeSection(), TexGen::CSection::GetType(), TexGen::CYarnSection::GetType(), TexGen::CYarn::GetYarnSection(), TexGen::CTextileWeave::m_dFabricThickness, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_XYarnData, TexGen::CTextileWeave::m_XYarns, TexGen::CTextile::m_Yarns, TexGen::CTextileWeave::m_YYarnData, TexGen::CTextileWeave::m_YYarns, NULL, TexGen::PATTERN_YYARN, and TexGen::CYarnSectionInterpNode::ReplaceSection().
Referenced by Refine().
|
protected |
Definition at line 262 of file TextileWeave2D.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_XYarns, TexGen::CTextile::m_Yarns, and TexGen::CTextileWeave::m_YYarns.
Referenced by TexGen::CShearedTextileWeave2D::BuildTextile(), and BuildTextile().
|
inherited |
Get the default domain and assign it as the domain.
This is the same as AssignDomain(GetDefaultDomain))
Definition at line 1076 of file TextileWeave.cpp.
References TexGen::CTextile::AssignDomain(), and TexGen::CTextileWeave::GetDefaultDomain().
|
inherited |
Assign a domain to the textile, will be used by default to trim the domain.
Definition at line 724 of file Textile.cpp.
References TexGen::CTextile::m_pDomain.
Referenced by TexGen::CTextile3DWeave::AssignDefaultDomain(), TexGen::CTextileWeave::AssignDefaultDomain(), and TexGen::CTextile3DWeave::SetDomainZValues().
|
inherited |
Assign a section mesh to the weave.
Definition at line 412 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextileWeave::m_pSectionMesh.
|
protectedvirtual |
Build the textile.
The weave is built based on the pattern contained in m_Pattern and the data in m_YYarnData and m_XYarnData. The pattern is essentially a 3D array of bools, where true represents a yarn going parallel to the x axis and false representing a yarn going parallel to the y axis. The Yarn data contains yarn width and height, and horizontal spacing between yarns. The spacing value corresponds to the spacing between the centerline of the yarn and the centerline of the next yarn after it. There is one set of width, height and spacing variables for each set of vertically grouped yarns. The assumption is that all vertically grouped yarns will have the same values, this can easily be extended however. The fabric thickness determines the vertical spacing, the spacing between yarns vertically is the fabric thickness divided by the number of yarns crossing over each other. Another limitation here is that the vertical spacing is the same between all vertical yarns. Again something that could easily be extended.
This function is made virtual so that sub-classes may define a completely new build function or more likely extend this one.
Reimplemented from TexGen::CTextileWeave.
Definition at line 291 of file TextileWeave2D.cpp.
References AdjustTangents(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextile::GetName(), m_bInPlaneTangents, m_bRefine, Refine(), SetInPlaneTangents(), and TGLOGINDENT.
|
protectedinherited |
Build the textile only if needed.
Note: This is only relavant for classes which derive from CTextile and handle the construction of yarns automatically. Note that it may seem strange that this function should be declared as const, but it is to allow dynamic building of the textile when necessary even from within const functions.
Definition at line 710 of file Textile.cpp.
References TexGen::CTextile::BuildTextile(), and TexGen::CTextile::m_bNeedsBuilding.
Referenced by TexGen::CTextile::AddCentrePlaneToMesh(), TexGen::CTextile::AddNodesToMesh(), TexGen::CTextile::AddPathToMesh(), TexGen::CTextile::AddSurfaceToMesh(), TexGen::CTextile::AddVolumeToMesh(), TexGen::CTextile3DWeave::CheckUpVectors(), TexGen::CTextile::DetectInterference(), TexGen::CTextile::GetApproximateSize(), TexGen::CTextile::GetDomainVolumeFraction(), TexGen::CTextile::GetFibreVolume(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CTextile::GetFibreYarnVolumeFraction(), TexGen::CTextile::GetNumYarns(), TexGen::CTextile::GetPointInformation(), TexGen::CTextile::GetQuickDomainVolumeFraction(), TexGen::CTextile3DWeave::GetXYarns(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextile::GetYarn(), TexGen::CTextile::GetYarnLength(), TexGen::CTextile::GetYarnLengthPerUnitArea(), TexGen::CTextile::GetYarns(), TexGen::CTextile::GetYarnVolume(), TexGen::CTextile::GetYarnVolumePerUnitArea(), TexGen::CTextile3DWeave::GetYYarns(), TexGen::CTextileWeave::GetYYarns(), TexGen::CTextile::PopulateTiXmlElement(), TexGen::CTextile::Rotate(), TexGen::CTextile::SetAllYarnsAlphaX(), TexGen::CTextile::SetAllYarnsAlphaY(), TexGen::CTextile::SetAllYarnsAlphaZ(), TexGen::CTextile::SetAllYarnsPoissonsRatioX(), TexGen::CTextile::SetAllYarnsPoissonsRatioY(), TexGen::CTextile::SetAllYarnsPoissonsRatioZ(), TexGen::CTextile::SetAllYarnsShearModulusXY(), TexGen::CTextile::SetAllYarnsShearModulusXZ(), TexGen::CTextile::SetAllYarnsShearModulusYZ(), TexGen::CTextile::SetAllYarnsYoungsModulusX(), TexGen::CTextile::SetAllYarnsYoungsModulusY(), TexGen::CTextile::SetAllYarnsYoungsModulusZ(), TexGen::CTextile3DWeave::SetDomainZValues(), TexGen::CTextile::SetResolution(), and TexGen::CTextile::Translate().
|
protectedinherited |
Remove all dynamic memory (called by destructor and copy constructor) Not to be used to empty the yarn data for re-use
|
inherited |
Converts each yarn with constant cross-section to interpolate sections between nodes Sets the section at each node to the original section
Definition at line 1201 of file Textile.cpp.
References TexGen::CTextile::m_Yarns.
Referenced by TexGen::CShearedTextileWeave2D::Refine().
|
virtual |
Reimplemented from TexGen::CTextileWeave.
Definition at line 636 of file TextileWeave2D.cpp.
References TexGen::CPatternDraft::AddRow(), TexGen::CPatternDraft::ClearWeavePattern(), TexGen::CTextileWeave::GetCell(), TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_PatternDraft, and TexGen::PATTERN_XYARN.
|
inlinevirtual |
Reimplemented from TexGen::CTextileWeave.
Definition at line 38 of file TextileWeave2D.h.
|
inherited |
Definition at line 1158 of file TextileWeave.cpp.
References TexGen::CYarnSectionInterpNode::AddSection(), TexGen::CSection::Copy(), TexGen::CYarnSection::Copy(), TexGen::GetLength(), TexGen::CYarn::GetMasterNodes(), TexGen::CYarnSectionInterpNode::GetNodeSection(), TexGen::CSection::GetType(), TexGen::CSectionEllipse::GetWidth(), TexGen::CYarn::GetYarnSection(), TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_XYarns, TexGen::CTextile::m_Yarns, TexGen::CTextileWeave::m_YYarns, NULL, TexGen::CNode::SetPosition(), TexGen::CSectionEllipse::SetWidth(), TexGen::XYZ::x, and TexGen::XYZ::y.
|
protectedvirtualinherited |
Adjust cross section shapes to correct interference.
Cross section shapes will be adjusted in order to remove interference, this is done by shrinking the position of the nodes where they interfere. The cross sections are replaced with polygons to provide an interference free shape.
Definition at line 626 of file TextileWeave.cpp.
References TexGen::CYarnSectionInterpNode::AddSection(), TexGen::CSection::AssignSectionMesh(), TexGen::CMesh::Clear(), TexGen::CMesh::Convert3Dto2D(), TexGen::CMesh::ConvertQuadstoTriangles(), TexGen::CrossProduct(), TexGen::DotProduct(), TexGen::YARN_POSITION_INFORMATION::dSectionPosition, TexGen::CTextile::GetName(), TexGen::CInterpolation::GetNode(), TexGen::CYarnSectionInterpNode::GetNodeSection(), TexGen::CYarnSection::GetSection(), TexGen::CNode::GetTangent(), TexGen::CNode::GetUp(), TexGen::CYarnSectionInterpNode::InsertSection(), TexGen::CMesh::IntersectLine(), TexGen::YARN_POSITION_INFORMATION::iSection, TexGen::CTextileWeave::m_dGapSize, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_pSectionMesh, TexGen::CTextileWeave::m_XYarns, TexGen::CTextile::m_Yarns, TexGen::CTextileWeave::m_YYarns, TexGen::CTextileWeave::NeedsMidSection(), TexGen::YARN_POSITION_INFORMATION::SectionLengths, TGLOGINDENT, TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by TexGen::CShearedTextileWeave2D::Refine(), and Refine().
|
protectedinherited |
Adjust cross section widths to avoid interference.
Find out the maximum yarn width to avoid interference leaving a gap of given size. This should be called before correct interference, if correct interference is called with too large yarn widths the results will not be good.
Definition at line 418 of file TextileWeave.cpp.
References TexGen::CSection::AssignSectionMesh(), TexGen::CMesh::Clear(), TexGen::CMesh::Convert3Dto2D(), TexGen::CMesh::ConvertQuadstoTriangles(), TexGen::CrossProduct(), TexGen::DotProduct(), TexGen::YARN_POSITION_INFORMATION::dSectionPosition, TexGen::GetLength(), TexGen::CTextile::GetName(), TexGen::CInterpolation::GetNode(), TexGen::CYarnSection::GetSection(), TexGen::CNode::GetTangent(), TexGen::CNode::GetUp(), TexGen::CMesh::IntersectLine(), TexGen::YARN_POSITION_INFORMATION::iSection, TexGen::CTextileWeave::m_dGapSize, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_pSectionMesh, TexGen::CTextileWeave::m_XYarnData, TexGen::CTextileWeave::m_XYarns, TexGen::CTextile::m_Yarns, TexGen::CTextileWeave::m_YYarnData, TexGen::CTextileWeave::m_YYarns, TexGen::YARN_POSITION_INFORMATION::SectionLengths, TGLOG, TGLOGINDENT, TexGen::XYZ::x, and TexGen::XYZ::y.
Referenced by Refine().
|
inherited |
Delete an Yarn from the textile.
iIndex | The index of the yarn to delete |
Definition at line 152 of file Textile.cpp.
References TexGen::CTextile::m_Yarns.
|
inherited |
Delete all Yarns in the textile.
Definition at line 160 of file Textile.cpp.
References TexGen::CTextile::m_Yarns.
|
inherited |
Find out if any of the yarns are interfering with each other.
Definition at line 577 of file Textile.cpp.
References TexGen::CMesh::AddNode(), TexGen::BoundingBoxIntersect(), TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CMesh::Clear(), TexGen::CMesh::GetAABB(), TexGen::CTextile::GetName(), TexGen::CTextile::m_pDomain, TexGen::CTextile::m_Yarns, TexGen::CYarn::SURFACE, TGERROR, TGLOG, and TGLOGINDENT.
Referenced by TexGen::CAdjustMeshInterference::CheckInitialIntersections(), and TexGen::CTexGenRenderer::RenderInterference().
|
inherited |
Move the points of the cross section that lie more than FlatLevel away from the yarn center (and away from the weave center)
dFlatLevel | distance from the yarn center |
iUpDownBoth | -1 if only flattening lower passages, 0 for both, 1 for upper passages |
Definition at line 575 of file TextileWeave.cpp.
References TexGen::YARN_POSITION_INFORMATION::dSectionPosition, TexGen::CYarnSectionInterpNode::GetSection(), TexGen::CYarnSection::GetType(), TexGen::YARN_POSITION_INFORMATION::iSection, TexGen::CTextile::m_Yarns, TexGen::CYarnSectionInterpNode::ReplaceSection(), TexGen::YARN_POSITION_INFORMATION::SectionLengths, TGERROR, and TexGen::XYZ::z.
|
inherited |
Definition at line 867 of file Textile.cpp.
|
inherited |
Definition at line 319 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_AlphaX.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 324 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_AlphaY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 329 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_AlphaZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 887 of file Textile.cpp.
|
inherited |
Get an approximate size for the textile.
This is useful for rendering where the size of certain objects rendered should be relative to the approximate size of the textile.
Definition at line 556 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::GetLength(), TexGen::CTextile::m_Yarns, TexGen::Max(), and TexGen::Min().
Referenced by TexGen::CTexGenRenderer::RenderInterference(), TexGen::CTexGenRenderer::RenderNodes(), and TexGen::CTexGenRenderer::RenderPath().
|
inherited |
Definition at line 93 of file PropertiesTextile.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CPropertiesTextile::m_ArealDensity.
|
inlineinherited |
Definition at line 153 of file TextileWeave.h.
|
inherited |
Definition at line 1087 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_XYarnData, and TexGen::CTextileWeave::m_YYarnData.
|
protectedinherited |
Definition at line 196 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, and TexGen::CTextileWeave::m_Pattern.
|
inherited |
Definition at line 191 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, and TexGen::CTextileWeave::m_Pattern.
Referenced by TexGen::CTextileWeave3D::AddXLayers(), TexGen::CTextileWeave3D::AddYLayers(), TexGen::CShearedTextileWeave2D::AdjustSections(), AdjustSectionsForRotation(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), ConvertToPatternDraft(), TexGen::CShellElementExport::CreateContacts(), TexGen::CSimulationAbaqus::CreateContacts(), CTextileWeave2D(), TexGen::CTextileWeave3D::DeleteXLayers(), TexGen::CTextileWeave3D::DeleteYLayers(), TexGen::CShearedTextileWeave2D::GetCellDir(), TexGen::CTextileWeave3D::GetMaxNumLayers(), TexGen::CTextileWeave3D::GetNumXLayers(), TexGen::CTextileWeave3D::GetNumYLayers(), TexGen::CTextileWeave::GetYarnIndex(), TexGen::CTextileWeave::NeedsMidSection(), TexGen::CTextileWeave3D::PushDown(), TexGen::CTextileWeave3D::PushUp(), SwapPosition(), TexGen::CTextileWeave3D::SwapPosition(), and TexGen::CTextileWeave::Valid().
|
protectedinherited |
Definition at line 186 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns.
Referenced by TexGen::CTextileWeave::PopulateTiXmlElement().
|
inherited |
Definition at line 882 of file Textile.cpp.
|
virtual |
Get a domain which describes 6 planes triming the textile to a unit cell.
Reimplemented from TexGen::CTextileWeave.
Reimplemented in TexGen::CShearedTextileWeave2D.
Definition at line 630 of file TextileWeave2D.cpp.
References TexGen::CTextileWeave::GetDefaultDomain().
|
virtual |
Get the default name to assign to a textile.
Derived classes should have different default names based on the type of textile
Reimplemented from TexGen::CTextileWeave.
Definition at line 589 of file TextileWeave2D.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, and TexGen::stringify().
|
inlineinherited |
Definition at line 287 of file Textile.h.
Referenced by TexGen::CAdjustMeshInterference::AdjustSectionMeshes(), TexGen::CAdjustMeshInterference::AdjustTextileMesh(), TexGen::CGeometrySolver::AssignFibreDirectionToElements(), TexGen::CPrismVoxelMesh::CalculateVoxelSizes(), TexGen::CRectangularVoxelMesh::CalculateVoxelSizes(), TexGen::CRotatedVoxelMesh::CalculateVoxelSizes(), TexGen::CShearedVoxelMesh::CalculateVoxelSizes(), TexGen::CExporter::ConvertTextile(), TexGen::CSimulationAbaqus::CreateAbaqusInputFile(), TexGen::CBasicVolumes::CreateBasicVolumes(), TexGen::CGeometrySolver::CreateSystem(), TexGen::CShearedTextileWeave2D::CreateTopAndBottomMeshes(), TexGen::CTextileDeformer::DeformTextile(), TexGen::CMesher::FillYarnTangentsData(), TexGen::CPrismVoxelMesh::GetElementMap(), TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), TexGen::CShearedTextileWeave2D::Refine(), TexGen::CTexGenRenderer::RefreshYarn(), TexGen::CTexGenRenderer::RenderDomain(), TexGen::CTexGenRenderer::RenderDomainAxes(), TexGen::CTexGenRenderer::RenderGrid(), TexGen::CTexGenRenderer::RenderInterference(), TexGen::CTexGenRenderer::RenderMesh(), TexGen::CTexGenRenderer::RenderTextile(), TexGen::CShellElementExport::SaveShellElementToABAQUS(), TexGen::CSurfaceMesh::SaveSurfaceMesh(), TexGen::CMesher::SaveVolumeMeshToABAQUS(), TexGen::CVoxelMesh::SaveVoxelMesh(), TexGen::COctreeVoxelMesh::SaveVoxelMesh(), and TexGen::CTextile3DWeave::SetDomainZValues().
|
inherited |
Calculates the fibre volume fraction for the domain.
Definition at line 1130 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CMesh::ConvertToTetMesh(), TexGen::CrossProduct(), TexGen::DotProduct(), TexGen::CMesh::GetElementCenters(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CTextile::m_pDomain, TexGen::CTextile::m_Yarns, TexGen::CMesh::TET, TGERROR, and TOL.
|
inlineinherited |
Definition at line 151 of file TextileWeave.h.
|
inherited |
Get the area occupied by fibres given fibre diameter and number of fibres.
Either returns the value stored in m_dFibreArea or calculates it from m_iFibresPerYarn and m_FibreDiameter if they are set OR from m_dYarnLinearDensity and m_dFibreDensity if they are set.
Definition at line 251 of file Properties.cpp.
References TexGen::ConvertUnits(), TexGen::CProperty::GetSIValue(), TexGen::CProperty::GetValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_FibreDiameter, TexGen::CProperties::m_iFibresPerYarn, TexGen::CProperties::m_YarnLinearDensity, and PI.
Referenced by TexGen::CTextile3DWeave::GetFibreArea(), TexGen::CYarn::GetFibreVolume(), TexGen::CSimulationAbaqus::GetSectionVolumeFraction(), and TexGen::CYarn::PointInsideYarn().
|
inherited |
Definition at line 246 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_FibreDensity.
Referenced by TexGen::CYarn::GetFibreVolume(), TexGen::CYarn::GetFibreVolumePerUnitArea(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Definition at line 279 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_FibreDiameter.
Referenced by TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Definition at line 284 of file Properties.cpp.
References TexGen::CProperties::m_iFibresPerYarn.
Referenced by TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Calculate the volume of fibre in the yarn, for just the nodes specified.
Calculates the raw volume of fibre without taking account of repeat vectors or unit cell sizes. This only works when the linear density of the yarns and fibre density are specified.
Definition at line 796 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().
|
inherited |
Calculate the volume of fibre per unit area.
Calculates the volume of fibre per unit area of fabric. This only works when the areal density and fibre density is specified. Alternatively if linear density and fibre density is specified calculation will be based on these values.
Definition at line 809 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::ConvertUnits(), TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CPropertiesTextile::m_ArealDensity, TexGen::CProperties::m_FibreDensity, and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().
|
inherited |
Calculates the total fibre volume fraction for all yarns.
Calculates the volume of fibre divided by the volume of yarn. See GetFibreVolume and GetYarnVolume functions for requirements.
Definition at line 838 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::GetFibreVolume(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CTextile::GetYarnVolume(), and TexGen::CTextile::GetYarnVolumePerUnitArea().
|
inlineinherited |
Definition at line 152 of file TextileWeave.h.
|
inherited |
Definition at line 88 of file PropertiesTextile.cpp.
References TexGen::CPropertiesTextile::m_GeometryScale.
Referenced by TexGen::CSimulationAbaqus::GetSectionVolumeFraction().
|
inherited |
Get the height of the unit cell.
Definition at line 1045 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, and TexGen::CTextileWeave::m_XYarnData.
Referenced by TexGen::CTextileWeave::BuildTextile(), and TexGen::CTextileWeave::GetDefaultDomain().
|
inline |
Definition at line 51 of file TextileWeave2D.h.
|
inherited |
Definition at line 862 of file Textile.cpp.
|
inherited |
Definition at line 877 of file Textile.cpp.
|
inherited |
Definition at line 123 of file PropertiesTextile.cpp.
References TexGen::CPropertiesTextile::m_MatrixAlpha.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 118 of file PropertiesTextile.cpp.
References TexGen::CPropertiesTextile::m_MatrixPoissonsRatio.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 113 of file PropertiesTextile.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CPropertiesTextile::m_MatrixYoungsModulus.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Get the name associated with this textile.
Definition at line 355 of file Textile.cpp.
References TEXGEN.
Referenced by TexGen::CTextileLayerToLayer::BuildLayerToLayerTextile(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextile::DetectInterference(), TexGen::CTexGenRenderer::RenderMesh(), TexGen::CTexGenRenderer::RenderNodes(), TexGen::CTexGenRenderer::RenderPath(), and TexGen::CTexGenRenderer::RenderTextile().
|
inlineinherited |
Definition at line 149 of file TextileWeave.h.
Referenced by TexGen::CShellElementExport::CreateContacts(), and TexGen::CSimulationAbaqus::CreateContacts().
|
inherited |
Definition at line 704 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CAdjustMeshInterference::AdjustMesh(), TexGen::CAdjustMeshInterference::AdjustSectionMeshes(), TexGen::CAdjustMeshInterference::AdjustTextileMesh(), TexGen::CGeometrySolver::AssignFibreDirectionToElements(), TexGen::CSimulationAbaqus::CreateAbaqusInputFile(), TexGen::CSimulationAbaqus::CreateContacts(), TexGen::CGeometrySolver::CreateSystem(), TexGen::CTextileDeformer::DeformTextile(), TexGen::CMesher::FillYarnTangentsData(), TexGen::CShellElementExport::GetElementInfo(), TexGen::CShellElementExport::SaveShellElementToABAQUS(), TexGen::CVoxelMesh::SaveToAbaqus(), TexGen::CMesher::SaveVolumeMeshToABAQUS(), and TexGen::CTextileMaterials::SetupMaterials().
|
inlineinherited |
Definition at line 150 of file TextileWeave.h.
Referenced by TexGen::CShellElementExport::CreateContacts(), and TexGen::CSimulationAbaqus::CreateContacts().
|
inherited |
Definition at line 872 of file Textile.cpp.
|
inlineinherited |
Definition at line 160 of file TextileWeave.h.
|
inherited |
Get useful information of a list of points.
Pass in a vector of point coordinates, for each point it will be determined if it lies within a yarn. If it does then the yarn index along with the tangent of the yarn at that point will be returned along with its 2D location relative to the yarn center line. If the point doesn't lie within the yarn an index of -1 will be returned.
Points | List of points for which the tangents is required |
PointsInfo | Information about the point as described in the POINT_INFO structure |
dTolerance | Points outside the yarn by a distance less than this tolerance will be considered part of the yarn |
Definition at line 410 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::POINT_INFO::dSurfaceDistance, TexGen::POINT_INFO::dVolumeFraction, TexGen::CDomain::GetTranslations(), TexGen::POINT_INFO::iYarnIndex, TexGen::POINT_INFO::Location, TexGen::CTextile::m_Yarns, TexGen::Max(), TexGen::Min(), TexGen::POINT_INFO::Orientation, TexGen::POINT_INFO::Up, and TexGen::POINT_INFO::YarnTangent.
Referenced by TexGen::CSimulationAbaqus::CreateAbaqusInputFile(), TexGen::COctreeVoxelMesh::fillMaterialInfo(), TexGen::CShellElementExport::GetElementInfo(), TexGen::COctreeVoxelMesh::OutputNodes(), TexGen::CPrismVoxelMesh::OutputNodes(), TexGen::CRectangularVoxelMesh::OutputNodes(), TexGen::CRotatedVoxelMesh::OutputNodes(), TexGen::CShearedVoxelMesh::OutputNodes(), TexGen::CTexGenRenderer::RenderGrid(), TexGen::CTetgenMesh::SaveMesh(), TexGen::CTextile::SavePointInformationToVTK(), and TexGen::COctreeVoxelMesh::storePointInfo().
|
inherited |
Get information when know which yarn point is in. Saves iterating through entire textile.
bSurface | default is False. Set to True if getting point information for surface mesh export. Assumes Points are on yarn surface and doesn't do PointInside check |
Definition at line 465 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::POINT_INFO::dSurfaceDistance, TexGen::POINT_INFO::dVolumeFraction, TexGen::CDomain::GetTranslations(), TexGen::POINT_INFO::iYarnIndex, TexGen::POINT_INFO::Location, TexGen::CTextile::m_Yarns, TexGen::Max(), TexGen::Min(), TexGen::POINT_INFO::Orientation, TexGen::POINT_INFO::Up, and TexGen::POINT_INFO::YarnTangent.
|
inherited |
Definition at line 334 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioX.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 339 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 344 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Calculates the fibre volume fraction for the domain.
Uses the fibre volume fraction for whole yarns which may give inaccuracies where the yarn cross-section varies along its length. Useful for quick approximation as the more accurate GetDomainVolumeFraction may be slow.
Definition at line 1092 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CMesh::CalculateVolume(), TexGen::CTextile::m_pDomain, TexGen::CTextile::m_Yarns, TGERROR, and TOL.
|
inline |
Definition at line 50 of file TextileWeave2D.h.
|
inlineinherited |
Definition at line 156 of file TextileWeave.h.
|
inherited |
Definition at line 304 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_ShearModulusXY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 309 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_ShearModulusXZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 314 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_ShearModulusYZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inlinevirtual |
Derived class should return the class name.
Reimplemented from TexGen::CTextileWeave.
Definition at line 39 of file TextileWeave2D.h.
Referenced by RefineTextile().
|
inherited |
If this textile is a woven textile get a pointer of that type else return NULL.
Internally the function just returns dynamic_cast<CTextileWeave*>(this) This is mainly usefull in the python interface because type casting is not supported in this language.
Definition at line 852 of file Textile.cpp.
|
inherited |
Definition at line 857 of file Textile.cpp.
|
inherited |
Get the width of the unit cell.
Definition at line 1031 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, and TexGen::CTextileWeave::m_YYarnData.
Referenced by TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CShearedTextileWeave2D::GetDefaultDomain(), and TexGen::CTextileWeave::GetDefaultDomain().
|
inherited |
Get the gap size between two yarns parallel to the X axis, with given index.
Definition at line 925 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarnData, and TGERROR.
|
inherited |
Get the height of the yarn parallel to the X axis, with given index.
Definition at line 885 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarnData, and TGERROR.
|
inherited |
Definition at line 1104 of file TextileWeave.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarns, TexGen::CTextile::m_Yarns, and TGERROR.
|
inherited |
Get the spacing of the yarn parallel to the X axis, with given index.
Definition at line 905 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarnData, and TGERROR.
|
inherited |
Get the width of the yarn parallel to the X axis, with given index.
Definition at line 865 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarnData, and TGERROR.
|
inherited |
Definition at line 682 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_Yarns, NULL, and TGERROR.
|
inherited |
Definition at line 693 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_Yarns, NULL, and TGERROR.
Referenced by TexGen::CTextileLayered::AddLayer(), TexGen::CAdjustMeshInterference::AdjustSectionMeshes(), TexGen::CTextileLayered::ApplyLayerOffset(), TexGen::CGeometrySolver::AssignFibreDirectionToElements(), TexGen::CAdjustMeshInterference::CheckInitialIntersections(), TexGen::CSimulationAbaqus::CreateAbaqusInputFile(), TexGen::CGeometrySolver::CreateSystem(), TexGen::CMesher::CreateVolumeMesh(), TexGen::CTextileDeformer::DeformTextile(), TexGen::CMesher::FillYarnTangentsData(), TexGen::CTextileLayered::GetLayerMeshes(), TexGen::CTextileLayered::GetLayerRepeats(), TexGen::CSimulationAbaqus::GetSectionVolumeFraction(), TexGen::CShellElementExport::SaveShellElementToABAQUS(), and TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 1139 of file TextileWeave.cpp.
References TexGen::CTextileWeave::GetCell(), TexGen::CTextileWeave::m_XYarns, TexGen::CTextileWeave::m_YYarns, and TexGen::PATTERN_XYARN.
Referenced by TexGen::CShellElementExport::CreateContacts(), and TexGen::CSimulationAbaqus::CreateContacts().
|
inherited |
Calculate the total yarn length.
This is the total length of yarn without taking in account of repeat vectors or unit cell sizes. It is calculated from the geometry alone and uses the m_GeometryScale to give the value in the requested units.
Definition at line 734 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Calculate the total yarn length per unit area.
Calculates the total length of yarn in the unit cell taking into account the repeat vectors. This function only works when each yarn has two repeat vectors assigned to it, otherwise it does not make sense to obtain a length per unit AREA.
Definition at line 747 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 241 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YarnLinearDensity.
Referenced by TexGen::CYarn::GetFibreVolume(), TexGen::CYarn::GetFibreVolumePerUnitArea(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Definition at line 670 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 676 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CTextileLayered::AddLayer(), TexGen::CExporter::ConvertTextile(), TexGen::CBasicVolumes::CreateBasicVolumes(), TexGen::CTexGenRenderer::RefreshYarn(), TexGen::CTexGenRenderer::RenderGrid(), TexGen::CTexGenRenderer::RenderMesh(), TexGen::CTexGenRenderer::RenderNodes(), TexGen::CTexGenRenderer::RenderPath(), TexGen::CTexGenRenderer::RenderPaths(), and TexGen::CTexGenRenderer::RenderTextile().
|
inherited |
Calculate the yarn volume.
This is the raw volume without taking account of repeat vectors or unit cell sizes. It is calculated from the geometry alone and uses the m_GeometryScale to give the value in the requested units.
Definition at line 765 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().
|
inherited |
Calculate the total yarn volume per unit area.
Calculates the volume of yarn in the unit cell taking into account the repeat vectors. This function only works when each yarn has two repeat vectors assigned to it, otherwise it does not make sense to obtain a volume per unit AREA. If 1 repeat vector is given then a volume per unit length would be more suitable, similarly 2 repeat vectors would give a volume per unit volume (i.e. a volume fraction of region occupied by yarns).
Definition at line 778 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().
|
inherited |
Definition at line 289 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YoungsModulusX.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 294 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YoungsModulusY.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Definition at line 299 of file Properties.cpp.
References TexGen::CProperty::GetValue(), and TexGen::CProperties::m_YoungsModulusZ.
Referenced by TexGen::CTextileMaterials::SetupMaterials().
|
inherited |
Get the gap size between two yarns parallel to the Y axis, with given index.
Definition at line 941 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_YYarnData, and TGERROR.
|
inherited |
Get the height of the yarn parallel to the Y axis, with given index.
Definition at line 895 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_YYarnData, and TGERROR.
|
inherited |
Definition at line 1122 of file TextileWeave.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextile::m_Yarns, TexGen::CTextileWeave::m_YYarns, and TGERROR.
|
inherited |
Get the spacing of the yarn parallel to the Y axis, with given index.
Definition at line 915 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_YYarnData, and TGERROR.
|
inherited |
Get the width of the yarn parallel to the Y axis, with given index.
Definition at line 875 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_YYarnData, and TGERROR.
|
protectedinherited |
Definition at line 770 of file TextileWeave.cpp.
References TexGen::CTextileWeave::GetCell(), TexGen::CTextileWeave::m_XYarns, and TexGen::CTextileWeave::m_YYarns.
Referenced by TexGen::CTextileWeave::CorrectInterference().
|
virtual |
Used for saving data to XML.
Reimplemented from TexGen::CTextileWeave.
Definition at line 57 of file TextileWeave2D.cpp.
References m_bInPlaneTangents, m_bRefine, TexGen::CTextileWeave::PopulateTiXmlElement(), and TexGen::stringify().
Referenced by TexGen::CShearedTextileWeave2D::PopulateTiXmlElement().
|
protectedvirtual |
Definition at line 555 of file TextileWeave2D.cpp.
References AdjustSectionsForRotation(), TexGen::CTimer::check(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTimer::start(), and TexGen::CTimer::stop().
Referenced by BuildTextile(), and RefineTextile().
|
virtual |
Refine the textile to eliminate interference.
May be called subsequent to initial generation of textile allowing weave to be modified and then refined Must get CTextile::GetWeave() to use as member of CTextileWeave not CTextile
Reimplemented from TexGen::CTextileWeave.
Definition at line 578 of file TextileWeave2D.cpp.
|
inherited |
Remove the domain.
Definition at line 729 of file Textile.cpp.
References TexGen::CTextile::m_pDomain.
Referenced by TexGen::CTextile3DWeave::SetDomainZValues().
|
inlineinherited |
Definition at line 165 of file Properties.h.
|
inlineinherited |
Definition at line 166 of file Properties.h.
|
inlineinherited |
Definition at line 167 of file Properties.h.
|
inlineinherited |
Definition at line 56 of file PropertiesTextile.h.
|
inlineinherited |
Definition at line 158 of file Properties.h.
|
inlineinherited |
Definition at line 155 of file Properties.h.
|
inlineinherited |
Definition at line 156 of file Properties.h.
|
inlineinherited |
Definition at line 157 of file Properties.h.
|
inlineinherited |
Definition at line 168 of file Properties.h.
|
inlineinherited |
Definition at line 169 of file Properties.h.
|
inlineinherited |
Definition at line 170 of file Properties.h.
|
inlineinherited |
Definition at line 162 of file Properties.h.
|
inlineinherited |
Definition at line 163 of file Properties.h.
|
inlineinherited |
Definition at line 164 of file Properties.h.
|
inlineinherited |
Definition at line 154 of file Properties.h.
|
inlineinherited |
Definition at line 159 of file Properties.h.
|
inlineinherited |
Definition at line 160 of file Properties.h.
|
inlineinherited |
Definition at line 161 of file Properties.h.
Rotate the Textile by given quaternion.
Definition at line 333 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Output point information to VTK.
Makes a call to GetPointInformation and stores the result in a VTK unstructured grid file
Definition at line 521 of file Textile.cpp.
References TexGen::CMeshDataBase::ELEMENT, TexGen::CMesh::GetNodes(), TexGen::CTextile::GetPointInformation(), TexGen::CMeshData< T >::m_Data, and TexGen::CMesh::SaveToVTK().
|
inherited |
Set the coefficient of thermal expansion for all yarns in textile.
Definition at line 1020 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 1032 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 1044 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Set the Poisson's ratio for all yarns in textile.
Definition at line 1056 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 1068 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 1080 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Set the shear modulus for all yarns in textile.
Definition at line 984 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 996 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 1008 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Set the Youngs Modulus for all yarns in textile.
Definition at line 948 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 960 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Definition at line 972 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
inherited |
Set the coefficients of thermal expansion for a yarn.
Definition at line 204 of file Properties.cpp.
References TexGen::CProperties::m_AlphaX, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 209 of file Properties.cpp.
References TexGen::CProperties::m_AlphaY, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 214 of file Properties.cpp.
References TexGen::CProperties::m_AlphaZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Set the areal density, i.e. the mass per unit area of fabric.
Definition at line 83 of file PropertiesTextile.cpp.
References TexGen::CPropertiesTextile::m_ArealDensity, and TexGen::CProperty::SetValue().
|
protectedinherited |
Set default matrix properties as specified by DefaultProperties.h.
Definition at line 128 of file PropertiesTextile.cpp.
References MATRIX_ALPHA, MATRIX_E, MATRIX_POISSON, TexGen::CPropertiesTextile::SetMatrixAlpha(), TexGen::CPropertiesTextile::SetMatrixPoissonsRatio(), and TexGen::CPropertiesTextile::SetMatrixYoungsModulus().
Referenced by TexGen::CPropertiesTextile::CPropertiesTextile().
|
protectedinherited |
Set default properties as specified by DefaultProperties.h.
Definition at line 349 of file Properties.cpp.
References TexGen::CProperties::SetAlphaX(), TexGen::CProperties::SetAlphaY(), TexGen::CProperties::SetAlphaZ(), TexGen::CProperties::SetPoissonsRatioX(), TexGen::CProperties::SetPoissonsRatioY(), TexGen::CProperties::SetPoissonsRatioZ(), TexGen::CProperties::SetShearModulusXY(), TexGen::CProperties::SetShearModulusXZ(), TexGen::CProperties::SetShearModulusYZ(), TexGen::CProperties::SetYoungsModulusX(), TexGen::CProperties::SetYoungsModulusY(), TexGen::CProperties::SetYoungsModulusZ(), YARN_ALPHAX, YARN_ALPHAY, YARN_ALPHAZ, YARN_EX, YARN_EY, YARN_EZ, YARN_GXY, YARN_GXZ, YARN_GYZ, YARN_POISSONX, YARN_POISSONY, and YARN_POISSONZ.
Referenced by TexGen::CProperties::CProperties().
|
inherited |
Set the area occupied by fibres in a yarn cross-section.
If not set it can be calculated from the yarn linear density and fibre density.
Definition at line 140 of file Properties.cpp.
References TexGen::CProperties::m_FibreArea, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibreArea(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the fibre density, i.e. the mass per unit volume of fibre.
Definition at line 130 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_YarnLinearDensity, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibreDensity(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the fibre diameter.
Definition at line 145 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDiameter, TexGen::CProperties::m_iFibresPerYarn, PI, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibreDiameter(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the number of fibres in a yarn.
Definition at line 156 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDiameter, TexGen::CProperties::m_iFibresPerYarn, PI, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetFibresPerYarn(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the size of the gap to leave between yarns when correcting interference.
Definition at line 400 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextileWeave::m_dGapSize.
|
inherited |
Set the scale of the geometry.
If 1 unit represents 1 mm in real world units then the geometry scale should be set to Units::mm. By default the geometry scale is set to millimetres.
Definition at line 68 of file PropertiesTextile.cpp.
References TexGen::CompatibleUnits(), TexGen::CPropertiesTextile::m_GeometryScale, and TGERROR.
void CTextileWeave2D::SetInPlaneTangents | ( | bool | bInPlaneTangents = true | ) | const |
Function to set interpolation so that in-plane tangents are forced at master nodes.
bInPlaneTangents | Set to true to force master node tangents to be in x-y plane |
Definition at line 596 of file TextileWeave2D.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_XYarns, TexGen::CTextileWeave::m_YYarns, and SetInPlaneTangents().
Referenced by TexGen::CShearedTextileWeave2D::BuildTextile(), BuildTextile(), and SetInPlaneTangents().
|
protected |
Definition at line 617 of file TextileWeave2D.cpp.
References TexGen::CInterpolation::GetType(), and TexGen::CTextile::m_Yarns.
|
inherited |
Set the coefficient of thermal expansion for the matrix.
Definition at line 108 of file PropertiesTextile.cpp.
References TexGen::CPropertiesTextile::m_MatrixAlpha.
Referenced by TexGen::CPropertiesTextile::SetDefaultMatrixProperties().
|
inherited |
Set the Poisson's ration for matrix.
Definition at line 103 of file PropertiesTextile.cpp.
References TexGen::CPropertiesTextile::m_MatrixPoissonsRatio.
Referenced by TexGen::CPropertiesTextile::SetDefaultMatrixProperties().
|
inherited |
Set the Young's modulus for matrix.
Definition at line 98 of file PropertiesTextile.cpp.
References TexGen::CPropertiesTextile::m_MatrixYoungsModulus, and TexGen::CProperty::SetValue().
Referenced by TexGen::CPropertiesTextile::SetDefaultMatrixProperties().
|
inherited |
Set the Poisson's ratio for a yarn.
Definition at line 219 of file Properties.cpp.
References TexGen::CProperties::SetPoissonsRatioX(), TexGen::CProperties::SetPoissonsRatioY(), and TexGen::CProperties::SetPoissonsRatioZ().
|
inherited |
Definition at line 226 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioX.
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetPoissonsRatio().
|
inherited |
Definition at line 231 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioY.
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetPoissonsRatio().
|
inherited |
Definition at line 236 of file Properties.cpp.
References TexGen::CProperties::m_PoissonsRatioZ.
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetPoissonsRatio().
|
inherited |
Set the resolution of the yarns.
Definition at line 406 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextileWeave::m_iResolution.
|
inherited |
Set the Shear modulus for a yarn.
Definition at line 189 of file Properties.cpp.
References TexGen::CProperties::m_ShearModulusXY, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 194 of file Properties.cpp.
References TexGen::CProperties::m_ShearModulusXZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Definition at line 199 of file Properties.cpp.
References TexGen::CProperties::m_ShearModulusYZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties().
|
inherited |
Set the thickness of the fabric.
dThickness | New fabric thickness to assign |
bAdjustYarnHeights | If true then yarn heights will be set to half the new thickness |
Definition at line 390 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_dFabricThickness, and TexGen::CTextileWeave::SetYarnHeights().
|
inherited |
Set the height of all the yarns parallel to the X axis.
Definition at line 976 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, and TexGen::CTextileWeave::SetXYarnHeights().
|
inherited |
Set the height of the yarn parallel to the X axis, with given index.
Definition at line 820 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarnData, and TGERROR.
Referenced by TexGen::CTextileWeave::SetXYarnHeights(), and TexGen::CTextileWeave::SetYarnHeights().
|
inherited |
Set the spacing of all the yarns parallel to the X axis.
Definition at line 994 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, and TexGen::CTextileWeave::SetXYarnSpacings().
|
inherited |
Set the spacing of the yarn parallel to the X axis, with given index.
Definition at line 842 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarnData, and TGERROR.
Referenced by TexGen::CTextileWeave::SetXYarnSpacings(), and TexGen::CTextileWeave::SetYarnSpacings().
|
inherited |
Set the width of all the yarns parallel to the X axis.
Definition at line 958 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumXYarns, and TexGen::CTextileWeave::SetXYarnWidths().
|
inherited |
Set the width of the yarn parallel to the X axis, with given index.
Definition at line 798 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_XYarnData, and TGERROR.
Referenced by TexGen::CTextileWeave::SetXYarnWidths(), and TexGen::CTextileWeave::SetYarnWidths().
|
inherited |
Set the height of all the yarns in the textile.
Definition at line 1019 of file TextileWeave.cpp.
References TexGen::CTextileWeave::SetXYarnHeights(), and TexGen::CTextileWeave::SetYYarnHeights().
Referenced by TexGen::CTextileWeave::SetThickness().
|
inherited |
Set the fibre linear density, i.e. the mass per unit length of fibre.
Suppose 1 meter length of yarn weighs X kg, it's linear density is X kg/m
Definition at line 120 of file Properties.cpp.
References TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_YarnLinearDensity, and TexGen::CProperty::SetValue().
Referenced by TexGen::CTextile3DWeave::SetYarnLinearDensity(), and TexGen::CTextile3DWeave::SetYarnProperties().
|
inherited |
Set the spacing of all the yarns in the textile.
Definition at line 1025 of file TextileWeave.cpp.
References TexGen::CTextileWeave::SetXYarnSpacings(), and TexGen::CTextileWeave::SetYYarnSpacings().
|
inherited |
Set the width of all the yarns in the textile.
Definition at line 1013 of file TextileWeave.cpp.
References TexGen::CTextileWeave::SetXYarnWidths(), and TexGen::CTextileWeave::SetYYarnWidths().
|
inherited |
Set the Young's modulus for a yarn.
Definition at line 167 of file Properties.cpp.
References TexGen::CProperties::SetYoungsModulusX(), TexGen::CProperties::SetYoungsModulusY(), and TexGen::CProperties::SetYoungsModulusZ().
|
inherited |
Definition at line 174 of file Properties.cpp.
References TexGen::CProperties::m_YoungsModulusX, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetYoungsModulus().
|
inherited |
Definition at line 179 of file Properties.cpp.
References TexGen::CProperties::m_YoungsModulusY, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetYoungsModulus().
|
inherited |
Definition at line 184 of file Properties.cpp.
References TexGen::CProperties::m_YoungsModulusZ, and TexGen::CProperty::SetValue().
Referenced by TexGen::CProperties::SetDefaultProperties(), and TexGen::CProperties::SetYoungsModulus().
|
inherited |
Set the height of all the yarns parallel to the Y axis.
Definition at line 985 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, and TexGen::CTextileWeave::SetYYarnHeights().
|
inherited |
Set the height of the yarn parallel to the Y axis, with given index.
Definition at line 831 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_YYarnData, and TGERROR.
Referenced by TexGen::CTextileWeave::SetYarnHeights(), and TexGen::CTextileWeave::SetYYarnHeights().
|
inherited |
Set the spacing of all the yarns parallel to the Y axis.
Definition at line 1003 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, and TexGen::CTextileWeave::SetYYarnSpacings().
|
inherited |
Set the spacing of the yarn parallel to the Y axis, with given index.
Definition at line 853 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_YYarnData, and TGERROR.
Referenced by TexGen::CTextileWeave::SetYarnSpacings(), and TexGen::CTextileWeave::SetYYarnSpacings().
|
inherited |
Set the width of all the yarns parallel to the Y axis.
Definition at line 967 of file TextileWeave.cpp.
References TexGen::CTextileWeave::m_iNumYYarns, and TexGen::CTextileWeave::SetYYarnWidths().
|
inherited |
Set the width of the yarn parallel to the Y axis, with given index.
Definition at line 809 of file TextileWeave.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumYYarns, TexGen::CTextileWeave::m_YYarnData, and TGERROR.
Referenced by TexGen::CTextileWeave::SetYarnWidths(), and TexGen::CTextileWeave::SetYYarnWidths().
void CTextileWeave2D::SwapAll | ( | ) |
Swap the cross over order of all yarns.
Definition at line 78 of file TextileWeave2D.cpp.
References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, and SwapPosition().
void CTextileWeave2D::SwapPosition | ( | int | x, |
int | y | ||
) |
Swap the cross over order of yarns at given index.
Definition at line 64 of file TextileWeave2D.cpp.
References TexGen::CTextileWeave::GetCell(), TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, and TGERROR.
Referenced by SwapAll().
|
inherited |
Translate the Textile by given vector.
Definition at line 344 of file Textile.cpp.
References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.
|
protectedinherited |
Check that the weave pattern contained in m_Pattern is valid.
Definition at line 201 of file TextileWeave.cpp.
References TexGen::CTextileWeave::GetCell(), TexGen::CTextileWeave::m_iNumXYarns, TexGen::CTextileWeave::m_iNumYYarns, TexGen::PATTERN_XYARN, and TexGen::PATTERN_YYARN.
Referenced by TexGen::CShearedTextileWeave2D::BuildTextile(), and TexGen::CTextileWeave::BuildTextile().
|
inherited |
Definition at line 208 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetAlphaX(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetAlphaX().
|
inherited |
Definition at line 209 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetAlphaY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetAlphaY().
|
inherited |
Definition at line 210 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetAlphaZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetAlphaZ().
|
inherited |
Definition at line 73 of file PropertiesTextile.h.
Referenced by TexGen::CPropertiesTextile::CPropertiesTextile(), TexGen::CPropertiesTextile::GetArealDensity(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CPropertiesTextile::PopulateTiXmlElement(), and TexGen::CPropertiesTextile::SetArealDensity().
|
protected |
Definition at line 81 of file TextileWeave2D.h.
Referenced by TexGen::CShearedTextileWeave2D::BuildTextile(), BuildTextile(), CTextileWeave2D(), and PopulateTiXmlElement().
|
mutableprotectedinherited |
Variable which keeps track of wether the textile needs building or not.
Note: This is only relavant for classes which derive from CTextile and handle the construction of yarns automatically
Definition at line 330 of file Textile.h.
Referenced by TexGen::CTextile3DWeave::AddXLayers(), TexGen::CTextileWeave3D::AddXLayers(), TexGen::CTextile3DWeave::AddXYarn(), TexGen::CTextile3DWeave::AddYLayers(), TexGen::CTextileWeave3D::AddYLayers(), TexGen::CTextile3DWeave::AddYYarn(), TexGen::CTextile3DWeave::AssignSectionMesh(), TexGen::CTextileWeave::AssignSectionMesh(), TexGen::CTextileLayerToLayer::BuildLayerToLayerTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::CTextile(), TexGen::CTextile3DWeave::DeleteXLayers(), TexGen::CTextileWeave3D::DeleteXLayers(), TexGen::CTextile3DWeave::DeleteYLayers(), TexGen::CTextileWeave3D::DeleteYLayers(), TexGen::CTextileLayered::MaxNestLayers(), TexGen::CTextileLayered::NestLayers(), TexGen::CTextile::operator=(), TexGen::CTextileWeave3D::PushDown(), TexGen::CTextileWeave3D::PushUp(), TexGen::CTextileAngleInterlock::SetBinderYarnPositions(), TexGen::CTextileOffsetAngleInterlock::SetBinderYarnPositions(), TexGen::CTextile3DWeave::SetGapSize(), TexGen::CTextileWeave::SetGapSize(), TexGen::CTextile3DWeave::SetMaxVolFraction(), TexGen::CTextile3DWeave::SetResolution(), TexGen::CTextileWeave::SetResolution(), TexGen::CTextile3DWeave::SetThickness(), TexGen::CTextileWeave::SetThickness(), TexGen::CTextile3DWeave::SetupWeftRow(), TexGen::CTextileOrthogonal::SetupWeftRow(), TexGen::CTextile3DWeave::SetXYarnHeights(), TexGen::CTextileWeave::SetXYarnHeights(), TexGen::CTextile3DWeave::SetXYarnSpacings(), TexGen::CTextileWeave::SetXYarnSpacings(), TexGen::CTextile3DWeave::SetXYarnWidths(), TexGen::CTextileWeave::SetXYarnWidths(), TexGen::CTextile3DWeave::SetYYarnHeights(), TexGen::CTextileWeave::SetYYarnHeights(), TexGen::CTextile3DWeave::SetYYarnSpacings(), TexGen::CTextileWeave::SetYYarnSpacings(), TexGen::CTextile3DWeave::SetYYarnWidths(), TexGen::CTextileWeave::SetYYarnWidths(), TexGen::CTextile3DWeave::ShapeWeftYarns(), TexGen::CTextileOrthogonal::ShapeWeftYarns(), SwapAll(), TexGen::CTextileOrthogonal::SwapBinderPosition(), SwapPosition(), TexGen::CTextile3DWeave::SwapPosition(), and TexGen::CTextileWeave3D::SwapPosition().
|
protected |
Definition at line 80 of file TextileWeave2D.h.
Referenced by TexGen::CShearedTextileWeave2D::BuildTextile(), BuildTextile(), CTextileWeave2D(), and PopulateTiXmlElement().
|
inherited |
Definition at line 211 of file Properties.h.
Referenced by TexGen::CProperties::GetFibreArea(), TexGen::CProperties::SetFibreDensity(), TexGen::CProperties::SetFibreDiameter(), TexGen::CProperties::SetFibresPerYarn(), and TexGen::CProperties::SetYarnLinearDensity().
|
protectedinherited |
Definition at line 219 of file TextileWeave.h.
Referenced by AdjustSectionsForRotation(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CShearedTextileWeave2D::CreateTopAndBottomMeshes(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CShearedTextileWeave2D::GetDefaultDomain(), TexGen::CTextileWeave::GetDefaultDomain(), TexGen::CTextileWeave::PopulateTiXmlElement(), and TexGen::CTextileWeave::SetThickness().
|
protectedinherited |
Definition at line 218 of file TextileWeave.h.
Referenced by TexGen::CShearedTextileWeave2D::CalculateModifiers(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CTextileWeave::PopulateTiXmlElement(), and TexGen::CTextileWeave::SetGapSize().
|
inherited |
Definition at line 200 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetFibreArea().
|
inherited |
Definition at line 199 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetFibreDensity(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDensity(), and TexGen::CProperties::SetYarnLinearDensity().
|
inherited |
Definition at line 201 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetFibreDiameter(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDiameter(), and TexGen::CProperties::SetFibresPerYarn().
|
protectedinherited |
Definition at line 78 of file PropertiesTextile.h.
Referenced by TexGen::CPropertiesTextile::CPropertiesTextile(), TexGen::CPropertiesTextile::GetGeometryScale(), TexGen::CPropertiesTextile::PopulateTiXmlElement(), and TexGen::CPropertiesTextile::SetGeometryScale().
|
protectedinherited |
Definition at line 214 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetFibresPerYarn(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDiameter(), and TexGen::CProperties::SetFibresPerYarn().
|
protectedinherited |
Definition at line 216 of file TextileWeave.h.
Referenced by TexGen::CTextileWeave3D::AddXLayers(), TexGen::CTextileWeave3D::AddYLayers(), TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), AdjustSectionsForRotation(), AdjustTangents(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), ConvertToPatternDraft(), TexGen::CTextileWeave::CorrectEdgeInterference(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), CTextileWeave2D(), TexGen::CTextileWeave3D::DeleteXLayers(), TexGen::CTextileWeave3D::DeleteYLayers(), TexGen::CTextileWeave::GetAverageYarnWidth(), TexGen::CShearedTextileWeave2D::GetDefaultDomain(), TexGen::CTextileWeave::GetDefaultDomain(), TexGen::CTextileWeave::GetDefaultName(), GetDefaultName(), TexGen::CTextileWeave3D::GetDefaultName(), TexGen::CTextileWeave::GetHeight(), TexGen::CTextileWeave3D::GetMaxNumLayers(), TexGen::CTextileWeave::GetXYarnGapSize(), TexGen::CTextileWeave::GetXYarnHeights(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextileWeave::GetXYarnSpacings(), TexGen::CTextileWeave::GetXYarnWidths(), TexGen::CShearedTextileWeave2D::GetYSpacings(), TexGen::CTextileWeave::PopulateTiXmlElement(), TexGen::CTextileWeave3D::PushDown(), TexGen::CTextileWeave3D::PushUp(), TexGen::CTextileWeave3D::PushYDown(), TexGen::CTextileWeave3D::PushYUp(), SetInPlaneTangents(), TexGen::CTextileWeave::SetXYarnHeights(), TexGen::CTextileWeave::SetXYarnSpacings(), TexGen::CTextileWeave::SetXYarnWidths(), SwapAll(), SwapPosition(), TexGen::CTextileWeave3D::SwapPosition(), and TexGen::CTextileWeave::Valid().
|
protectedinherited |
Definition at line 216 of file TextileWeave.h.
Referenced by TexGen::CTextileWeave3D::AddXLayers(), TexGen::CTextileWeave3D::AddYLayers(), TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), AdjustSectionsForRotation(), AdjustTangents(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), ConvertToPatternDraft(), TexGen::CTextileWeave::CorrectEdgeInterference(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), CTextileWeave2D(), TexGen::CTextileWeave3D::DeleteXLayers(), TexGen::CTextileWeave3D::DeleteYLayers(), TexGen::CTextileWeave::GetAverageYarnWidth(), TexGen::CTextileWeave::GetCell(), TexGen::CTextileWeave::GetCellCoordinates(), TexGen::CShearedTextileWeave2D::GetDefaultDomain(), TexGen::CTextileWeave::GetDefaultDomain(), TexGen::CTextileWeave::GetDefaultName(), GetDefaultName(), TexGen::CTextileWeave3D::GetDefaultName(), TexGen::CTextileWeave3D::GetMaxNumLayers(), TexGen::CTextileWeave::GetWidth(), TexGen::CTextileWeave::GetYYarnGapSize(), TexGen::CTextileWeave::GetYYarnHeights(), TexGen::CTextileWeave::GetYYarns(), TexGen::CTextileWeave::GetYYarnSpacings(), TexGen::CTextileWeave::GetYYarnWidths(), TexGen::CTextileWeave::PopulateTiXmlElement(), TexGen::CTextileWeave3D::PushDown(), TexGen::CTextileWeave3D::PushUp(), TexGen::CTextileWeave3D::PushXDown(), TexGen::CTextileWeave3D::PushXUp(), SetInPlaneTangents(), TexGen::CTextileWeave::SetYYarnHeights(), TexGen::CTextileWeave::SetYYarnSpacings(), TexGen::CTextileWeave::SetYYarnWidths(), SwapAll(), SwapPosition(), TexGen::CTextileWeave3D::SwapPosition(), and TexGen::CTextileWeave::Valid().
|
protectedinherited |
Definition at line 220 of file TextileWeave.h.
Referenced by TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CTextileWeave::PopulateTiXmlElement(), and TexGen::CTextileWeave::SetResolution().
|
protectedinherited |
Definition at line 80 of file PropertiesTextile.h.
Referenced by TexGen::CPropertiesTextile::CPropertiesTextile(), TexGen::CPropertiesTextile::GetMatrixAlpha(), TexGen::CPropertiesTextile::PopulateTiXmlElement(), and TexGen::CPropertiesTextile::SetMatrixAlpha().
|
protectedinherited |
|
inherited |
|
protectedinherited |
Definition at line 217 of file TextileWeave.h.
Referenced by TexGen::CTextileWeave::CTextileWeave(), TexGen::CTextileWeave::GetCell(), and TexGen::CTextileWeave::PopulateTiXmlElement().
|
protectedinherited |
Class for generating pattern draft from weave pattern.
Definition at line 203 of file TextileWeave.h.
Referenced by ConvertToPatternDraft().
|
protectedinherited |
Definition at line 332 of file Textile.h.
Referenced by TexGen::CTextile::AddCentrePlaneToMesh(), TexGen::CTextile::AddSurfaceToMesh(), TexGen::CTextile::AddVolumeToMesh(), TexGen::CTextile::AssignDomain(), TexGen::CTextile::CTextile(), TexGen::CTextile::DetectInterference(), TexGen::CTextile::GetDomainVolumeFraction(), TexGen::CTextileLayered::GetLayerMeshes(), TexGen::CTextile::GetQuickDomainVolumeFraction(), TexGen::CTextileLayered::MaxNestLayers(), TexGen::CTextileLayered::NestLayers(), TexGen::CTextile::operator=(), TexGen::CTextile::PopulateTiXmlElement(), and TexGen::CTextile::RemoveDomain().
|
protectedinherited |
Definition at line 215 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetPoissonsRatioX(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetPoissonsRatioX().
|
protectedinherited |
Definition at line 216 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetPoissonsRatioY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetPoissonsRatioY().
|
protectedinherited |
Definition at line 217 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetPoissonsRatioZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetPoissonsRatioZ().
|
protectedinherited |
Definition at line 221 of file TextileWeave.h.
Referenced by TexGen::CTextileWeave::AssignSectionMesh(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CShearedTextileWeave2D::ModifySection(), TexGen::CTextileWeave::PopulateTiXmlElement(), and TexGen::CShearedTextileWeave2D::ReplaceSection().
|
inherited |
Definition at line 205 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetShearModulusXY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetShearModulusXY().
|
inherited |
Definition at line 206 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetShearModulusXZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetShearModulusXZ().
|
inherited |
Definition at line 207 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetShearModulusYZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetShearModulusYZ().
|
mutableprotectedinherited |
Definition at line 223 of file TextileWeave.h.
Referenced by TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), AdjustSectionsForRotation(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CTextileWeave::GetAverageYarnWidth(), TexGen::CTextileWeave::GetDefaultDomain(), TexGen::CTextileWeave::GetHeight(), TexGen::CTextileWeave::GetXYarnGapSize(), TexGen::CTextileWeave::GetXYarnHeights(), TexGen::CTextileWeave::GetXYarnSpacings(), TexGen::CTextileWeave::GetXYarnWidths(), TexGen::CShearedTextileWeave2D::GetYSpacings(), TexGen::CTextileWeave::PopulateTiXmlElement(), TexGen::CTextileWeave::SetXYarnHeights(), TexGen::CTextileWeave::SetXYarnSpacings(), and TexGen::CTextileWeave::SetXYarnWidths().
|
mutableprotectedinherited |
Definition at line 225 of file TextileWeave.h.
Referenced by TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), AdjustSectionsForRotation(), AdjustTangents(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextileWeave::CorrectEdgeInterference(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextileWeave::GetYarnIndex(), TexGen::CTextileWeave::NeedsMidSection(), TexGen::CTextileWeave::PopulateTiXmlElement(), and SetInPlaneTangents().
|
inherited |
Definition at line 198 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetFibreArea(), TexGen::CProperties::GetYarnLinearDensity(), TexGen::CProperties::PopulateTiXmlElement(), TexGen::CProperties::SetFibreDensity(), and TexGen::CProperties::SetYarnLinearDensity().
|
mutableprotectedinherited |
Vector of yarns contained within this cell.
Note that this variable has been made mutable to enable building of the textile when necessary. For example, the function GetNumYarns should be declared as const but before the number of yarns can be retreived it must build the textile which cannot be done front a const function unless this variable is declared as mutable.
Definition at line 323 of file Textile.h.
Referenced by TexGen::CTextileAngleInterlock::AddBinderNodes(), TexGen::CTextileOffsetAngleInterlock::AddBinderNodes(), TexGen::CTextileOrthogonal::AddBinderNodes(), TexGen::CTextileLayerToLayer::AddBinderNodes(), TexGen::CTextile::AddCentrePlaneToMesh(), TexGen::CTextile::AddNodesToMesh(), TexGen::CTextile::AddPathToMesh(), TexGen::CTextile::AddSurfaceToMesh(), TexGen::CTextile::AddVolumeToMesh(), TexGen::CTextileOrthogonal::AddWeftNodes(), TexGen::CTextile3DWeave::AddWeftNodes(), TexGen::CTextile::AddYarn(), TexGen::CTextileOrthogonal::AdjustBinderPosition(), TexGen::CTextileOrthogonal::AdjustBinderYarnSection(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustOuterWeftYarns(), TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), AdjustSectionsForRotation(), AdjustTangents(), TexGen::CTextileLayerToLayer::BuildLayerToLayerTextile(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CShearedTextileWeave2D::CalculateModifiers(), TexGen::CTextileOrthogonal::ChangeBinderSection(), TexGen::CTextileOrthogonal::ChangeWeftSection(), TexGen::CTextileOrthogonal::CheckBinderWidths(), TexGen::CTextile3DWeave::CheckUpVectors(), TexGen::CTextile::ConvertToInterpNodes(), TexGen::CTextileOrthogonal::CorrectCrimpInterference(), TexGen::CTextileWeave::CorrectEdgeInterference(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextile::CTextile(), TexGen::CTextile::DeleteYarn(), TexGen::CTextile::DeleteYarns(), TexGen::CTextile::DetectInterference(), TexGen::CTextileWeave::FlattenYarns(), TexGen::CTextile::GetApproximateSize(), TexGen::CTextile3DWeave::GetCrossSection(), TexGen::CTextile::GetDomainVolumeFraction(), TexGen::CTextile::GetFibreVolume(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CTextileOrthogonal::GetHybridSectionWidth(), TexGen::CTextile::GetNumYarns(), TexGen::CTextile::GetPointInformation(), TexGen::CTextile::GetQuickDomainVolumeFraction(), TexGen::CTextile3DWeave::GetWeftCrossSection(), TexGen::CTextile3DWeave::GetXYarns(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextile::GetYarn(), TexGen::CTextile::GetYarnLength(), TexGen::CTextile::GetYarnLengthPerUnitArea(), TexGen::CTextile::GetYarns(), TexGen::CTextile::GetYarnVolume(), TexGen::CTextile::GetYarnVolumePerUnitArea(), TexGen::CTextile3DWeave::GetYYarns(), TexGen::CTextileWeave::GetYYarns(), TexGen::CTextile3DWeave::InsertBinderNode(), TexGen::CTextile3DWeave::InsertWeftNode(), TexGen::CTextileOrthogonal::OffsetYarn(), TexGen::CTextile::operator=(), TexGen::CTextile::PopulateTiXmlElement(), TexGen::CTextile3DWeave::ReplaceLastNode(), TexGen::CTextileOrthogonal::ReplaceYarnSection(), TexGen::CTextile::Rotate(), TexGen::CTextile::SetAllYarnsAlphaX(), TexGen::CTextile::SetAllYarnsAlphaY(), TexGen::CTextile::SetAllYarnsAlphaZ(), TexGen::CTextile::SetAllYarnsPoissonsRatioX(), TexGen::CTextile::SetAllYarnsPoissonsRatioY(), TexGen::CTextile::SetAllYarnsPoissonsRatioZ(), TexGen::CTextile::SetAllYarnsShearModulusXY(), TexGen::CTextile::SetAllYarnsShearModulusXZ(), TexGen::CTextile::SetAllYarnsShearModulusYZ(), TexGen::CTextile::SetAllYarnsYoungsModulusX(), TexGen::CTextile::SetAllYarnsYoungsModulusY(), TexGen::CTextile::SetAllYarnsYoungsModulusZ(), SetInPlaneTangents(), TexGen::CTextile::SetResolution(), and TexGen::CTextile::Translate().
|
inherited |
Definition at line 202 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetYoungsModulusX(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetYoungsModulusX().
|
inherited |
Definition at line 203 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetYoungsModulusY(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetYoungsModulusY().
|
inherited |
Definition at line 204 of file Properties.h.
Referenced by TexGen::CProperties::CProperties(), TexGen::CProperties::GetYoungsModulusZ(), TexGen::CProperties::PopulateTiXmlElement(), and TexGen::CProperties::SetYoungsModulusZ().
|
mutableprotectedinherited |
Definition at line 224 of file TextileWeave.h.
Referenced by TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), AdjustSectionsForRotation(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CTextileWeave::GetAverageYarnWidth(), TexGen::CShearedTextileWeave2D::GetDefaultDomain(), TexGen::CTextileWeave::GetDefaultDomain(), TexGen::CTextileWeave::GetWidth(), TexGen::CTextileWeave::GetYYarnGapSize(), TexGen::CTextileWeave::GetYYarnHeights(), TexGen::CTextileWeave::GetYYarnSpacings(), TexGen::CTextileWeave::GetYYarnWidths(), TexGen::CTextileWeave::PopulateTiXmlElement(), TexGen::CTextileWeave::SetYYarnHeights(), TexGen::CTextileWeave::SetYYarnSpacings(), and TexGen::CTextileWeave::SetYYarnWidths().
|
mutableprotectedinherited |
Definition at line 226 of file TextileWeave.h.
Referenced by TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), AdjustSectionsForRotation(), AdjustTangents(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextileWeave::CorrectEdgeInterference(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextileWeave::CTextileWeave(), TexGen::CTextileWeave::GetYarnIndex(), TexGen::CTextileWeave::GetYYarns(), TexGen::CTextileWeave::NeedsMidSection(), TexGen::CTextileWeave::PopulateTiXmlElement(), and SetInPlaneTangents().