rtVTK  0.6.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes
rl::TreeRecord Struct Reference

The rl struct for handling each tree. More...

List of all members.

Public Member Functions

 TreeRecord (ushort x, ushort y)
 sets pixel to specified value, and all other members to zero

Public Attributes

ushort px
 x-value of pixel
ushort py
 y-value of pixel
Point origin
 origin of the head ray of the tree, for file I/O
uint64_t record_offset
 offset in file of ray records, for file reading
vector< RayRecordrecords
 vector of all the rays in the tree
uint curr
 index to current ray, to which future rays will be added
uint prev
 index to previous ray, for breadth-first mode
uint depth
 maximum ray depth
bool active
 whether the tree is active or not, for rl::WriteMode

Detailed Description

The rl struct for handling each tree.

rl::RayLogger uses TreeRecord to store data for each tree. This includes the set of rays, current ray, and previous ray for tree traversal, the origin and record offset for file I/O, and the pixel it was generated for.


Constructor & Destructor Documentation

sets pixel to specified value, and all other members to zero


Member Data Documentation

whether the tree is active or not, for rl::WriteMode

index to current ray, to which future rays will be added

maximum ray depth

Referenced by rl::operator<<().

origin of the head ray of the tree, for file I/O

Referenced by rl::RayLogger::init(), and rl::operator<<().

index to previous ray, for breadth-first mode

x-value of pixel

Referenced by rl::operator<<().

y-value of pixel

Referenced by rl::operator<<().

offset in file of ray records, for file reading

Referenced by rl::RayLogger::init(), and rl::operator<<().

vector of all the rays in the tree


The documentation for this struct was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends