iMSTK
Interactive Medical Simulation Toolkit
imstkGeometryMap.cpp
1 /*
2 ** This file is part of the Interactive Medical Simulation Toolkit (iMSTK)
3 ** iMSTK is distributed under the Apache License, Version 2.0.
4 ** See accompanying NOTICE for details.
5 */
6 
7 #include "imstkGeometryMap.h"
8 #include "imstkGeometry.h"
9 
10 namespace imstk
11 {
12 GeometryMap::GeometryMap()
13 {
14  // Set 2 ports for each, inputs will be set to outputs
16 
17  // Both inputs required
18  setRequiredInputType<Geometry>(0);
19  setRequiredInputType<Geometry>(1);
20 
21  // Set 1 output port, the child
23 }
24 } // namespace imstk
Compound Geometry.
void setNumOutputPorts(const size_t numPorts)
Get/Set the amount of output ports.
void setNumInputPorts(const size_t numPorts)
Get/Set the amount of input ports.