Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
QHyodaGLCell Class Reference
Inheritance diagram for QHyodaGLCell:
Collaboration diagram for QHyodaGLCell:

Public Member Functions

 QHyodaGLCell (QWidget *)
void clear ()
void add_node (const QVector3D &, const QColor)
void draw () const
void set_hexahedron_nodes (QVector< QVector3D > &)
void set_triangle_nodes (QVector< QVector3D > &)
void set_quads_nodes (QVector< QVector3D > &)
Public Member Functions inherited from QHyodaGL
 QHyodaGL (QWidget *=0)

Public Attributes

quint64 cell_nb_nodes
QVector< QVector3D > nodes
QVector< QVector4D > colors
Public Attributes inherited from QHyodaGL
QVector2D mouse
QVector4D pov

Private Attributes

const GLubyte stdIdx [8] = {0,1,2,3,4,5,6,7}
const GLubyte hexIdx [24] = {0,3,2,1,2,3,7,6,0,4,7,3,1,2,6,5,4,5,6,7,0,1,5,4}

Additional Inherited Members

Protected Member Functions inherited from QHyodaGL
void initializeGL () Q_DECL_OVERRIDE
void resizeGL (int, int) Q_DECL_OVERRIDE
void paintGL () Q_DECL_OVERRIDE
void mousePressEvent (QMouseEvent *) Q_DECL_OVERRIDE
void mouseMoveEvent (QMouseEvent *) Q_DECL_OVERRIDE
void wheelEvent (QWheelEvent *) Q_DECL_OVERRIDE

Detailed Description

Definition at line 15 of file QHyodaGLCell.h.

Constructor & Destructor Documentation

◆ QHyodaGLCell()

QHyodaGLCell::QHyodaGLCell ( QWidget * parent)

Definition at line 13 of file QHyodaGLCell.cc.

◆ ~QHyodaGLCell()

QHyodaGLCell::~QHyodaGLCell ( )
inline

Definition at line 18 of file QHyodaGLCell.h.

Member Function Documentation

◆ add_node()

void QHyodaGLCell::add_node ( const QVector3D & node_coords,
const QColor color )

Definition at line 23 of file QHyodaGLCell.cc.

◆ clear()

void QHyodaGLCell::clear ( )

Definition at line 18 of file QHyodaGLCell.cc.

◆ draw()

void QHyodaGLCell::draw ( ) const
virtual

Implements QHyodaGL.

Definition at line 32 of file QHyodaGLCell.cc.

Member Data Documentation

◆ cell_nb_nodes

quint64 QHyodaGLCell::cell_nb_nodes

Definition at line 28 of file QHyodaGLCell.h.

◆ colors

QVector<QVector4D> QHyodaGLCell::colors

Definition at line 30 of file QHyodaGLCell.h.

◆ hexIdx

const GLubyte QHyodaGLCell::hexIdx[24] = {0,3,2,1,2,3,7,6,0,4,7,3,1,2,6,5,4,5,6,7,0,1,5,4}
private

Definition at line 33 of file QHyodaGLCell.h.

◆ nodes

QVector<QVector3D> QHyodaGLCell::nodes

Definition at line 29 of file QHyodaGLCell.h.

◆ stdIdx

const GLubyte QHyodaGLCell::stdIdx[8] = {0,1,2,3,4,5,6,7}
private

Definition at line 32 of file QHyodaGLCell.h.


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