open_iA  2019.12
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
Public Member Functions | Public Attributes | List of all members
iARaycastingThread Class Reference

Class in charge of raycasting process. More...

#include <iARayTracer.h>

Inheritance diagram for iARaycastingThread:
Collaboration diagram for iARaycastingThread:

Public Member Functions

void clearMemory ()
 Free memory that has been allocated for rays and intersections. More...
 
std::vector< iAIntersection * > * getIntersections ()
 Gets intersections data. More...
 
iARayPenetrationgetRays ()
 Gets rays' penetrations data. More...
 
 iARaycastingThread ()
 
 iARaycastingThread (iAEngine *a_engine)
 
void run ()
 Runs thread, executes raycasting of thread's tile. More...
 
void setEngine (iAEngine *a_e)
 Sets parent Engine pointer. More...
 
void setPlaneAndOrigin (const iAVec3f *vp_corners, const iAVec3f *vp_delta, const iAVec3f *o)
 Sets position of plane and ray's origin. More...
 
void stop ()
 
 ~iARaycastingThread ()
 

Public Attributes

bool dipAsColor
 image colored corresponding to dip angles More...
 
int rayCount
 number of casted rays More...
 
int x1
 
int x2
 
int y1
 
int y2
 

Detailed Description

Class in charge of raycasting process.

Executes raycastring on tile prescribed by X,Y screen coordinates ranges(in pixels). Used directly for rendering process. Has a pointer on parent Engine class, which is used to obtain scene data and to store some results.

Constructor & Destructor Documentation

◆ iARaycastingThread() [1/2]

iARaycastingThread::iARaycastingThread ( iAEngine a_engine)
inline

◆ iARaycastingThread() [2/2]

iARaycastingThread::iARaycastingThread ( )
inline

◆ ~iARaycastingThread()

iARaycastingThread::~iARaycastingThread ( )
inline

Member Function Documentation

◆ clearMemory()

void iARaycastingThread::clearMemory ( )
inline

Free memory that has been allocated for rays and intersections.

◆ getIntersections()

std::vector<iAIntersection*>* iARaycastingThread::getIntersections ( )
inline

Gets intersections data.

◆ getRays()

iARayPenetration* iARaycastingThread::getRays ( )
inline

Gets rays' penetrations data.

◆ run()

void iARaycastingThread::run ( )

Runs thread, executes raycasting of thread's tile.

◆ setEngine()

void iARaycastingThread::setEngine ( iAEngine a_e)
inline

Sets parent Engine pointer.

◆ setPlaneAndOrigin()

void iARaycastingThread::setPlaneAndOrigin ( const iAVec3f vp_corners,
const iAVec3f vp_delta,
const iAVec3f o 
)
inline

Sets position of plane and ray's origin.

◆ stop()

void iARaycastingThread::stop ( )
inline

Member Data Documentation

◆ dipAsColor

bool iARaycastingThread::dipAsColor

image colored corresponding to dip angles

◆ rayCount

int iARaycastingThread::rayCount

number of casted rays

◆ x1

int iARaycastingThread::x1

◆ x2

int iARaycastingThread::x2

◆ y1

int iARaycastingThread::y1

◆ y2

int iARaycastingThread::y2

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