Workspace 6.21.5
Public Types | Public Member Functions | List of all members
WSGLSparseOctree::Cell Class Reference

#include <Rendering/OpenGL/Shaders/wsglsparseoctree.h>

Public Types

enum  CellType { EmptyCell = 0x0 , InnerCell = 0x7F , DataCell = 0xFF }
 

Public Member Functions

 Cell ()
 
 Cell (const Cell &cell)=default
 
 Cell (QRgb data)
 
unsigned getOffset ()
 
CellType getType () const
 
 operator QRgb () const
 
void setOffset (unsigned offset)
 
void setType (CellType type)
 

Detailed Description

Cell in the indirection pool. 32 bit unsigned integer data.

Member Enumeration Documentation

◆ CellType

enum CellType
Enumerator
EmptyCell 
InnerCell 
DataCell 

Constructor & Destructor Documentation

◆ Cell() [1/3]

Cell ( )
inline

◆ Cell() [2/3]

Cell ( QRgb  data)
inline

◆ Cell() [3/3]

Cell ( const Cell cell)
default

Member Function Documentation

◆ getOffset()

unsigned getOffset ( )
inline

◆ getType()

CellType getType ( ) const
inline

◆ operator QRgb()

operator QRgb ( ) const
inline

◆ setOffset()

void setOffset ( unsigned  offset)
inline

◆ setType()

void setType ( CellType  type)
inline