gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
ElementData< N > Class Template Reference

#include <VertexArray.h>

Collaboration diagram for ElementData< N >:

Public Member Functions

 ElementData (double *x, double *y, double *z, SVector3 *n, unsigned char *r, unsigned char *g, unsigned char *b, unsigned char *a, MElement *ele)
 
float x (int i) const
 
float y (int i) const
 
float z (int i) const
 
float nx (int i) const
 
float ny (int i) const
 
float nz (int i) const
 
unsigned char r (int i) const
 
unsigned char g (int i) const
 
unsigned char b (int i) const
 
unsigned char a (int i) const
 
MElementele () const
 
SPoint3 barycenter () const
 

Private Attributes

float _x [N]
 
float _y [N]
 
float _z [N]
 
float _nx [N]
 
float _ny [N]
 
float _nz [N]
 
unsigned char _r [N]
 
unsigned char _g [N]
 
unsigned char _b [N]
 
unsigned char _a [N]
 
MElement_ele
 

Detailed Description

template<int N>
class ElementData< N >

Definition at line 22 of file VertexArray.h.

Constructor & Destructor Documentation

◆ ElementData()

template<int N>
ElementData< N >::ElementData ( double *  x,
double *  y,
double *  z,
SVector3 n,
unsigned char *  r,
unsigned char *  g,
unsigned char *  b,
unsigned char *  a,
MElement ele 
)
inline

Definition at line 29 of file VertexArray.h.

Here is the call graph for this function:

Member Function Documentation

◆ a()

template<int N>
unsigned char ElementData< N >::a ( int  i) const
inline

Definition at line 64 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

◆ b()

template<int N>
unsigned char ElementData< N >::b ( int  i) const
inline

Definition at line 63 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

◆ barycenter()

template<int N>
SPoint3 ElementData< N >::barycenter ( ) const
inline

Definition at line 66 of file VertexArray.h.

Referenced by ElementDataLessThan< N >::operator()().

Here is the caller graph for this function:

◆ ele()

template<int N>
MElement* ElementData< N >::ele ( ) const
inline

Definition at line 65 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

◆ g()

template<int N>
unsigned char ElementData< N >::g ( int  i) const
inline

Definition at line 62 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

◆ nx()

template<int N>
float ElementData< N >::nx ( int  i) const
inline

Definition at line 58 of file VertexArray.h.

◆ ny()

template<int N>
float ElementData< N >::ny ( int  i) const
inline

Definition at line 59 of file VertexArray.h.

◆ nz()

template<int N>
float ElementData< N >::nz ( int  i) const
inline

Definition at line 60 of file VertexArray.h.

◆ r()

template<int N>
unsigned char ElementData< N >::r ( int  i) const
inline

Definition at line 61 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

◆ x()

template<int N>
float ElementData< N >::x ( int  i) const
inline

Definition at line 55 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

◆ y()

template<int N>
float ElementData< N >::y ( int  i) const
inline

Definition at line 56 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

◆ z()

template<int N>
float ElementData< N >::z ( int  i) const
inline

Definition at line 57 of file VertexArray.h.

Referenced by ElementData< N >::ElementData().

Here is the caller graph for this function:

Member Data Documentation

◆ _a

template<int N>
unsigned char ElementData< N >::_a[N]
private

Definition at line 25 of file VertexArray.h.

Referenced by ElementData< N >::a(), and ElementData< N >::ElementData().

◆ _b

template<int N>
unsigned char ElementData< N >::_b[N]
private

Definition at line 25 of file VertexArray.h.

Referenced by ElementData< N >::b(), and ElementData< N >::ElementData().

◆ _ele

template<int N>
MElement* ElementData< N >::_ele
private

Definition at line 26 of file VertexArray.h.

Referenced by ElementData< N >::ele(), and ElementData< N >::ElementData().

◆ _g

template<int N>
unsigned char ElementData< N >::_g[N]
private

Definition at line 25 of file VertexArray.h.

Referenced by ElementData< N >::ElementData(), and ElementData< N >::g().

◆ _nx

template<int N>
float ElementData< N >::_nx[N]
private

Definition at line 24 of file VertexArray.h.

Referenced by ElementData< N >::ElementData(), and ElementData< N >::nx().

◆ _ny

template<int N>
float ElementData< N >::_ny[N]
private

Definition at line 24 of file VertexArray.h.

Referenced by ElementData< N >::ElementData(), and ElementData< N >::ny().

◆ _nz

template<int N>
float ElementData< N >::_nz[N]
private

Definition at line 24 of file VertexArray.h.

Referenced by ElementData< N >::ElementData(), and ElementData< N >::nz().

◆ _r

template<int N>
unsigned char ElementData< N >::_r[N]
private

Definition at line 25 of file VertexArray.h.

Referenced by ElementData< N >::ElementData(), and ElementData< N >::r().

◆ _x

template<int N>
float ElementData< N >::_x[N]
private

◆ _y

template<int N>
float ElementData< N >::_y[N]
private

◆ _z

template<int N>
float ElementData< N >::_z[N]
private

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