Go to the documentation of this file.
38 void setValue(
const std::vector<Geom::Pnt>& list);
46 const std::vector<Geom::Pnt>&
getValue()
const;
69 void setValue(
const std::list<std::list<Geom::Pnt> >& list);
73 const std::vector<Geom::Pnt>& vector);
80 const std::list<std::list<Geom::Pnt> >&
getValue()
const;
81 const std::vector<Geom::Pnt>
getValue(
int& num_i,
int& num_j)
87 virtual void save(std::ofstream& writer);
124 void setValue(
const std::vector<Geom::Pnt2d>& list);
const std::vector< Geom::Pnt > getValue(int &num_i, int &num_j) const
virtual void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
static void save_static(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version, const std::vector< Geom::Pnt > &pointList)
virtual bool isEqual(const Property *) const
compare properties
const size_t getSize() const
void setValue(const std::list< std::list< Geom::Pnt > > &list)
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
bool setValueFromVariant(const Core::Variant &value)
virtual void save(std::ofstream &writer)
static void restore_static(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version, std::vector< Geom::Pnt > &pointList)
bool setValueFromVariant(const Core::Variant &value)
Definition: PropertyPoint.h:65
void addPoint(const Geom::Pnt2d &v)
virtual Core::Variant getVariant(void) const
Definition: PropertyPoint.h:49
void setValue(const std::vector< Geom::Pnt2d > &list)
virtual bool isEqual(const Property *) const
compare properties
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
virtual bool setValueFromVariant(const Core::Variant &value)
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
void addPoint(const Geom::Pnt &v)
virtual void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
virtual void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
virtual void copyValue(Core::Property *p)
Core::Variant getVariant(void) const
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
Definition: Persistence.h:13
virtual std::map< std::string, Core::Variant > getKeyValueMap() const
Returns all keys and their values of this property.
void copyValue(Core::Property *p)
void setValue(int num_i, int num_j, const std::vector< Geom::Pnt > &vector)
virtual bool isEqual(const Property *) const
compare properties
Definition: PropertyPoint.h:8
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
virtual bool isEqual(const Property *) const
compare properties
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:44
virtual bool isEqual(const Property *) const
compare properties
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
virtual void copyValue(Core::Property *p)
virtual Core::Variant getVariant(void) const
virtual Core::Variant getVariant(void) const
Definition: PropertyPoint.h:84
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
std::vector< Geom::Pnt > _pointList
Definition: PropertyPoint.h:61
virtual bool setKeyValue(const std::string &name, const Core::Variant &value)
'x' sets x coordinate, 'y' sets y coordinate, 'z' sets z coordinate
Definition: AbstractXMLReader.h:7
Core::Variant getVariant(void) const
Definition: PropertyPoint.h:134
std::list< std::list< Geom::Pnt > > _pointList
Definition: PropertyPoint.h:94
virtual void paste(const Core::Property &from) override
Paste the value from the property (mainly for Undo/Redo and transactions)
virtual void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
const std::list< std::list< Geom::Pnt > > & getValue() const
LX_CORE_EXPORT Version & version
Definition: PropertyPoint.h:120
std::vector< Geom::Pnt2d > _pointList
Definition: PropertyPoint.h:143
virtual void save(Base::AbstractWriter &writer, Base::PersistenceVersion &save_version)
This method is used to save properties or very small amounts of data to an XML document.
Definition: Property.h:72
virtual void copyValue(Core::Property *p)
const Geom::Pnt2d & getValue() const
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
Defines a non-persistent 2D cartesian point.
Definition: Pnt2d.h:34
void setValue(const Geom::Pnt &p)
virtual bool setValueFromVariant(const Core::Variant &value)
virtual bool setValueFromVariant(const Core::Variant &value)
void setValue(const std::vector< Geom::Pnt > &list)
Definition: PropertyPoint.h:34
const std::vector< Geom::Pnt2d > & getValue() const
const std::vector< Geom::Pnt > & getValue() const
const Geom::Pnt & getValue() const
#define TYPESYSTEM_HEADER()
define for subclassing Base::BaseClass
Definition: Base.h:12
DECLARE_PROPERTY_FACTORY(PropertyAxis1_Factory, Core::PropertyAxis1)
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
virtual Core::Property * copy(void) const override
Returns a new copy of the property (mainly for Undo/Redo and transactions). The copy has no container...
Definition: PropertyPoint.h:98
void copyValue(Core::Property *p)
virtual void restore(Base::AbstractXMLReader &reader, Base::PersistenceVersion &version)
This method is used to restore properties from an XML document.
void setValue(const Geom::Pnt2d &p)