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/latest/src/axom/klee/GeometryOperators.hpp>
Public Member Functions | |
GeometryOperator (const TransformableGeometryProperties &startProperties) | |
virtual | ~GeometryOperator ()=default |
const TransformableGeometryProperties & | getStartProperties () const |
virtual TransformableGeometryProperties | getEndProperties () const |
virtual void | accept (GeometryOperatorVisitor &visitor) const =0 |
A GeometryOperator describes an operation to perform on the Geometry of a Shape.
There is a subclass of GeometryOperator for each operator defined in the format specification. You can figure out which one you're working with via the accept() method. This follows the standard visitor pattern.
|
explicit |
Create an operator with the given start properties
startProperties | the properties before the operator is applied |
|
virtualdefault |
|
inline |
Get the properties that the operator expects to start in
|
inlinevirtual |
Get the properties after this operator is applied
Reimplemented in axom::klee::SliceOperator, axom::klee::UnitConverter, and axom::klee::CompositeOperator.
|
pure virtual |
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. |
Implemented in axom::klee::SliceOperator, axom::klee::UnitConverter, axom::klee::Scale, axom::klee::Rotation, axom::klee::Translation, and axom::klee::CompositeOperator.