TBTK
TBTK::RayTracer Class Reference

Public Member Functions

 RayTracer ()
 
 RayTracer (const RayTracer &rayTracer)
 
 RayTracer (RayTracer &&rayTracer)
 
 ~RayTracer ()
 
RayTraceroperator= (const RayTracer &rhs)
 
RayTraceroperator= (RayTracer &&rhs)
 
void setCameraPosition (const Vector3d &cameraPosition)
 
void setCameraPosition (std::initializer_list< double > cameraPosition)
 
void setFocus (const Vector3d &focus)
 
void setFocus (std::initializer_list< double > focus)
 
void setUp (const Vector3d &up)
 
void setUp (std::initializer_list< double > up)
 
void setWidth (unsigned int width)
 
void setHeight (unsigned int height)
 
void setStateRadius (double stateRadius)
 
void setNumDeflections (unsigned int numDeflections)
 
unsigned int getNumDeflections () const
 
void setRayLength (double rayLength)
 
double getRayLength () const
 
void setNumRaySegments (unsigned int numRaySegments)
 
unsigned int getNumRaySegments () const
 
void plot (const Model &model, const Property::Density &density)
 
void plot (const Model &model, const Property::Magnetization &magnetization)
 
void plot (const Model &model, const Property::WaveFunctions &waveFunctions, unsigned int state)
 
void plot (Field< std::complex< double >, double > &field)
 
void plot (const std::vector< const FieldWrapper * > &fields)
 
void interactivePlot (const Model &model, const Property::LDOS &ldos, double sigma=0, unsigned int windowSize=51)
 
void save (std::string filename)
 

Constructor & Destructor Documentation

TBTK::RayTracer::RayTracer ( )

Constructor.

TBTK::RayTracer::RayTracer ( const RayTracer rayTracer)

Copy constructor.

TBTK::RayTracer::RayTracer ( RayTracer &&  rayTracer)

Move constructor.

TBTK::RayTracer::~RayTracer ( )

Destructor.

Member Function Documentation

unsigned int TBTK::RayTracer::getNumDeflections ( ) const
inline

Get number of deflections.

unsigned int TBTK::RayTracer::getNumRaySegments ( ) const
inline

Get number of ray segments.

double TBTK::RayTracer::getRayLength ( ) const
inline

Get ray length.

void TBTK::RayTracer::interactivePlot ( const Model model,
const Property::LDOS ldos,
double  sigma = 0,
unsigned int  windowSize = 51 
)

Interactive.

RayTracer& TBTK::RayTracer::operator= ( const RayTracer rhs)

Assignment operator.

RayTracer& TBTK::RayTracer::operator= ( RayTracer &&  rhs)

Move assignment operator.

void TBTK::RayTracer::plot ( const Model model,
const Property::Density density 
)

Plot Density.

void TBTK::RayTracer::plot ( const Model model,
const Property::Magnetization magnetization 
)

Plot Magnetization.

void TBTK::RayTracer::plot ( const Model model,
const Property::WaveFunctions waveFunctions,
unsigned int  state 
)

Plot Magnetization.

void TBTK::RayTracer::plot ( Field< std::complex< double >, double > &  field)

Plot a field.

void TBTK::RayTracer::plot ( const std::vector< const FieldWrapper * > &  fields)

Plot fields.

void TBTK::RayTracer::save ( std::string  filename)

Save result to file.

void TBTK::RayTracer::setCameraPosition ( const Vector3d cameraPosition)
inline

Set camera position.

void TBTK::RayTracer::setCameraPosition ( std::initializer_list< double >  cameraPosition)
inline

Set camera position.

void TBTK::RayTracer::setFocus ( const Vector3d focus)
inline

Set camera focus.

void TBTK::RayTracer::setFocus ( std::initializer_list< double >  focus)
inline

Set camera focus.

void TBTK::RayTracer::setHeight ( unsigned int  height)
inline

Set viewport height.

void TBTK::RayTracer::setNumDeflections ( unsigned int  numDeflections)
inline

Set number of deflections.

void TBTK::RayTracer::setNumRaySegments ( unsigned int  numRaySegments)
inline

Set number of ray segments.

void TBTK::RayTracer::setRayLength ( double  rayLength)
inline

Set ray length.

void TBTK::RayTracer::setStateRadius ( double  stateRadius)
inline

Set state radius.

void TBTK::RayTracer::setUp ( const Vector3d up)
inline

Set up direction.

void TBTK::RayTracer::setUp ( std::initializer_list< double >  up)
inline

Set up direction.

void TBTK::RayTracer::setWidth ( unsigned int  width)
inline

Set viewport width.


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