Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | List of all members
castor::Grid Class Reference

#include <Grid.hpp>

Public Member Functions

CU_API Grid ()=default
 
CU_API Grid (Grid const &)=default
 
CU_API Grid (Grid &&) noexcept=default
 
CU_API Gridoperator= (Grid const &)=default
 
CU_API Gridoperator= (Grid &&) noexcept=default
 
CU_API ~Grid () noexcept=default
 
CU_API Grid (uint32_t gridSize, float cellSize, Point3f max, Point3f min, float scale)
 
CU_API Grid (Grid const &old, float scale)
 
CU_API void transform (Point3f pos, Point3f dir)
 
Point3f const & getMin () const
 
Point3f const & getMax () const
 
Point3ui const & getDimensions () const
 
float getScale () const
 
float getCellSize () const
 
Matrix4x4f const & getModelMatrix () const
 
Point3f getCenter () const
 

Constructor & Destructor Documentation

◆ Grid() [1/5]

CU_API castor::Grid::Grid ( )
default

◆ Grid() [2/5]

CU_API castor::Grid::Grid ( Grid const & )
default

◆ Grid() [3/5]

CU_API castor::Grid::Grid ( Grid && )
defaultnoexcept

◆ ~Grid()

CU_API castor::Grid::~Grid ( )
defaultnoexcept

◆ Grid() [4/5]

CU_API castor::Grid::Grid ( uint32_t gridSize,
float cellSize,
Point3f max,
Point3f min,
float scale )

◆ Grid() [5/5]

CU_API castor::Grid::Grid ( Grid const & old,
float scale )

Member Function Documentation

◆ getCellSize()

float castor::Grid::getCellSize ( ) const
inline

◆ getCenter()

Point3f castor::Grid::getCenter ( ) const
inline

◆ getDimensions()

Point3ui const & castor::Grid::getDimensions ( ) const
inline

◆ getMax()

Point3f const & castor::Grid::getMax ( ) const
inline

◆ getMin()

Point3f const & castor::Grid::getMin ( ) const
inline

◆ getModelMatrix()

Matrix4x4f const & castor::Grid::getModelMatrix ( ) const
inline

◆ getScale()

float castor::Grid::getScale ( ) const
inline

◆ operator=() [1/2]

CU_API Grid & castor::Grid::operator= ( Grid && )
defaultnoexcept

◆ operator=() [2/2]

CU_API Grid & castor::Grid::operator= ( Grid const & )
default

◆ transform()

CU_API void castor::Grid::transform ( Point3f pos,
Point3f dir )

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