OMToolkit  1.0
The polygonal mesh processing tool.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Types | Public Member Functions | Public Attributes | List of all members
OMToolkit::OMRay Class Reference

#include <OMTriBSPTreeRay.h>

Inheritance diagram for OMToolkit::OMRay:

Public Types

typedef
OMToolkit::Types::ModuleMeshd::Point 
PointT
 

Public Member Functions

 OMRay (PointT &origin, PointT &direction)
 

Public Attributes

PointT m_origin
 
PointT m_direction
 
PointT m_inv_dir
 
unsigned int m_posneg [3]
 

Detailed Description

Class representing a ray

Member Typedef Documentation

typedef OMToolkit::Types::ModuleMeshd::Point OMToolkit::OMRay::PointT

Constructor & Destructor Documentation

OMToolkit::OMRay::OMRay ( PointT origin,
PointT direction 
)
inline

Constructor - initializes ray information and precomputes some data

Member Data Documentation

PointT OMToolkit::OMRay::m_direction

Ray's vector

PointT OMToolkit::OMRay::m_inv_dir

Ray's inverse vector (1/vector)

PointT OMToolkit::OMRay::m_origin

Ray's origin

unsigned int OMToolkit::OMRay::m_posneg[3]

Number saying, if vector coordinate is negative or not


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