20 #ifndef FeaturesAPI_PointCloudOnFace_H_
21 #define FeaturesAPI_PointCloudOnFace_H_
23 #include "FeaturesAPI.h"
25 #include <FeaturesPlugin_PointCloudOnFace.h>
27 #include <ModelHighAPI_Interface.h>
28 #include <ModelHighAPI_Macro.h>
29 #include <ModelHighAPI_Integer.h>
Interface for PointCloudOnFace feature.
Definition: FeaturesAPI_PointCloudOnFace.h:38
void setNumberOfPoints(const ModelHighAPI_Integer &theNumber)
Modify CreationMethod, nb_points attribute of the feature.
Definition: FeaturesAPI_PointCloudOnFace.cpp:53
virtual void dump(ModelHighAPI_Dumper &theDumper) const
Dump wrapped feature.
Definition: FeaturesAPI_PointCloudOnFace.cpp:61
FeaturesAPI_PointCloudOnFace(const std::shared_ptr< ModelAPI_Feature > &theFeature)
Constructor without values.
Definition: FeaturesAPI_PointCloudOnFace.cpp:27
virtual std::shared_ptr< ModelAPI_AttributeInteger > nbPoints() const
Number of points.
Definition: FeaturesAPI_PointCloudOnFace.h:58
virtual ~FeaturesAPI_PointCloudOnFace()
Destructor.
Definition: FeaturesAPI_PointCloudOnFace.cpp:48
virtual std::shared_ptr< ModelAPI_AttributeSelection > faceSelected() const
face
Definition: FeaturesAPI_PointCloudOnFace.h:58
static const std::string & FACE_SELECTED_ID()
Attribute name for face selected.
Definition: FeaturesPlugin_PointCloudOnFace.h:43
static const std::string & ID()
Point Cloud on face kind.
Definition: FeaturesPlugin_PointCloudOnFace.h:36
static const std::string & NUMBER_ID()
Attribute name of number of points in the point cloud.
Definition: FeaturesPlugin_PointCloudOnFace.h:56
API for the attribute that contains integer (int).
Definition: ModelAPI_AttributeInteger.h:34
Attribute that contains reference to the sub-shape of some result, the selected shape.
Definition: ModelAPI_AttributeSelection.h:35
Document for internal data structure of any object storage.
Definition: ModelAPI_Document.h:53
Dump engine for the model.
Definition: ModelHighAPI_Dumper.h:81
Class for filling ModelAPI_AttributeInteger.
Definition: ModelHighAPI_Integer.h:36
Base class for feature interfaces.
Definition: ModelHighAPI_Interface.h:46
Class for filling ModelAPI_AttributeSelection.
Definition: ModelHighAPI_Selection.h:49
PointCloudPtr makeVertexInsideFace(const std::shared_ptr< ModelAPI_Document > &thePart, const ModelHighAPI_Selection &theFace, const ModelHighAPI_Integer &theNumber)
Create point cloud on a face feature.
Definition: FeaturesAPI_PointCloudOnFace.cpp:75