Fermat
Classes | Namespaces | Functions
oct.h File Reference

Octahedral basis definitions and helper functions. More...

#include <cugar/basic/numbers.h>
#include <cugar/linalg/vector.h>
#include <cugar/linalg/matrix.h>

Go to the source code of this file.

Classes

struct  cugar::Oct_basis
 
struct  cugar::Oct_smooth_basis
 

Namespaces

 cugar
 Define a vector_view POD type and plain_view() for std::vector.
 

Functions

CUGAR_API CUGAR_HOST_DEVICE float cugar::oct_basis (const int32 i, const Vector3f &d)
 
CUGAR_API CUGAR_HOST_DEVICE float cugar::oct_smooth_basis (const int32 i, const Vector3f &omega)
 

Detailed Description

Octahedral basis definitions and helper functions.

Defines a set of 8 orthogonal functions on the sphere, where each function is constant over one of the faces of a octahedron and zero outside.

Additionally, introduces a smoothed version of these functions which form a non-orthogonal system.