FemViewer::CutPlane Class Reference

#include <CutPlane.h>

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

List of all members.

Classes

struct  comp

Public Types

typedef std::pair< int, int > elem_idx
typedef std::set< elem_idx, compelem_indices
typedef elem_indices::iterator elem_indices_itr

Public Member Functions

 CutPlane (double nx=0.0, double ny=0.0, double nz=1.0, double d=-0.05, bool normalize=true)
 CutPlane (double p[], bool normalize=true)
 CutPlane (const CutPlane &rhs)
CutPlaneoperator= (const CutPlane &rhs)
virtual ~CutPlane ()
void Enable (bool status=true)
bool IsActive () const
void Show (bool status=true)
void Hide ()
bool IsVisible () const
void SetChanged (bool state=true)
bool IsPlaneChanged () const
bool IsNormalized () const
elem_indicesGetElementIndices ()
const elem_indicesGetElementIndices () const
void Set (double a, double b, double c, double d, bool normalize=true)
bool operator() (const Plane &rhPl)
bool operator== (const CutPlane &rhs)
int IntersectWithLine (double *x2, double *x1, double &u) const
int CheckOrientation (const double v[])
int InversPlane (const double v[])
bool InitGeometryOutlines (const BBox3D &bbox)
bool IsValid (const AAbbf &bbox) const
template<typename T >
int IntersectBBox3D (const AAbb< T > &bbox) const
bool InitOutlines (const BBox3D &bbox)
void Draw () const
void AddIndex (const elem_idx &&idx)
bool IsElement (const elem_idx &&idx) const
unsigned GetMaxNUmVertices (int max_div)
unsigned GetMaxNumIndices (int max_div)

Static Public Member Functions

static int Defaults (const BBox3D &bbox, std::vector< CutPlane > &out_planes)
static CutPlane SetPlane (fvmath::CVec3d normal, fvmath::CVec3d point)
static unsigned CutElement (const CutPlane *pl, const double vts[18], const int nodes[7], const int index, int div, std::vector< Node_t > &vertices, std::vector< unsigned > &triagles)

Friends

std::ostream & operator<< (std::ostream &os, const CutPlane &rhs)

Member Typedef Documentation

typedef std::pair<int,int> FemViewer::CutPlane::elem_idx
typedef elem_indices::iterator FemViewer::CutPlane::elem_indices_itr

Constructor & Destructor Documentation

FemViewer::CutPlane::CutPlane ( double  nx = 0.0,
double  ny = 0.0,
double  nz = 1.0,
double  d = -0.05,
bool  normalize = true 
) [inline]

Here is the call graph for this function:

FemViewer::CutPlane::CutPlane ( double  p[],
bool  normalize = true 
) [inline]

Here is the call graph for this function:

FemViewer::CutPlane::CutPlane ( const CutPlane rhs  )  [inline]
virtual FemViewer::CutPlane::~CutPlane (  )  [inline, virtual]

Member Function Documentation

void FemViewer::CutPlane::AddIndex ( const elem_idx &&  idx  ) 
int FemViewer::CutPlane::CheckOrientation ( const double  v[]  ) 

Here is the call graph for this function:

unsigned int FemViewer::CutPlane::CutElement ( const CutPlane pl,
const double  vts[18],
const int  nodes[7],
const int  index,
int  div,
std::vector< Node_t > &  vertices,
std::vector< unsigned > &  triagles 
) [static]

Here is the call graph for this function:

int FemViewer::CutPlane::Defaults ( const BBox3D bbox,
std::vector< CutPlane > &  out_planes 
) [static]

Here is the call graph for this function:

Here is the caller graph for this function:

void FemViewer::CutPlane::Draw ( void   )  const [inline]

Here is the call graph for this function:

void FemViewer::CutPlane::Enable ( bool  status = true  )  [inline]
const elem_indices& FemViewer::CutPlane::GetElementIndices (  )  const [inline]
elem_indices& FemViewer::CutPlane::GetElementIndices (  )  [inline]
unsigned FemViewer::CutPlane::GetMaxNumIndices ( int  max_div  ) 
unsigned FemViewer::CutPlane::GetMaxNUmVertices ( int  max_div  ) 
void FemViewer::CutPlane::Hide (  )  [inline]
bool FemViewer::CutPlane::InitGeometryOutlines ( const BBox3D bbox  ) 
bool FemViewer::CutPlane::InitOutlines ( const BBox3D bbox  ) 

Here is the call graph for this function:

template<typename T >
int FemViewer::CutPlane::IntersectBBox3D ( const AAbb< T > &  bbox  )  const [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

int FemViewer::CutPlane::IntersectWithLine ( double *  x2,
double *  x1,
double &  u 
) const [inline]

Here is the caller graph for this function:

int FemViewer::CutPlane::InversPlane ( const double  v[]  ) 

Here is the call graph for this function:

bool FemViewer::CutPlane::IsActive (  )  const [inline]

Here is the caller graph for this function:

bool FemViewer::CutPlane::IsElement ( const elem_idx &&  idx  )  const

Here is the caller graph for this function:

bool FemViewer::CutPlane::IsNormalized (  )  const [inline]

Here is the caller graph for this function:

bool FemViewer::CutPlane::IsPlaneChanged (  )  const [inline]

Here is the caller graph for this function:

bool FemViewer::CutPlane::IsValid ( const AAbbf bbox  )  const [inline]

Here is the call graph for this function:

bool FemViewer::CutPlane::IsVisible (  )  const [inline]

Here is the caller graph for this function:

bool FemViewer::CutPlane::operator() ( const Plane rhPl  )  [inline]

Here is the call graph for this function:

CutPlane& FemViewer::CutPlane::operator= ( const CutPlane rhs  )  [inline]

Reimplemented from FemViewer::Plane.

bool FemViewer::CutPlane::operator== ( const CutPlane rhs  ) 
void FemViewer::CutPlane::Set ( double  a,
double  b,
double  c,
double  d,
bool  normalize = true 
) [inline]

Here is the call graph for this function:

Here is the caller graph for this function:

void FemViewer::CutPlane::SetChanged ( bool  state = true  )  [inline]
CutPlane FemViewer::CutPlane::SetPlane ( fvmath::CVec3d  normal,
fvmath::CVec3d  point 
) [static]

Here is the caller graph for this function:

void FemViewer::CutPlane::Show ( bool  status = true  )  [inline]

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CutPlane rhs 
) [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