|
iMSTK
Interactive Medical Simulation Toolkit
|
A maps that lets the child follow the parent transform. More...
#include <imstkIsometricMap.h>


Public Member Functions | |
| IsometricMap (std::shared_ptr< Geometry > parent, std::shared_ptr< Geometry > child) | |
| void | compute () override |
| Compute the map. | |
| const Vec3d & | getLocalOffset () const |
| Get/Set an offset for the child that transforms locally with the parent. | |
| void | setLocalOffset (const Vec3d &offset) |
Public Member Functions inherited from imstk::GeometryMap | |
| virtual const std::string | getTypeName () const =0 |
| Returns the string class name. More... | |
| void | setParentGeometry (std::shared_ptr< Geometry > parent) |
| Get/Set parent geometry. | |
| std::shared_ptr< Geometry > | getParentGeometry () const |
| void | setChildGeometry (std::shared_ptr< Geometry > child) |
| Get/Set child geometry. | |
| std::shared_ptr< Geometry > | getChildGeometry () const |
Public Member Functions inherited from imstk::GeometryAlgorithm | |
| std::shared_ptr< Geometry > | getInput (size_t port=0) const |
| Returns input geometry given port, returns nullptr if doesn't exist. | |
| std::shared_ptr< Geometry > | getOutput (size_t port=0) const |
| Returns output geometry given port, returns nullptr if doesn't exist. | |
| void | setInput (std::shared_ptr< Geometry > inputGeometry, size_t port=0) |
| Set the input at the port. | |
| void | update () |
| Do the actual algorithm. | |
Protected Member Functions | |
| void | requestUpdate () override |
| Apply the map. | |
Protected Member Functions inherited from imstk::GeometryAlgorithm | |
| void | setOutput (std::shared_ptr< Geometry > inputGeometry, const size_t port=0) |
| Set the output at the port. | |
| template<typename T > | |
| void | setRequiredInputType (const size_t port) |
| Declares the type for the port with the given number, also defines that the give port is required for the filter to run correctly. | |
| template<typename T > | |
| void | setOptionalInputType (const size_t port) |
| Declares the type for the port with the given number, the data for this port is optional and may be omitted. | |
| virtual bool | areInputsValid () |
| Check inputs are correct. More... | |
| void | setNumInputPorts (const size_t numPorts) |
| Get/Set the amount of input ports. | |
| imstkGetMacro (NumInputPorts, size_t) | |
| void | setNumOutputPorts (const size_t numPorts) |
| Get/Set the amount of output ports. | |
| imstkGetMacro (NumOutputPorts, size_t) | |
Protected Attributes | |
| bool | m_useOffset = false |
| Vec3d | m_localOffset = Vec3d::Zero() |
Protected Attributes inherited from imstk::GeometryAlgorithm | |
| TypeCheckContainer | m_requiredTypeChecks |
| TypeCheckContainer | m_optionalTypeChecks |
Additional Inherited Members | |
Protected Types inherited from imstk::GeometryAlgorithm | |
| using | GeometryCheck = std::function< bool(Geometry *)> |
| using | TypeCheckContainer = std::unordered_map< size_t, GeometryCheck > |
A maps that lets the child follow the parent transform.
Definition at line 20 of file imstkIsometricMap.h.
1.8.13