cob_3d_mapping_msgs::msg::_Shape::Shape Class Reference
List of all members.
Public Member Functions |
def | __init__ |
def | deserialize |
def | deserialize_numpy |
def | serialize |
def | serialize_numpy |
Public Attributes |
| centroid |
| color |
| header |
| holes |
| id |
| params |
| points |
| type |
| vertices |
Static Public Attributes |
int | CURVED = 2 |
int | CYLINDER = 5 |
int | LINE = 1 |
int | MESH = 3 |
int | OTHER = 4 |
int | POLYGON = 0 |
Private Member Functions |
def | _get_types |
Static Private Attributes |
list | __slots__ = ['header','type','id','params','points','vertices','centroid','color','holes'] |
string | _full_text |
| _has_header = True |
string | _md5sum = "4b246117387834ce19a9588f1768195f" |
list | _slot_types = ['Header','uint8','int32','float64[]','sensor_msgs/PointCloud2[]','int32[]','geometry_msgs/Point32','std_msgs/ColorRGBA','bool[]'] |
string | _type = "cob_3d_mapping_msgs/Shape" |
Detailed Description
Definition at line 9 of file _Shape.py.
Member Function Documentation
def cob_3d_mapping_msgs::msg::_Shape::Shape::__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
kwds | |
|
) |
| | |
Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes. You cannot mix in-order arguments and keyword arguments.
The available fields are:
header,type,id,params,points,vertices,centroid,color,holes
@param args: complete set of field values, in .msg order
@param kwds: use keyword arguments corresponding to message field names
to set specific fields.
Definition at line 150 of file _Shape.py.
def cob_3d_mapping_msgs::msg::_Shape::Shape::_get_types |
( |
|
self |
) |
[private] |
def cob_3d_mapping_msgs::msg::_Shape::Shape::deserialize |
( |
|
self, |
|
|
|
str | |
|
) |
| | |
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type str: str
Definition at line 264 of file _Shape.py.
def cob_3d_mapping_msgs::msg::_Shape::Shape::deserialize_numpy |
( |
|
self, |
|
|
|
str, |
|
|
|
numpy | |
|
) |
| | |
unpack serialized message in str into this message instance using numpy for array types
@param str: byte array of serialized message
@type str: str
@param numpy: numpy python module
@type numpy: module
Definition at line 445 of file _Shape.py.
def cob_3d_mapping_msgs::msg::_Shape::Shape::serialize |
( |
|
self, |
|
|
|
buff | |
|
) |
| | |
serialize message into buffer
@param buff: buffer
@type buff: StringIO
Definition at line 202 of file _Shape.py.
def cob_3d_mapping_msgs::msg::_Shape::Shape::serialize_numpy |
( |
|
self, |
|
|
|
buff, |
|
|
|
numpy | |
|
) |
| | |
serialize message with numpy array types into buffer
@param buff: buffer
@type buff: StringIO
@param numpy: numpy python module
@type numpy module
Definition at line 381 of file _Shape.py.
Member Data Documentation
The documentation for this class was generated from the following file: