SphereGlyphElement

class HPS::SphereGlyphElement : public HPS::GlyphElement

The SphereGlyphElement class is a user space object. It is used to add ellipse elements to glyphs.

Public Functions

inline virtual HPS::Type ObjectType() const

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Returns

The declared type of the object in question, which may differ from the true, underlying type.

SphereGlyphElement &operator=(SphereGlyphElement &&in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this SphereGlyphElement thereby avoiding a copy.

Parameters

in_that – An rvalue reference to an SphereGlyphElement to take the impl from.

Returns

A reference to this SphereGlyphElement.

SphereGlyphElement()

The default constructor creates an empty SphereGlyphElement object.

SphereGlyphElement(GlyphElement const &in_that)

This constructor creates a SphereGlyphElement object that contains the same settings as the source GlyphElement. The copy will only be successful if the source glyph element is really an upcast of an ellipse glyph element. Otherwise the copy will fail and the resulting SphereGlyphElement will be invalid.

Parameters

in_that – The source GlyphElement to copy.

SphereGlyphElement(SphereGlyphElement &&in_that)

The move constructor creates an EllipseGlyphElement by transferring the underlying impl of the rvalue reference to this SphereGlyphElement thereby avoiding a copy and allocation.

Parameters

in_that – An rvalue reference to an SphereGlyphElement to take the impl from.

SphereGlyphElement(SphereGlyphElement const &in_that)

The copy constructor creates a new SphereGlyphElement object that contains the same settings as the source SphereGlyphElement.

Parameters

in_that – The source SphereGlyphElement to copy.

~SphereGlyphElement()

Public Static Attributes

static const HPS::Type staticType = HPS::Type::SphereGlyphElement