#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/feature-white238-inlet_variant_containers/src/axom/klee/GeometryOperators.hpp>
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.
◆ SliceOperator()
Create a new Slice.
- Parameters
-
| 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. |
◆ getOrigin()
Get the origin of the coordinate system.
- Returns
- the system's origin
◆ getNormal()
Get a vector normal to the slice plane.
- Returns
- a vector normal to the slice plane
◆ getUp()
Get a vector in the direction of the positive Y axis.
- Returns
- the direction of the positive Y axis
◆ toMatrix()
Convert this operator to its matrix representation.
- Returns
- a 4x4 affine transformation matrix
Implements axom::klee::MatrixOperator.
◆ accept()
Accept the given visitor. The appropriate visit() method will be called on the visitor based on the run-time type of this operator.
- Parameters
-
| visitor | the visitor to accept. |
Implements axom::klee::GeometryOperator.
◆ getEndProperties()
Get the properties after this operator is applied
- Returns
- the properties which are true after this operator is applied
Reimplemented from axom::klee::GeometryOperator.
◆ GeometryOperator()
| axom::klee::GeometryOperator::GeometryOperator |
|
explicitinherited |
Create an operator with the given start properties
- Parameters
-
| startProperties | the properties before the operator is applied |
◆ getStartProperties()
Get the properties that the operator expects to start in
- Returns
- the properties which must be true before this operator is applied
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/feature-white238-inlet_variant_containers/src/axom/klee/GeometryOperators.hpp