#include "FITKAbsGeoModelOperImprintSolid.h" #include "FITK_Interface/FITKInterfaceModel/FITKAbstractModel.h" namespace Interface { FITKGeoEnum::FITKGeometryComType FITKAbsGeoModelOperImprintSolid::getGeometryCommandType() { return FITKGeoEnum::FITKGeometryComType::FGTImprintSolid; } void FITKAbsGeoModelOperImprintSolid::add(VirtualShape* geoCommandID) { m_tempVShapes.append(geoCommandID); } void FITKAbsGeoModelOperImprintSolid::add(QList geoCommandIDs) { m_tempVShapes.append(geoCommandIDs); } void FITKAbsGeoModelOperImprintSolid::remove(int index) { m_tempVShapes.removeAt(index); } void FITKAbsGeoModelOperImprintSolid::clear() { m_tempVShapes.clear(); } void FITKAbsGeoModelOperImprintSolid::setType(GeoSolidOperType t) { _faceOperType = t; } FITKAbsGeoModelOperImprintSolid::GeoSolidOperType FITKAbsGeoModelOperImprintSolid::getType() { return _faceOperType; } QList FITKAbsGeoModelOperImprintSolid::getVShapes() { return m_tempVShapes; } QList FITKAbsGeoModelOperImprintSolid::getModelOperFacesID() { QList _geoCommands; for (int i = 0; i < m_tempVShapes.size(); i++) { _geoCommands.append(m_tempVShapes[i]->CmdId); } return _geoCommands; } void FITKAbsGeoModelOperImprintSolid::setTolerance(double tolerance) { _tolerance = tolerance; } double FITKAbsGeoModelOperImprintSolid::getTolerance() { return _tolerance; } }