Open PaperOpt
p3d::RndFiberSeg Class Reference

#include <RndFiberSeg.h>

List of all members.

Public Member Functions

 RndFiberSeg ()
 ~RndFiberSeg ()
void Set_ROTZ (const FiberSegment *fs, const Fiber *f, int segNo, double shrnk=0.4, double sideX=2.0f/3, double sideY=2.0f/3)
void CalcFaces (RndFiberSeg *next)
void CalcNormals (RndFiberSeg *prev, int last=0)
void SetFlags (int f)
const V3< double > * GetPosVec () const

Friends

class RndRay

Constructor & Destructor Documentation

p3d::RndFiberSeg::RndFiberSeg ( ) [inline]
p3d::RndFiberSeg::~RndFiberSeg ( ) [inline]

Member Function Documentation

void RndFiberSeg::CalcFaces ( RndFiberSeg next)

Don't call for end capping Calculates: mPlnNrm,mPlnD,mBndDrp,mImapBnd,mInrNrm,mInrD,mLmnDrp,mImapLum Call after Set_xxx fully ready

Parameters:
nextthe next of the fiber segment

Here is the call graph for this function:

Here is the caller graph for this function:

void RndFiberSeg::CalcNormals ( RndFiberSeg prev,
int  last = 0 
)

Call for all, set prev==null for first, set last=true for end capping Calculates: mBndNrm, mLumNrm Call after CalcFaces fully ready

Parameters:
prevthe previous fiber segment
lastint default value is 0

Here is the call graph for this function:

Here is the caller graph for this function:

const V3<double>* p3d::RndFiberSeg::GetPosVec ( ) const [inline]

Here is the caller graph for this function:

void RndFiberSeg::Set_ROTZ ( const FiberSegment fs,
const Fiber f,
int  segNo,
double  shrnk = 0.4,
double  sideX = 2.0f/3,
double  sideY = 2.0f/3 
)

Assumes segtype is SEGT_ROTZ. Call allso for end capping Calculates: mBndPos,mLumPos,mEdgeNormal,mEdgeD

Parameters:
shrnk- amount to shrink to lumen
sideX- amount to cut from corners
sideY- amount to cut from corners

Here is the call graph for this function:

Here is the caller graph for this function:

void p3d::RndFiberSeg::SetFlags ( int  f) [inline]
Note:
Or-opperation

Friends And Related Function Documentation

friend class RndRay [friend]

The documentation for this class was generated from the following files: