OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
BlendEdges.h
Go to the documentation of this file.
1#pragma once
2
4
5#include "OldTreeIcon.h"
6#include "ShapesBase.h"
7
8#include "TopoDS_TShape.hxx"
9#include "TopTools_ListOfShape.hxx"
10
11class Model;
12class EntityGeometry;
13class EntityBrep;
14class UpdateManager;
15
16class TopoDS_Shape;
17class BRepTools_History;
18
20{
21public:
22 BlendEdges(ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, ot::serviceID_t _serviceID, const std::string &_serviceName, EntityCache *_entityCache, ClassFactory *_classFactory)
23 : EdgesOperationBase(_uiComponent, _modelComponent, _serviceID, _serviceName, _entityCache, _classFactory) {};
24 virtual ~BlendEdges() {}
25
26protected:
27 void addSpecificProperties(EntityGeometry* geometryEntity);
29 std::string getOperationDescription();
30 std::string getVisibleTreeItemName();
31 std::string getHiddenTreeItemName();
32 std::string getShapeType();
33 bool operationActive(EntityGeometry* geometryEntity);
34 bool performActualOperation(EntityGeometry* geometryEntity, EntityBrep* baseBrep, std::map< const opencascade::handle<TopoDS_TShape>, std::string>& allEdgesForOperation, TopoDS_Shape& shape, TopTools_ListOfShape &listOfProcessedEdges, BRepTools_History*& history);
35};
Definition BlendEdges.h:20
virtual ~BlendEdges()
Definition BlendEdges.h:24
std::string getOperationDescription()
Definition BlendEdges.cpp:30
std::string getVisibleTreeItemName()
Definition BlendEdges.cpp:35
ot::components::UiComponent::entitySelectionAction getSelectionAction()
Definition BlendEdges.cpp:25
BlendEdges(ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, ot::serviceID_t _serviceID, const std::string &_serviceName, EntityCache *_entityCache, ClassFactory *_classFactory)
Definition BlendEdges.h:22
bool operationActive(EntityGeometry *geometryEntity)
Definition BlendEdges.cpp:55
std::string getHiddenTreeItemName()
Definition BlendEdges.cpp:40
void addSpecificProperties(EntityGeometry *geometryEntity)
Definition BlendEdges.cpp:50
std::string getShapeType()
Definition BlendEdges.cpp:45
bool performActualOperation(EntityGeometry *geometryEntity, EntityBrep *baseBrep, std::map< const opencascade::handle< TopoDS_TShape >, std::string > &allEdgesForOperation, TopoDS_Shape &shape, TopTools_ListOfShape &listOfProcessedEdges, BRepTools_History *&history)
Definition BlendEdges.cpp:63
Definition EdgesOperationBase.h:38
Definition EntityCache.h:26
The Model class is the main interface to the model. There may be multiple instances of this class....
Definition Model.h:94
Definition UpdateManager.h:30
Definition ModelComponent.h:42
Definition UiComponent.h:31
entitySelectionAction
Definition UiComponent.h:40
unsigned short serviceID_t
ID type used to identify a service (16 bit unsigned integer).
Definition CoreTypes.h:14