VTK-m  2.0
Public Member Functions | Private Attributes | List of all members
vtkm::Box Class Reference

Implicit function for a box. More...

#include <ImplicitFunction.h>

Inheritance diagram for vtkm::Box:
vtkm::cont::ExecutionAndControlObjectBase vtkm::cont::ExecutionObjectBase

Public Member Functions

VTKM_EXEC_CONT Box ()
 Construct box with center at (0,0,0) and each side of length 1.0. More...
 
VTKM_EXEC_CONT Box (const Vector &minPoint, const Vector &maxPoint)
 
VTKM_EXEC_CONT Box (Scalar xmin, Scalar xmax, Scalar ymin, Scalar ymax, Scalar zmin, Scalar zmax)
 
VTKM_CONT Box (const vtkm::Bounds &bounds)
 
VTKM_CONT void SetMinPoint (const Vector &point)
 
VTKM_CONT void SetMaxPoint (const Vector &point)
 
const VTKM_EXEC_CONT Vector & GetMinPoint () const
 
const VTKM_EXEC_CONT Vector & GetMaxPoint () const
 
VTKM_CONT void SetBounds (const vtkm::Bounds &bounds)
 
VTKM_EXEC_CONT vtkm::Bounds GetBounds () const
 
VTKM_EXEC_CONT Scalar Value (const Vector &point) const
 
VTKM_EXEC_CONT Vector Gradient (const Vector &point) const
 

Private Attributes

Vector MinPoint
 
Vector MaxPoint
 

Detailed Description

Implicit function for a box.

Box computes the implicit function and/or gradient for a axis-aligned bounding box. Each side of the box is orthogonal to all other sides meeting along shared edges and all faces are orthogonal to the x-y-z coordinate axes.

Constructor & Destructor Documentation

◆ Box() [1/4]

VTKM_EXEC_CONT vtkm::Box::Box ( )
inline

Construct box with center at (0,0,0) and each side of length 1.0.

◆ Box() [2/4]

VTKM_EXEC_CONT vtkm::Box::Box ( const Vector &  minPoint,
const Vector &  maxPoint 
)
inline

◆ Box() [3/4]

VTKM_EXEC_CONT vtkm::Box::Box ( Scalar  xmin,
Scalar  xmax,
Scalar  ymin,
Scalar  ymax,
Scalar  zmin,
Scalar  zmax 
)
inline

◆ Box() [4/4]

VTKM_CONT vtkm::Box::Box ( const vtkm::Bounds bounds)
inline

Member Function Documentation

◆ GetBounds()

VTKM_EXEC_CONT vtkm::Bounds vtkm::Box::GetBounds ( ) const
inline

◆ GetMaxPoint()

const VTKM_EXEC_CONT Vector& vtkm::Box::GetMaxPoint ( ) const
inline

◆ GetMinPoint()

const VTKM_EXEC_CONT Vector& vtkm::Box::GetMinPoint ( ) const
inline

◆ Gradient()

VTKM_EXEC_CONT Vector vtkm::Box::Gradient ( const Vector &  point) const
inline

◆ SetBounds()

VTKM_CONT void vtkm::Box::SetBounds ( const vtkm::Bounds bounds)
inline

◆ SetMaxPoint()

VTKM_CONT void vtkm::Box::SetMaxPoint ( const Vector &  point)
inline

◆ SetMinPoint()

VTKM_CONT void vtkm::Box::SetMinPoint ( const Vector &  point)
inline

◆ Value()

VTKM_EXEC_CONT Scalar vtkm::Box::Value ( const Vector &  point) const
inline

Member Data Documentation

◆ MaxPoint

Vector vtkm::Box::MaxPoint
private

◆ MinPoint

Vector vtkm::Box::MinPoint
private

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