AMCAX Kernel
Geometry kernel for CAD/CAE/CAM
九韶内核 1.0.0.0
载入中...
搜索中...
未找到
WithAttr.hpp 文件参考

The class of WithAttrBase, WithAttr. 更多...

#include <af/label/Label.hpp>
#include <af/attribute/Attribute.hpp>
#include <af/attribute/AttributeBase.hpp>
#include <af/signal/SignalType.hpp>
#include <af/label/LabelTool.hpp>
#include <af/label/LabelFactory.hpp>
#include <af/label/LabelIterator.hpp>
#include <algorithm>
#include <boolean/BOAlgoMacros.hpp>
#include <boolean/BoolBRepFuse.hpp>
#include <boolean/BoolOperation.hpp>
#include <boolean/BoolBRepCommon.hpp>
#include <boolean/BoolBRepCut.hpp>
#include <boolean/BoolBRepSplitter.hpp>
#include <common/AxisT.hpp>
#include <common/PointT.hpp>
#include <common/TransformationT.hpp>
#include <common/VectorT.hpp>
#include <common/Constants.hpp>
#include <functional>
#include <list>
#include <math/Plane.hpp>
#include <modeling/MakeBox.hpp>
#include <modeling/MakeCone.hpp>
#include <modeling/MakePrism.hpp>
#include <modeling/MakeCylinder.hpp>
#include <modeling/MakeShape.hpp>
#include <modeling/MakeSphere.hpp>
#include <modeling/MakeTorus.hpp>
#include <modeling/MakeRevol.hpp>
#include <modeling/MakeEdge.hpp>
#include <modeling/MakeEdge2d.hpp>
#include <modeling/MakeFace.hpp>
#include <modeling/MakeHalfSpace.hpp>
#include <modeling/MakePolygon.hpp>
#include <modeling/MakeRevolution.hpp>
#include <modeling/MakeRightPrism.hpp>
#include <modeling/MakeShell.hpp>
#include <modeling/MakeSolid.hpp>
#include <modeling/MakeVertex.hpp>
#include <modeling/MakeWedge.hpp>
#include <modeling/MakeWire.hpp>
#include <modeling/TransformShape.hpp>
#include <modeling/CopyShape.hpp>
#include <modeling/GeneralTransformShape.hpp>
#include <fillet/MakeChamfer.hpp>
#include <fillet/MakeFillet.hpp>
#include <modeling/MakePyramid.hpp>
#include <offset/MakePipe.hpp>
#include <string>
#include <topology/TopoCast.hpp>
#include <topology/TopoEdge.hpp>
#include <topology/TopoFace.hpp>
#include <topology/TopoWire.hpp>
#include <topology/TopoShape.hpp>
#include <topology/TopoExplorer.hpp>
#include <topology/TopologyMacros.hpp>
#include <unordered_map>
#include <utility>
#include <vector>
#include <iostream>

class  AMCAX::WithAttrBase
 The class of WithAttrBase 更多...
 
class  AMCAX::WithAttr< Op >
 
class  AMCAX::WithAttr< MakePrism >
 The class of WithAttr<MakePrism> 更多...
 
class  AMCAX::WithAttr< MakeSphere >
 The class of WithAttr<MakeSphere> 更多...
 
class  AMCAX::WithAttr< MakeTorus >
 The class of WithAttr<MakeTorus> 更多...
 
class  AMCAX::WithAttr< MakePipe >
 The class of WithAttr<MakePipe> 更多...
 
class  AMCAX::WithAttr< MakePyramid >
 The class of WithAttr<MakePyramid> 更多...
 
class  AMCAX::WithAttr< MakeRevol >
 The class of WithAttr<MakeRevol> 更多...
 
class  AMCAX::WithAttr< MakeChamfer >
 The class of WithAttr<MakeChamfer> 更多...
 
class  AMCAX::WithAttr< MakeFillet >
 The class of WithAttr<MakeFillet> 更多...
 
class  AMCAX::WithAttr< TransformShape >
 The class of WithAttr<TransformShape> 更多...
 
class  AMCAX::WithAttr< CopyShape >
 The class of WithAttr<CopyShape> 更多...
 
class  AMCAX::WithAttr< GeneralTransformShape >
 The class of WithAttr<GeneralTransformShape> 更多...
 
class  AMCAX::WithAttr< MakeBox >
 The class of WithAttr<MakeBox> 更多...
 
class  AMCAX::WithAttr< MakeCylinder >
 The class of WithAttr<MakeCylinder> 更多...
 
class  AMCAX::WithAttr< MakeCone >
 The class of WithAttr<MakeCone> 更多...
 
class  AMCAX::WithAttr< MakeEdge >
 The class of WithAttr<MakeEdge> 更多...
 
class  AMCAX::WithAttr< MakeEdge2d >
 The class of WithAttr<MakeEdge2d> 更多...
 
class  AMCAX::WithAttr< MakeFace >
 The class of WithAttr<MakeFace> 更多...
 
class  AMCAX::WithAttr< MakeHalfSpace >
 The class of WithAttr<MakeHalfSpace> 更多...
 
class  AMCAX::WithAttr< MakePolygon >
 The class of WithAttr<MakePolygon> 更多...
 
class  AMCAX::WithAttr< MakeRevolution >
 The class of WithAttr<MakeRevolution> 更多...
 
class  AMCAX::WithAttr< MakeRightPrism >
 The class of WithAttr<MakeRightPrism> 更多...
 
class  AMCAX::WithAttr< MakeShell >
 The class of WithAttr<MakeShell> 更多...
 
class  AMCAX::WithAttr< MakeSolid >
 The class of WithAttr<MakeSolid> 更多...
 
class  AMCAX::WithAttr< MakeVertex >
 The class of WithAttr<MakeVertex> 更多...
 
class  AMCAX::WithAttr< MakeWedge >
 The class of WithAttr<MakeWedge> 更多...
 
class  AMCAX::WithAttr< MakeWire >
 The class of WithAttr<MakeWire> 更多...
 
class  AMCAX::WithAttr< BoolOperation >
 The class of WithAttr<BoolOperation> 更多...
 
class  AMCAX::WithAttr< TopoShape >
 The class of WithAttr<TopoShape> 更多...
 
class  AMCAX::WithAttr< BoolBRepFuse >
 The class of WithAttr<BoolBRepFuse> 更多...
 
class  AMCAX::WithAttr< BoolBRepCommon >
 The class of WithAttr<BoolBRepCommon> 更多...
 
class  AMCAX::WithAttr< BoolBRepCut >
 The class of WithAttr<BoolBRepCut> 更多...
 
class  AMCAX::WithAttr< BoolBRepSplitter >
 The class of WithAttr<BoolBRepSplitter> 更多...
 

命名空间

namespace  AMCAX
 AMCAX 内核提供的所有接口所在的命名空间。
 

宏定义

#define DEFINE_CONSTRUCTOR_WITH_INIT(MAKER)
 
#define DEFINE_CONSTRUCTOR_WITHOUT_INIT(MAKER)
 
#define DEFINE_MODELLING_INIT_FUNC()
 

详细描述

The class of WithAttrBase, WithAttr.

Support the modeling operations with attributes.

This file is part of AMCAX.

宏定义说明

◆ DEFINE_CONSTRUCTOR_WITH_INIT

#define DEFINE_CONSTRUCTOR_WITH_INIT ( MAKER)
值:
public: \
template<typename... Args> \
explicit WithAttr(Args&&... args): _maker(MAKER(std::forward<Args>(args)...)) { \
_maker.Build(); \
if (_maker.IsDone()) \
{ \
TopoShape shape = _maker.Shape(); \
_label.UpdateShape(shape); \
WithAttrBase::Build(); \
} \
}
STL namespace

◆ DEFINE_CONSTRUCTOR_WITHOUT_INIT

#define DEFINE_CONSTRUCTOR_WITHOUT_INIT ( MAKER)
值:
public: \
template<typename... Args> \
explicit WithAttr(Args&&... args) { \
TopoShape shape = MAKER(std::forward<Args>(args)...); \
_label.UpdateShape(shape); \
WithAttrBase::Build(); \
}

◆ DEFINE_MODELLING_INIT_FUNC

#define DEFINE_MODELLING_INIT_FUNC ( )
值:
public: \
template<typename... Args> \
void Init(Args&&... args) { \
_maker.Init(std::forward<Args>(args)...); \
if (_maker.IsDone()) \
{ \
TopoShape shape = _maker.Shape(); \
_label.UpdateShape(shape); \
WithAttrBase::Build(); \
} \
}