|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/klee/GeometryOperators.hpp>

Public Member Functions | |
| SliceOperator (const primal::Point3D &origin, const primal::Vector3D &normal, const primal::Vector3D &up, const TransformableGeometryProperties &startProperties) | |
| const primal::Point3D & | getOrigin () const |
| const primal::Vector3D & | getNormal () const |
| const primal::Vector3D & | getUp () const |
| numerics::Matrix< double > | toMatrix () const override |
| void | accept (GeometryOperatorVisitor &visitor) const override |
| TransformableGeometryProperties | getEndProperties () const override |
| GeometryOperator (const TransformableGeometryProperties &startProperties) | |
| const TransformableGeometryProperties & | getStartProperties () const |
A SliceOperator takes a 3D shape and makes it 2D by defining a cut plane. This plane is augmented with an origin and an "up" direction to orient the slice to the x-y plane.
| axom::klee::SliceOperator::SliceOperator | ( | const primal::Point3D & | origin, |
| const primal::Vector3D & | normal, | ||
| const primal::Vector3D & | up, | ||
| const TransformableGeometryProperties & | startProperties | ||
| ) |
Create a new Slice.
| origin | the origin of the coordinate system |
| normal | a vector normal to the slice plane. Cannot be a zero vector. |
| up | the direction of the positive Y axis. Must be normal to the "normal" vector. |
| startProperties | the initial properties, as in the parent class. The number of dimensions should be 3, though this is not checked. |
|
inline |
Get the origin of the coordinate system.
|
inline |
Get a vector normal to the slice plane.
|
inline |
Get a vector in the direction of the positive Y axis.
|
overridevirtual |
Convert this operator to its matrix representation.
Implements axom::klee::MatrixOperator.
|
overridevirtual |
Accept the given visitor. The appropriate visit() method will be called on the visitor based on the run-time type of this operator.
| visitor | the visitor to accept. |
Implements axom::klee::GeometryOperator.
|
overridevirtual |
Get the properties after this operator is applied
Reimplemented from axom::klee::GeometryOperator.
|
explicitinherited |
Create an operator with the given start properties
| startProperties | the properties before the operator is applied |
|
inlineinherited |
Get the properties that the operator expects to start in