FemViewer::BBox3D Class Reference

#include <BBox3D.h>

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

List of all members.

Classes

class  Edge

Public Member Functions

 BBox3D ()
 BBox3D (const BBox3D &pBBox3D)
 BBox3D (const Vec3D &pPoint)
 BBox3D (const fvmath::Vec3f &pCenter, const float size)
 BBox3D (const fvmath::Vec3f &pLower, const fvmath::Vec3f &pUpper)
 BBox3D (const Vec3D &pLower, const Vec3D &pUpper)
template<class T >
 BBox3D (const fvmath::Vec3< T > &l, const fvmath::Vec3< T > &u)
 ~BBox3D ()
Vec3foperator[] (size_t idx)
const Vec3foperator[] (size_t idx) const
void Reset ()
void dumpCharacteristics (std::ostream &pOstream, const std::string &pIndentation, const Matrix< float > &pTransformation)
void render () const
CVec3f getCenter () const
template<class T >
fvmath::CVec3< Tcenter () const
float getCircumscribedSphereRadius () const
float Xmin () const
float Ymin () const
float Zmin () const
float Xmax () const
float Ymax () const
float Zmax () const
void minX (float x)
void maxX (float x)
void minY (float y)
void maxY (float y)
void minZ (float z)
void maxZ (float z)
Vec3D lower () const
Vec3D upper () const
template<class T >
void move (const fvmath::Vec3< T > &mv)
bool IsInside (const Vec3D &pt) const
template<class T >
bool IsInside (const fvmath::Vec3< T > &pt) const
BBox3Doperator= (const BBox3D &pBBox3D)
BBox3D operator+ (const BBox3D &pBBox3D) const
BBox3D operator+ (const Vec3D &pPoint) const
BBox3Doperator+= (const BBox3D &pBBox3D)
BBox3Doperator+= (const Vec3D &pPoint)
template<class T >
BBox3Doperator+= (const fvmath::Vec3< T > &pPoint)
template<class T >
BBox3Doperator+= (const fvmath::Vec3< T > *pPoint)
uint8_t majorAxis (float *pSize) const
float maxDim () const
float minDim () const
float * data (void)
bool isInitialized () const
void setInitialized (const float flg=true)
bool intersect (const Ray< float > &r) const
template<>
BBox3Doperator+= (const fvmath::Vec3f &pPoint)
template<>
BBox3Doperator+= (const fvmath::Vec3d &pPoint)

Static Public Member Functions

template<typename T = float>
static uint8_t InitVertices (const BBox3D *pBBox3D, CVec3< T > *pVertices)

Friends

BBox3D operator* (const Matrix< float > &pMatrix, const BBox3D &pBBox3D)
BBox3D operator* (const BBox3D &pBBox3D, const float zoom)
std::ostream & operator<< (std::ostream &os, const BBox3D &pBBox)

Constructor & Destructor Documentation

FemViewer::BBox3D::BBox3D (  ) 
FemViewer::BBox3D::BBox3D ( const BBox3D pBBox3D  ) 
FemViewer::BBox3D::BBox3D ( const Vec3D pPoint  )  [explicit]
FemViewer::BBox3D::BBox3D ( const fvmath::Vec3f pCenter,
const float  size 
) [explicit]
FemViewer::BBox3D::BBox3D ( const fvmath::Vec3f pLower,
const fvmath::Vec3f pUpper 
) [explicit]
FemViewer::BBox3D::BBox3D ( const Vec3D pLower,
const Vec3D pUpper 
) [explicit]
template<class T >
FemViewer::BBox3D::BBox3D ( const fvmath::Vec3< T > &  l,
const fvmath::Vec3< T > &  u 
) [inline, explicit]
FemViewer::BBox3D::~BBox3D (  )  [inline]

Member Function Documentation

template<class T >
fvmath::CVec3< T > FemViewer::BBox3D::center (  )  const [inline]

Here is the caller graph for this function:

float* FemViewer::BBox3D::data ( void   )  [inline]

Here is the caller graph for this function:

void FemViewer::BBox3D::dumpCharacteristics ( std::ostream &  pOstream,
const std::string &  pIndentation,
const Matrix< float > &  pTransformation 
)

Here is the caller graph for this function:

CVec3f FemViewer::BBox3D::getCenter (  )  const

Here is the caller graph for this function:

float FemViewer::BBox3D::getCircumscribedSphereRadius (  )  const

Here is the caller graph for this function:

template<typename T >
uint8_t FemViewer::BBox3D::InitVertices ( const BBox3D pBBox3D,
CVec3< T > *  pVertices 
) [inline, static]

Here is the call graph for this function:

Here is the caller graph for this function:

bool FemViewer::BBox3D::intersect ( const Ray< float > &  r  )  const [inline]

Here is the caller graph for this function:

bool FemViewer::BBox3D::isInitialized (  )  const [inline]

Here is the caller graph for this function:

template<class T >
bool FemViewer::BBox3D::IsInside ( const fvmath::Vec3< T > &  pt  )  const [inline]
bool FemViewer::BBox3D::IsInside ( const Vec3D pt  )  const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

Vec3D FemViewer::BBox3D::lower (  )  const [inline]
uint8_t FemViewer::BBox3D::majorAxis ( float *  pSize  )  const [inline]

Here is the caller graph for this function:

float FemViewer::BBox3D::maxDim (  )  const [inline]

Here is the caller graph for this function:

void FemViewer::BBox3D::maxX ( float  x  )  [inline]
void FemViewer::BBox3D::maxY ( float  y  )  [inline]
void FemViewer::BBox3D::maxZ ( float  z  )  [inline]
float FemViewer::BBox3D::minDim (  )  const [inline]

Here is the call graph for this function:

void FemViewer::BBox3D::minX ( float  x  )  [inline]
void FemViewer::BBox3D::minY ( float  y  )  [inline]
void FemViewer::BBox3D::minZ ( float  z  )  [inline]
template<class T >
void FemViewer::BBox3D::move ( const fvmath::Vec3< T > &  mv  )  [inline]
BBox3D FemViewer::BBox3D::operator+ ( const Vec3D pPoint  )  const
BBox3D FemViewer::BBox3D::operator+ ( const BBox3D pBBox3D  )  const
template<>
BBox3D& FemViewer::BBox3D::operator+= ( const fvmath::Vec3d pPoint  )  [inline]

Here is the call graph for this function:

template<>
BBox3D& FemViewer::BBox3D::operator+= ( const fvmath::Vec3f pPoint  )  [inline]

Here is the call graph for this function:

template<class T >
BBox3D& FemViewer::BBox3D::operator+= ( const fvmath::Vec3< T > *  pPoint  )  [inline]

Here is the call graph for this function:

template<class T >
BBox3D& FemViewer::BBox3D::operator+= ( const fvmath::Vec3< T > &  pPoint  )  [inline]
BBox3D & FemViewer::BBox3D::operator+= ( const Vec3D pPoint  ) 
BBox3D & FemViewer::BBox3D::operator+= ( const BBox3D pBBox3D  ) 
BBox3D & FemViewer::BBox3D::operator= ( const BBox3D pBBox3D  ) 
const Vec3f& FemViewer::BBox3D::operator[] ( size_t  idx  )  const [inline]
Vec3f& FemViewer::BBox3D::operator[] ( size_t  idx  )  [inline]
void FemViewer::BBox3D::render ( void   )  const

Here is the caller graph for this function:

void FemViewer::BBox3D::Reset (  ) 

Here is the caller graph for this function:

void FemViewer::BBox3D::setInitialized ( const float  flg = true  )  [inline]

Here is the caller graph for this function:

Vec3D FemViewer::BBox3D::upper (  )  const [inline]
float FemViewer::BBox3D::Xmax (  )  const [inline]

Here is the caller graph for this function:

float FemViewer::BBox3D::Xmin (  )  const [inline]

Here is the caller graph for this function:

float FemViewer::BBox3D::Ymax (  )  const [inline]

Here is the caller graph for this function:

float FemViewer::BBox3D::Ymin (  )  const [inline]

Here is the caller graph for this function:

float FemViewer::BBox3D::Zmax (  )  const [inline]

Here is the caller graph for this function:

float FemViewer::BBox3D::Zmin (  )  const [inline]

Here is the caller graph for this function:


Friends And Related Function Documentation

BBox3D operator* ( const BBox3D pBBox3D,
const float  zoom 
) [friend]
BBox3D operator* ( const Matrix< float > &  pMatrix,
const BBox3D pBBox3D 
) [friend]
std::ostream& operator<< ( std::ostream &  os,
const BBox3D pBBox 
) [friend]

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