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 | Protected Attributes | List of all members
iAIntersection Class Reference

Class representing an intersection between triangle and ray. More...

#include <iADataFormat.h>

Collaboration diagram for iAIntersection:

Public Member Functions

unsigned int getWrite2FileSize ()
 
 iAIntersection ()
 
 iAIntersection (int a_tri_index, float a_dip_angle)
 
void setData (int a_tri_index, float a_dip_angle)
 
void write2BinaryFile (FILE *fptr)
 Writes intersection data into binary file by file descriptor. More...
 

Public Attributes

float dip_angle
 cos of dip angle btw intersected triangle and ray More...
 
unsigned int tri_index
 index of intersected triangle in object More...
 

Protected Attributes

unsigned int m_write2FileSize
 

Detailed Description

Class representing an intersection between triangle and ray.

Constructor & Destructor Documentation

◆ iAIntersection() [1/2]

iAIntersection::iAIntersection ( )
inline

◆ iAIntersection() [2/2]

iAIntersection::iAIntersection ( int  a_tri_index,
float  a_dip_angle 
)
inline

Member Function Documentation

◆ getWrite2FileSize()

unsigned int iAIntersection::getWrite2FileSize ( )
inline

◆ setData()

void iAIntersection::setData ( int  a_tri_index,
float  a_dip_angle 
)
inline

◆ write2BinaryFile()

void iAIntersection::write2BinaryFile ( FILE *  fptr)
inline

Writes intersection data into binary file by file descriptor.

Parameters
fptroutput file descriptor.

Member Data Documentation

◆ dip_angle

float iAIntersection::dip_angle

cos of dip angle btw intersected triangle and ray

◆ m_write2FileSize

unsigned int iAIntersection::m_write2FileSize
protected

◆ tri_index

unsigned int iAIntersection::tri_index

index of intersected triangle in object


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