Open PaperOpt
Fiber Class Reference

#include <Fiber.h>

Inheritance diagram for Fiber:
Collaboration diagram for Fiber:

List of all members.

Public Member Functions

 Fiber (vector< complex_LC > &rRefrIndex, vector< complex_LC > &rLumenRefrIndex, vector< double > &rQScat, vector< double > &rQAbs, vector< double > &rQAbsFluo, double ContactReduction, V2< float > *pRoughness, Distributions::Distribution *pDistScat, double Theta, double Phi, double PolAngle, double Ellipticity, double Length, double Width, double WallThickness, const Basesheet *const pBasesheet)
 ~Fiber (void)
int Process (WavePacket &wp, int ComponentNumber, bool EntryScattering=false, complex_LC *pPrevRefrIndex=0) const
int Process (WavePacket &wp) const
const V3< double > & GetDirectionVector () const
const double GetPolAngle () const
const double GetEllipticity () const
const double GetWidth () const
void SetIterationLimit (long N)

Constructor & Destructor Documentation

Fiber::Fiber ( vector< complex_LC > &  rRefrIndex,
vector< complex_LC > &  rLumenRefrIndex,
vector< double > &  rQScat,
vector< double > &  rQAbs,
vector< double > &  rQAbsFluo,
double  ContactReduction,
V2< float > *  pRoughness,
Distributions::Distribution pDistScat,
double  Theta,
double  Phi,
double  PolAngle,
double  Ellipticity,
double  Length,
double  Width,
double  WallThickness,
const Basesheet *const  pBasesheet 
)

Constructor. Parameter constructor is used to set these parameters to these properties

Parameters:
rRefrIndexFiberwall refractive index.
rLumenRefrIndexLumen refractive index.
rQScatScattering coefficient in fiber wall.
rQAbsAbsorption coefficient in fiber wall.
ContactReductionProbability reduction of encountering the same component on exit. [0, 1].
pRoughnessMicroroughness of this fiber. The V2 contains rms low and rms high.
pDistScatScattering distribution. DistributionHenyeyGreenstein is common.
ThetaPolar orientation
PhiAzimuthal orientation
PolAngleTilt angle
EllipticityCross-section ellipticity
Length
Widthlength of the major axis of the elliptical cross-section
WallThicknessFiberwall thickness in proportion to fiber width. [0, 1].
pBasesheetPointer to the basesheet containing the fiber (to access methods).

Here is the call graph for this function:

Fiber::~Fiber ( void  )

Destructor.


Member Function Documentation

const V3<double>& Fiber::GetDirectionVector ( ) const [inline]

Returns Direction vector

Here is the caller graph for this function:

const double Fiber::GetEllipticity ( ) const [inline]

Returns ellipcity of elliptic distribution

const double Fiber::GetPolAngle ( ) const [inline]

Returns Polerized angle

Here is the caller graph for this function:

const double Fiber::GetWidth ( ) const [inline]

Returns ellipsoide width distribution

int Fiber::Process ( WavePacket wp,
int  ComponentNumber,
bool  EntryScattering = false,
complex_LC pPrevRefrIndex = 0 
) const [virtual]

Does the raytracing processing.

Parameters:
wpWavepacket to process.
ComponentNumberNumber of fiber component (0 if first in specs.txt, 1 if second, etc.) Must be set if using contact reduction.
Returns:
int Positive value - the index of the next component entered. -3 if absorbed in fiber, -2 if going out of the layer downwards, -1 if going out of the layer upwards.

Implements Component.

Here is the call graph for this function:

Here is the caller graph for this function:

int Fiber::Process ( WavePacket wp) const [virtual]

Calculate transmission/reflection

Parameters:
wpWave Packet's object to calculate ditance of interception and call many fuctions of wave packet..

Implements Component.

Here is the call graph for this function:

void Fiber::SetIterationLimit ( long  N) [inline]

Set iteration limit of component whether wave packet is leaving component


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