Loft< DataType > Class Template Reference

#include <Loft.h>

Inheritance diagram for Loft< DataType >:
Surface< DataType > Part< DataType, 3 > Facet< DataType > PartBase< DataType, 3 > Connection

List of all members.

Public Member Functions

 Loft ()
 ~Loft ()
virtual void read (const int type, std::string file)
void GenLoft ()
virtual void makeFacets (int flip)
virtual void makeUnique ()
virtual DataType Length () const
virtual DataType Area () const
virtual DataType Volume () const
virtual void setLength (DataType val)
virtual void setArea (DataType val)
virtual void setVolume (DataType val)
virtual std::string Name () const
virtual void setName (std::string val)
virtual DataType conArea () const
void setConArea (DataType val)
virtual bool closure () const
virtual void setClosure (bool val)
virtual PType Centroid () const
virtual void setCentroid (PType val)
virtual PType operator[] (int i) const
virtual void AddPoint (const PType v)
virtual int GetNumPoints () const
virtual PType GetNthPoint (int n) const
virtual PTypeGetNthPointA (int n)
virtual std::vector< PType > & GetCPoints ()
virtual std::vector< PType > & GetCPoints_org ()
virtual int GetNumCons () const
virtual int GetConnectivity ()
virtual void AddConnection (ConBase *v)
virtual void AddConnection (SegType *v)
virtual void AddConnection (FacetType v)
virtual int GetNumConnections () const
virtual ConBaseGetNthConnection (int n) const
virtual SegTypeGetNthSegment (int n) const
virtual const FacetTypeGetNthFacet (int n) const
virtual void setNthCon (int i, int val)
virtual int getNthCon (int i) const
virtual PType Normal () const
virtual void setNormal (PType val)
virtual std::string getNthProfileName (int i)
virtual void AddProfileName (std::string val)
virtual int getNProfiles ()
virtual void setNProfiles (int val)
virtual int getNChords ()
virtual void setNChords (int val)
virtual int getNSpans ()
virtual void setNSpans (int val)
virtual void AddProfileType (int val)
virtual int getNthProfileType (int i)
virtual void AddPosition (PType val)
virtual void AddOrientation (PType val)
virtual void AddReflection (PType val)
virtual void AddScale (PType val)
virtual void AddProfileSpline (SplineCurveType *val)
virtual SplineCurveTypeGetNthProfileSpline (int i)
virtual void AddSpanSpline (SplineCurveType *val)
virtual SplineCurveTypeGetNthSpanSpline (int i)
virtual void AddTransform (MType val)
virtual MType GetNthTransform (int i)
virtual void SetNthTransform (int i, MType val)
virtual void updatePart (DataType dt, DataType time)
virtual void deformPart (DataType dt, DataType time)
virtual void setLoftProfileTransform (int n, PType ptemp, PType translate1, PType scale1, PType rotate1, int invert)
virtual void Restart (std::ifstream &ifs, int &pos, double &t, double &dt)
virtual void Checkpointing (std::ofstream &ofs)
virtual PType GetNetP ()
virtual void addIntType (int val)

Protected Attributes

int NProfiles
int NChords
int NSpans
std::vector< int > profileTypes
std::vector< int > intType
std::vector< std::string > profileNames
std::vector< PTypepositions
std::vector< PTypeorientations
std::vector< PTypescales
std::vector< PTypereflections
std::vector< SplineCurveType * > profileSplines
std::vector< SplineCurveType * > spanSplines
std::vector< MTypetransformList
int profileName_size
int num_transforms
int num_spanSplines
int spline_intType

template<class DataType>
class Loft< DataType >


Constructor & Destructor Documentation

template<class DataType >
Loft< DataType >::Loft (  )  [inline]
template<class DataType >
Loft< DataType >::~Loft (  )  [inline]

Member Function Documentation

template<class DataType >
virtual void Loft< DataType >::AddConnection ( FacetType  v  )  [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::connectivity.

template<class DataType >
virtual void Loft< DataType >::AddConnection ( SegType v  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddConnection ( ConBase v  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::addIntType ( int  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddOrientation ( PType  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddPoint ( const PType  v  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddPosition ( PType  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddProfileName ( std::string  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddProfileSpline ( SplineCurveType val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddProfileType ( int  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddReflection ( PType  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddScale ( PType  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddSpanSpline ( SplineCurveType val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::AddTransform ( MType  val  )  [inline, virtual]
template<class DataType >
virtual DataType Loft< DataType >::Area (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::area.

template<class DataType >
virtual PType Loft< DataType >::Centroid (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::centroid.

Referenced by Loft< DataType >::GenLoft().

template<class DataType >
virtual bool Loft< DataType >::closure (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::closed.

template<class DataType >
virtual DataType Loft< DataType >::conArea (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::area.

template<class DataType >
virtual void Loft< DataType >::deformPart ( DataType  dt,
DataType  time 
) [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual int Loft< DataType >::GetConnectivity (  )  [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual std::vector<PType>& Loft< DataType >::GetCPoints (  )  [inline, virtual]
template<class DataType >
virtual std::vector<PType>& Loft< DataType >::GetCPoints_org (  )  [inline, virtual]
template<class DataType >
virtual int Loft< DataType >::getNChords (  )  [inline, virtual]
template<class DataType >
virtual PType Loft< DataType >::GetNetP (  )  [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::GetNetP().

template<class DataType >
virtual int Loft< DataType >::getNProfiles (  )  [inline, virtual]
template<class DataType >
virtual int Loft< DataType >::getNSpans (  )  [inline, virtual]
template<class DataType >
virtual int Loft< DataType >::getNthCon ( int  i  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual ConBase* Loft< DataType >::GetNthConnection ( int  n  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::connectivity.

template<class DataType >
virtual const FacetType* Loft< DataType >::GetNthFacet ( int  n  )  const [inline, virtual]
template<class DataType >
virtual PType Loft< DataType >::GetNthPoint ( int  n  )  const [inline, virtual]
template<class DataType >
virtual PType* Loft< DataType >::GetNthPointA ( int  n  )  [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::cPoints.

template<class DataType >
virtual std::string Loft< DataType >::getNthProfileName ( int  i  )  [inline, virtual]
template<class DataType >
virtual SplineCurveType* Loft< DataType >::GetNthProfileSpline ( int  i  )  [inline, virtual]
template<class DataType >
virtual int Loft< DataType >::getNthProfileType ( int  i  )  [inline, virtual]
template<class DataType >
virtual SegType* Loft< DataType >::GetNthSegment ( int  n  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual SplineCurveType* Loft< DataType >::GetNthSpanSpline ( int  i  )  [inline, virtual]
template<class DataType >
virtual MType Loft< DataType >::GetNthTransform ( int  i  )  [inline, virtual]
template<class DataType >
virtual int Loft< DataType >::GetNumConnections (  )  const [inline, virtual]
template<class DataType >
virtual int Loft< DataType >::GetNumCons (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::connectivity.

template<class DataType >
virtual int Loft< DataType >::GetNumPoints (  )  const [inline, virtual]
template<class DataType >
virtual DataType Loft< DataType >::Length (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual PType Loft< DataType >::Normal (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual PType Loft< DataType >::operator[] ( int  i  )  const [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::read ( const int  type,
std::string  file 
) [inline, virtual]

Reimplemented from Surface< DataType >.

References Loft< DataType >::AddConnection(), Loft< DataType >::addIntType(), Loft< DataType >::AddOrientation(), Loft< DataType >::AddPoint(), Loft< DataType >::AddPosition(), Loft< DataType >::AddProfileName(), Loft< DataType >::AddProfileSpline(), Loft< DataType >::AddProfileType(), Loft< DataType >::AddReflection(), Loft< DataType >::AddScale(), Loft< DataType >::AddTransform(), PartBase< DataType, 3 >::Brep2D, PartBase< DataType, 3 >::Brep3D, Surface< DataType >::connectivity, Loft< DataType >::GenLoft(), Curve< DataType, dim >::GetCPoints(), Loft< DataType >::GetCPoints_org(), Curve< DataType, dim >::GetCPoints_org(), SplineCurve< DataType, dim >::GetNodes(), Loft< DataType >::getNProfiles(), Loft< DataType >::getNSpans(), Facet< DataType >::getNthCon(), Loft< DataType >::GetNthFacet(), Loft< DataType >::GetNthPoint(), Loft< DataType >::GetNthProfileSpline(), Loft< DataType >::GetNumPoints(), SplineCurve< DataType, dim >::interpolate(), SplineCurve< DataType, dim >::interpolate_linear(), Loft< DataType >::intType, PartBase< DataType, 3 >::loft, Loft< DataType >::makeFacets(), SplineCurve< DataType, dim >::measure(), Surface< DataType >::measure(), Loft< DataType >::Name(), norm_2(), PartBase< DataType, 3 >::pointList, prodMVP(), Loft< DataType >::profileNames, Loft< DataType >::profileTypes, SplineCurve< DataType, dim >::read(), Loft< DataType >::reflections, reflMat3D(), Loft< DataType >::setClosure(), Loft< DataType >::setName(), Loft< DataType >::setNChords(), Loft< DataType >::setNProfiles(), Loft< DataType >::setNSpans(), Facet< DataType >::setNthCon(), Loft< DataType >::spline_intType, PartBase< DataType, 3 >::STL, TOL, and PartBase< DataType, 3 >::VTK_curve.

template<class DataType >
virtual void Loft< DataType >::setArea ( DataType  val  )  [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::area.

template<class DataType >
virtual void Loft< DataType >::setCentroid ( PType  val  )  [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::centroid.

template<class DataType >
virtual void Loft< DataType >::setClosure ( bool  val  )  [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::closed.

Referenced by Loft< DataType >::read().

template<class DataType >
void Loft< DataType >::setConArea ( DataType  val  )  [inline]

Reimplemented from Surface< DataType >.

References Surface< DataType >::area.

template<class DataType >
virtual void Loft< DataType >::setLength ( DataType  val  )  [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual void Loft< DataType >::setLoftProfileTransform ( int  n,
PType  ptemp,
PType  translate1,
PType  scale1,
PType  rotate1,
int  invert 
) [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::setName ( std::string  val  )  [inline, virtual]

Reimplemented from PartBase< DataType, 3 >.

References PartBase< DataType, 3 >::name.

Referenced by Loft< DataType >::read().

template<class DataType >
virtual void Loft< DataType >::setNChords ( int  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::setNormal ( PType  val  )  [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual void Loft< DataType >::setNProfiles ( int  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::setNSpans ( int  val  )  [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::setNthCon ( int  i,
int  val 
) [inline, virtual]

Reimplemented from Surface< DataType >.

template<class DataType >
virtual void Loft< DataType >::SetNthTransform ( int  i,
MType  val 
) [inline, virtual]
template<class DataType >
virtual void Loft< DataType >::setVolume ( DataType  val  )  [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::volume.

template<class DataType >
virtual DataType Loft< DataType >::Volume (  )  const [inline, virtual]

Reimplemented from Surface< DataType >.

References Surface< DataType >::volume.


Member Data Documentation

template<class DataType >
std::vector<int> Loft< DataType >::intType [protected]
template<class DataType >
int Loft< DataType >::NChords [protected]
template<class DataType >
int Loft< DataType >::NSpans [protected]
template<class DataType >
int Loft< DataType >::num_spanSplines [protected]
template<class DataType >
int Loft< DataType >::num_transforms [protected]
template<class DataType >
int Loft< DataType >::profileName_size [protected]
template<class DataType >
std::vector<std::string> Loft< DataType >::profileNames [protected]
template<class DataType >
std::vector<PType> Loft< DataType >::reflections [protected]
template<class DataType >
int Loft< DataType >::spline_intType [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:18:58 2016 for Motion - rigid body dynamics solver by  doxygen 1.6.3