VTK-m
2.0
|
Implicit function for a box. More...
#include <ImplicitFunction.h>
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 |
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.
|
inline |
Construct box with center at (0,0,0) and each side of length 1.0.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |