FemViewer::Grid Class Reference

#include <Accelerators.h>

Inheritance diagram for FemViewer::Grid:
Inheritance graph
[legend]
Collaboration diagram for FemViewer::Grid:
Collaboration graph
[legend]

List of all members.

Classes

struct  CellItem
struct  MyContainer

Public Member Functions

 Grid (const RContext *rcx)
 Grid (const RContext *rcx, const BBox3D &bbox, uint32_t nEls)
 ~Grid ()
Cell * operator() (uint_t x, uint_t y, uint_t z)
void test (BBox3D &elBBox, fvmath::CVec3f &center)
void create ()
void segregate ()
void insert (BBox3D &elBBox, CVec3f &center, ElemId< id_t > ID)
void PackElems (std::vector< CoordType > &ElCoords, std::vector< float > &ElCoefs, std::vector< uint32_t > &Cells)
const mfvBaseObjectintersect (const Ray< float > &ray, isect_info_t &isectData) const
void render (void)
void drawOn (bool On=true)
void dump (void) const

Public Attributes

Cell ** cells
BBox3D bbox
const uint32_t numElems
uint32_t resolution [3]
CVec3f cellDimension
uint32_tC
uint32_tL

Constructor & Destructor Documentation

FemViewer::Grid::Grid ( const RContext rcx  ) 

Here is the call graph for this function:

FemViewer::Grid::Grid ( const RContext rcx,
const BBox3D bbox,
uint32_t  nEls 
)
FemViewer::Grid::~Grid (  )  [inline]

Member Function Documentation

void FemViewer::Grid::create (  ) 
void FemViewer::Grid::drawOn ( bool  On = true  )  [virtual]

Reimplemented from FemViewer::Accelerator.

Here is the caller graph for this function:

void FemViewer::Grid::dump ( void   )  const [virtual]

Reimplemented from FemViewer::Accelerator.

void FemViewer::Grid::insert ( BBox3D elBBox,
fvmath::CVec3f center,
ElemId< id_t ID 
) [virtual]

Reimplemented from FemViewer::Accelerator.

Here is the call graph for this function:

const mfvBaseObject * FemViewer::Grid::intersect ( const Ray< float > &  ray,
isect_info_t isectData 
) const

Here is the call graph for this function:

Cell* FemViewer::Grid::operator() ( uint_t  x,
uint_t  y,
uint_t  z 
) [inline]
void FemViewer::Grid::PackElems ( std::vector< CoordType > &  ElCoords,
std::vector< float > &  ElCoefs,
std::vector< uint32_t > &  Cells 
)
void FemViewer::Grid::render ( void   ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void FemViewer::Grid::segregate (  ) 
void FemViewer::Grid::test ( BBox3D elBBox,
fvmath::CVec3f center 
)

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1