9 #include "imstkGeometryAlgorithm.h" 43 std::shared_ptr<Geometry> getParentGeometry()
const {
return getInput(0); }
50 std::shared_ptr<Geometry> getChildGeometry()
const {
return getInput(1); }
virtual const std::string getTypeName() const =0
Returns the string class name.
void setParentGeometry(std::shared_ptr< Geometry > parent)
Get/Set parent geometry.
std::shared_ptr< Geometry > getInput(size_t port=0) const
Returns input geometry given port, returns nullptr if doesn't exist.
void setChildGeometry(std::shared_ptr< Geometry > child)
Get/Set child geometry.
void setInput(std::shared_ptr< Geometry > inputGeometry, size_t port=0)
Set the input at the port.
Abstract base class for geometry algorithms. GeometryAlgorithms take N input geometries and produce N...
Base class for any geometric map.
virtual void compute()=0
Compute the map, usually called once on startup.