SimpleFastOpenAtomicVisualiser
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Cell Class Reference

Draw the simulation cell (a box). More...

#include <cell.h>

Public Member Functions

 Cell (glm::vec3 a, glm::vec3 b, glm::vec3 c)
 Construct a new Cell from cell vectors.
 
 ~Cell ()
 
void setProjectionView (glm::mat4 pv)
 Set the Projection*View matrix.
 
void setVectors (glm::vec3 a, glm::vec3 b, glm::vec3 c)
 Set the cell vectors.
 
void draw ()
 Draw the cell box by its edges.
 

Detailed Description

Draw the simulation cell (a box).

@remarl draws the edges of the simulation cell box.

Constructor & Destructor Documentation

◆ Cell()

Cell::Cell ( glm::vec3  a,
glm::vec3  b,
glm::vec3  c 
)
inline

Construct a new Cell from cell vectors.

Parameters
afirst axis of box.
bsecond axis of box.
cthird axis of box.

◆ ~Cell()

Cell::~Cell ( )
inline

Member Function Documentation

◆ draw()

void Cell::draw ( )
inline

Draw the cell box by its edges.

◆ setProjectionView()

void Cell::setProjectionView ( glm::mat4  pv)
inline

Set the Projection*View matrix.

Parameters
pvthe PV matrix.

◆ setVectors()

void Cell::setVectors ( glm::vec3  a,
glm::vec3  b,
glm::vec3  c 
)
inline

Set the cell vectors.

Parameters
afirst axis of box.
bsecond axis of box.
cthird axis of box.

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