View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Classes | Public Types | Public Member Functions | List of all members
vistle::GridInterface Class Referenceabstract

#include <core/grid.h>

Inheritance diagram for vistle::GridInterface:
Inheritance graph
[legend]
Collaboration diagram for vistle::GridInterface:
Collaboration graph
[legend]

Classes

class  Interpolator
 return at least those elements sharing faces with elem, but might also contain those just sharing vertices More...
 

Public Types

enum  FindCellFlags { NoFlags = 0 , AcceptGhost = 1 , ForceCelltree = 2 , NoCelltree = 4 }
 

Public Member Functions

virtual bool isGhostCell (Index elem) const =0
 
virtual Index findCell (const Vector &point, Index hint=InvalidIndex, int flags=NoFlags) const =0
 
virtual bool inside (Index elem, const Vector &point) const =0
 
virtual std::pair< Vector, VectorcellBounds (Index elem) const =0
 
virtual Vector cellCenter (Index elem) const =0
 
virtual Scalar cellDiameter (Index elem) const =0
 
virtual Scalar exitDistance (Index elem, const Vector &point, const Vector &dir) const =0
 
virtual std::vector< IndexgetNeighborElements (Index elem) const =0
 
 DEFINE_ENUM_WITH_STRING_CONVERSIONS (InterpolationMode,(First)(Mean)(Nearest)(Linear))
 
virtual Interpolator getInterpolator (Index elem, const Vector &point, DataBase::Mapping mapping=DataBase::Vertex, InterpolationMode mode=Linear) const =0
 
Interpolator getInterpolator (const Vector &point, DataBase::Mapping mapping=DataBase::Vertex, InterpolationMode mode=Linear) const
 
- Public Member Functions inherited from vistle::ElementInterface
virtual Index getNumElements ()=0
 
virtual Index getNumElements () const =0
 
virtual Index cellNumFaces (Index elem) const =0
 
virtual std::vector< IndexcellVertices (Index elem) const =0
 
- Public Member Functions inherited from vistle::GeometryInterface
virtual std::pair< Vector, VectorgetBounds () const =0
 
virtual Index getNumVertices ()=0
 
virtual Index getNumVertices () const =0
 
virtual normals_const_ptr normals () const =0
 
virtual Vector3 getVertex (Index v) const =0
 
- Public Member Functions inherited from vistle::ObjectInterfaceBase
virtual std::shared_ptr< const Objectobject () const =0
 

Additional Inherited Members

- Protected Member Functions inherited from vistle::ObjectInterfaceBase
virtual ~ObjectInterfaceBase ()
 

Member Enumeration Documentation

◆ FindCellFlags

Enumerator
NoFlags 
AcceptGhost 
ForceCelltree 
NoCelltree 

Member Function Documentation

◆ cellBounds()

virtual std::pair< Vector, Vector > vistle::GridInterface::cellBounds ( Index  elem) const
pure virtual

◆ cellCenter()

virtual Vector vistle::GridInterface::cellCenter ( Index  elem) const
pure virtual

◆ cellDiameter()

virtual Scalar vistle::GridInterface::cellDiameter ( Index  elem) const
pure virtual

◆ DEFINE_ENUM_WITH_STRING_CONVERSIONS()

vistle::GridInterface::DEFINE_ENUM_WITH_STRING_CONVERSIONS ( InterpolationMode  ,
(First)(Mean)(Nearest)(Linear)   
)

◆ exitDistance()

virtual Scalar vistle::GridInterface::exitDistance ( Index  elem,
const Vector point,
const Vector dir 
) const
pure virtual

◆ findCell()

virtual Index vistle::GridInterface::findCell ( const Vector point,
Index  hint = InvalidIndex,
int  flags = NoFlags 
) const
pure virtual

◆ getInterpolator() [1/2]

Interpolator vistle::GridInterface::getInterpolator ( const Vector point,
DataBase::Mapping  mapping = DataBase::Vertex,
InterpolationMode  mode = Linear 
) const
inline

◆ getInterpolator() [2/2]

virtual Interpolator vistle::GridInterface::getInterpolator ( Index  elem,
const Vector point,
DataBase::Mapping  mapping = DataBase::Vertex,
InterpolationMode  mode = Linear 
) const
pure virtual

◆ getNeighborElements()

virtual std::vector< Index > vistle::GridInterface::getNeighborElements ( Index  elem) const
pure virtual

◆ inside()

virtual bool vistle::GridInterface::inside ( Index  elem,
const Vector point 
) const
pure virtual

◆ isGhostCell()

virtual bool vistle::GridInterface::isGhostCell ( Index  elem) const
pure virtual

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