|
SimpleFastOpenAtomicVisualiser
|
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. | |
Draw the simulation cell (a box).
@remarl draws the edges of the simulation cell box.
|
inline |
Construct a new Cell from cell vectors.
| a | first axis of box. |
| b | second axis of box. |
| c | third axis of box. |
|
inline |
|
inline |
Draw the cell box by its edges.
|
inline |
Set the Projection*View matrix.
| pv | the PV matrix. |
|
inline |
Set the cell vectors.
| a | first axis of box. |
| b | second axis of box. |
| c | third axis of box. |