Open CASCADE Technology  7.5.0
Data Structures | Namespaces | Macros | Typedefs | Functions
BVH_Types.hxx File Reference
#include <vector>
#include <Bnd_Box.hxx>
#include <NCollection_Mat4.hxx>
#include <NCollection_Vec2.hxx>
#include <NCollection_Vec3.hxx>
#include <NCollection_Vector.hxx>
#include <Standard_OStream.hxx>
#include <Standard_Type.hxx>

Data Structures

struct  BVH::VectorType< T, N >
 Tool class for selecting appropriate vector type (Eigen or NCollection). More...
 
struct  BVH::VectorType< T, 1 >
 
struct  BVH::VectorType< T, 2 >
 
struct  BVH::VectorType< T, 3 >
 
struct  BVH::VectorType< T, 4 >
 
struct  BVH::MatrixType< T, N >
 Tool class for selecting appropriate matrix type (Eigen or NCollection). More...
 
struct  BVH::MatrixType< T, 4 >
 
struct  BVH::ArrayType< T, N >
 Tool class for selecting type of array of vectors (STD or NCollection vector). More...
 
struct  BVH::VecComp< T, N >
 Tool class for accessing specific vector component (by index). More...
 
struct  BVH::VecComp< T, 2 >
 
struct  BVH::VecComp< T, 3 >
 
struct  BVH::VecComp< T, 4 >
 
struct  BVH::Array< T, N >
 Tool class providing typical operations on the array. It allows for interoperability between STD vector and NCollection vector. More...
 

Namespaces

 BVH
 

Macros

#define _BVH_USE_STD_VECTOR_
 

Typedefs

typedef BVH::VectorType< Standard_Integer, 2 >::Type BVH_Vec2i
 2D vector of integers. More...
 
typedef BVH::VectorType< Standard_Integer, 3 >::Type BVH_Vec3i
 3D vector of integers. More...
 
typedef BVH::VectorType< Standard_Integer, 4 >::Type BVH_Vec4i
 4D vector of integers. More...
 
typedef BVH::ArrayType< Standard_Integer, 2 >::Type BVH_Array2i
 Array of 2D vectors of integers. More...
 
typedef BVH::ArrayType< Standard_Integer, 3 >::Type BVH_Array3i
 Array of 3D vectors of integers. More...
 
typedef BVH::ArrayType< Standard_Integer, 4 >::Type BVH_Array4i
 Array of 4D vectors of integers. More...
 
typedef BVH::VectorType< Standard_ShortReal, 2 >::Type BVH_Vec2f
 2D vector of single precision reals. More...
 
typedef BVH::VectorType< Standard_ShortReal, 3 >::Type BVH_Vec3f
 3D vector of single precision reals. More...
 
typedef BVH::VectorType< Standard_ShortReal, 4 >::Type BVH_Vec4f
 4D vector of single precision reals. More...
 
typedef BVH::ArrayType< Standard_ShortReal, 2 >::Type BVH_Array2f
 Array of 2D vectors of single precision reals. More...
 
typedef BVH::ArrayType< Standard_ShortReal, 3 >::Type BVH_Array3f
 Array of 3D vectors of single precision reals. More...
 
typedef BVH::ArrayType< Standard_ShortReal, 4 >::Type BVH_Array4f
 Array of 4D vectors of single precision reals. More...
 
typedef BVH::VectorType< Standard_Real, 2 >::Type BVH_Vec2d
 2D vector of double precision reals. More...
 
typedef BVH::VectorType< Standard_Real, 3 >::Type BVH_Vec3d
 3D vector of double precision reals. More...
 
typedef BVH::VectorType< Standard_Real, 4 >::Type BVH_Vec4d
 4D vector of double precision reals. More...
 
typedef BVH::ArrayType< Standard_Real, 2 >::Type BVH_Array2d
 Array of 2D vectors of double precision reals. More...
 
typedef BVH::ArrayType< Standard_Real, 3 >::Type BVH_Array3d
 Array of 3D vectors of double precision reals. More...
 
typedef BVH::ArrayType< Standard_Real, 4 >::Type BVH_Array4d
 Array of 4D vectors of double precision reals. More...
 
typedef BVH::MatrixType< Standard_ShortReal, 4 >::Type BVH_Mat4f
 4x4 matrix of single precision reals. More...
 
typedef BVH::MatrixType< Standard_Real, 4 >::Type BVH_Mat4d
 4x4 matrix of double precision reals. More...
 

Functions

template<class T >
Bnd_Box BVH::ToBndBox (const T &theMin, const T &theMax)
 
template<class T >
Bnd_Box BVH::ToBndBox (const NCollection_Vec2< T > &theMin, const NCollection_Vec2< T > &theMax)
 
template<class T >
Bnd_Box BVH::ToBndBox (const NCollection_Vec3< T > &theMin, const NCollection_Vec3< T > &theMax)
 
template<class T >
Bnd_Box BVH::ToBndBox (const NCollection_Vec4< T > &theMin, const NCollection_Vec4< T > &theMax)
 

Macro Definition Documentation

◆ _BVH_USE_STD_VECTOR_

#define _BVH_USE_STD_VECTOR_

Typedef Documentation

◆ BVH_Array2d

Array of 2D vectors of double precision reals.

◆ BVH_Array2f

Array of 2D vectors of single precision reals.

◆ BVH_Array2i

Array of 2D vectors of integers.

◆ BVH_Array3d

Array of 3D vectors of double precision reals.

◆ BVH_Array3f

Array of 3D vectors of single precision reals.

◆ BVH_Array3i

Array of 3D vectors of integers.

◆ BVH_Array4d

Array of 4D vectors of double precision reals.

◆ BVH_Array4f

Array of 4D vectors of single precision reals.

◆ BVH_Array4i

Array of 4D vectors of integers.

◆ BVH_Mat4d

4x4 matrix of double precision reals.

◆ BVH_Mat4f

4x4 matrix of single precision reals.

◆ BVH_Vec2d

2D vector of double precision reals.

◆ BVH_Vec2f

2D vector of single precision reals.

◆ BVH_Vec2i

2D vector of integers.

◆ BVH_Vec3d

3D vector of double precision reals.

◆ BVH_Vec3f

3D vector of single precision reals.

◆ BVH_Vec3i

3D vector of integers.

◆ BVH_Vec4d

4D vector of double precision reals.

◆ BVH_Vec4f

4D vector of single precision reals.

◆ BVH_Vec4i

4D vector of integers.