maptek.vulcan.obj
The obj
class is the base class that is shared to all object types. Any methods here are available in its derived types.
- clear(obj self)
-
Clear out an object’s data.
- get_type(obj self) → std::string
-
Get the object type name.
- object_details(obj self) → std::string
-
Gets the object’s information as a formatted report.
- get_name(obj self) → std::string
-
Gets the object name.
- set_name(obj self, std::string const & name)
-
Sets the object name.
- get_layer(obj self) → std::string
-
Gets the object layer.
- get_description(obj self) → std::string
-
Gets the object description.
- set_description(obj self, std::string const & desc)
-
Sets the object description.
- get_feature(obj self) → std::string
-
Gets the object feature.
- set_feature(obj self, std::string const & feature)
-
Sets the object feature.
- get_group(obj self) → std::string
-
Gets the object group.
- set_group(obj self, std::string const & group)
-
Sets the object group.
- get_value(obj self) → double
-
Gets the object value.
- set_value(obj self, double const & value)
-
Sets the object value.
- get_colour(obj self) → int
-
Gets the object colour.
- set_colour(obj self, int colour)
-
Sets the object colour.
- num_links(obj self) → int
-
Gets the number of object links.
- get_link(obj self, int k) → std::string
-
Gets the object link.
- get_linktype(obj self, int k) → int
-
Gets the object link type.
- set_link(obj self, int k, int type, std::string const & value)
-
Sets the object link.
- get_linkdata(obj self) → MVariant
-
Gets a copy of the object link data.
- set_linkdata(obj self, MVariant & dictionary)
-
Sets the object link data from a dictionary.
- get_primitive(obj self) → MVariant
-
Gets a copy of the object primitive data.
- set_primitive(obj self, MVariant & dictionary)
-
Sets the object primitive data.
- get_attributes(obj self) → attributes
-
Gets a reference to the object attribute data.
- set_attributes(obj self, attributes attr)
-
Sets the object attribute data.
- get_metadata(obj self) → metadata
-
Gets a reference to the object metadata.
- set_metadata(obj self, metadata meta)
-
Sets the object metadata.
- get_section_widths(obj self) → section_widths
-
Gets a reference to the object section width data.
- set_section_widths(obj self, section_widths sect)
-
Sets the object section width data.
- set_object_visibility(object, mode) -> bool
-
Sets object visibility
- get_object_visibility(object) -> std::string
-
Sets object visibility