Represents the XML complex type AffineTransform. More...
#include <AffineTransform_Type.h>
Inherits from NBOBaseClass
Public Functions
|
Name |
|
AffineTransform_Type() |
|
~AffineTransform_Type() |
| std::string |
getTypeName() const override Returns the class type name. |
| std::string |
getXMLName() const override Returns the XML element name corresponding to this class. |
| ENBOType |
getNBOType() const override Returns the NBO Type corresponding to this class. |
| std::vector< NBOBaseClassPtr > |
getChildren() const override Returns a list of all classes derived from this class. |
| std::vector< NBOBaseClassPtr > |
getSubElements() const override Returns a list of all child elements contained in this class. |
| void |
fromJsonFile(const std::string & path, bool validate =true) Populates this object from a JSON file. |
| void |
fromJsonString(const std::string & json_string, bool validate =true) Populates this object from a JSON string. |
| void |
fromXmlFile(const std::string & path, bool validate =true) Populates this object from a XML file. |
| void |
fromXmlString(const std::string & xml_string, bool validate =true) Populates this object from a XML string. |
| void |
toXmlFile(const std::string & filename, bool validate =true) const Serializes this object to an XML file. |
| std::string |
toXmlString(bool validate =true) const Serializes this object to an XML string. |
| void |
setA00(const float & value, bool validate =true) Sets the value of the A00 attribute. |
| float |
getA00() const Returns the value of the A00 attribute. |
| void |
resetA00() Resets the A00 attribute to an unset state. |
| bool |
hasA00() const Checks whether the A00 attribute is present. |
| void |
setA10(const float & value, bool validate =true) Sets the value of the A10 attribute. |
| float |
getA10() const Returns the value of the A10 attribute. |
| void |
resetA10() Resets the A10 attribute to an unset state. |
| bool |
hasA10() const Checks whether the A10 attribute is present. |
| void |
setA01(const float & value, bool validate =true) Sets the value of the A01 attribute. |
| float |
getA01() const Returns the value of the A01 attribute. |
| void |
resetA01() Resets the A01 attribute to an unset state. |
| bool |
hasA01() const Checks whether the A01 attribute is present. |
| void |
setA11(const float & value, bool validate =true) Sets the value of the A11 attribute. |
| float |
getA11() const Returns the value of the A11 attribute. |
| void |
resetA11() Resets the A11 attribute to an unset state. |
| bool |
hasA11() const Checks whether the A11 attribute is present. |
| void |
setA02(const float & value, bool validate =true) Sets the value of the A02 attribute. |
| float |
getA02() const Returns the value of the A02 attribute. |
| void |
resetA02() Resets the A02 attribute to an unset state. |
| bool |
hasA02() const Checks whether the A02 attribute is present. |
| void |
setA12(const float & value, bool validate =true) Sets the value of the A12 attribute. |
| float |
getA12() const Returns the value of the A12 attribute. |
| void |
resetA12() Resets the A12 attribute to an unset state. |
| bool |
hasA12() const Checks whether the A12 attribute is present. |
| std::shared_ptr< AffineTransform_Type > |
fromBase(NBOBaseClassPtr base) Cast a NBOBaseClass to a AffineTransform_Type. |
Detailed Description
class Inscoper::NBO::AffineTransform_Type;
Represents the XML complex type AffineTransform.
A matrix used to transform the shape. ⎡ A00, A01, A02 ⎤ ⎢ A10, A11, A12 ⎥ ⎣ 0, 0, 1 ⎦
Public Functions Documentation
function getTypeName
function getXMLName
function getNBOType
function getChildren
function getSubElements
function fromJsonFile
function fromJsonString
function fromXmlFile
function fromXmlString
function toXmlFile
function toXmlString
function setA00
function getA00
function resetA00
function hasA00
function setA10
function getA10
function resetA10
function hasA10
function setA01
function getA01
function resetA01
function hasA01
function setA11
function getA11
function resetA11
function hasA11
function setA02
function getA02
function resetA02
function hasA02
function setA12
function getA12
function resetA12
function hasA12
function fromBase