PropertyPointKernel.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef POINTS_PROPERTYPOINTKERNEL_H
00025 #define POINTS_PROPERTYPOINTKERNEL_H
00026
00027 #include "Points.h"
00028
00029 namespace Points
00030 {
00031
00034 class PointsExport PropertyPointKernel : public App::PropertyComplexGeoData
00035 {
00036 TYPESYSTEM_HEADER();
00037
00038 public:
00039 PropertyPointKernel();
00040 ~PropertyPointKernel();
00041
00044
00045 void setValue( const PointKernel& m);
00047 const PointKernel &getValue(void) const;
00048 const Data::ComplexGeoData* getComplexData() const;
00050
00054 Base::BoundBox3d getBoundingBox() const;
00056 virtual void getFaces(std::vector<Base::Vector3d> &Points,
00057 std::vector<Data::ComplexGeoData::Facet> &Topo,
00058 float Accuracy, uint16_t flags=0) const;
00060
00063 PyObject* getPyObject(void);
00064 void setPyObject(PyObject *value);
00066
00069
00070 App::Property *Copy(void) const;
00072 void Paste(const App::Property &from);
00073 unsigned int getMemSize (void) const;
00075
00078 void Save (Base::Writer &writer) const;
00079 void Restore(Base::XMLReader &reader);
00080 void SaveDocFile (Base::Writer &writer) const;
00081 void RestoreDocFile(Base::Reader &reader);
00083
00086
00087 void transformGeometry(const Base::Matrix4D &rclMat);
00088 void removeIndices( const std::vector<unsigned long>& );
00090
00091 private:
00092 Base::Reference<PointKernel> _cPoints;
00093 };
00094
00095 }
00096
00097
00098 #endif // POINTS_PROPERTYPOINTKERNEL_H