sensor_msgs::msg::_RegionOfInterest::RegionOfInterest Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 do_rectify
 height
 width
 x_offset
 y_offset

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['x_offset','y_offset','height','width','do_rectify']
string _full_text
 _has_header = False
string _md5sum = "bdb633039d588fcccb441a4d43ccfe09"
list _slot_types = ['uint32','uint32','uint32','uint32','bool']
string _type = "sensor_msgs/RegionOfInterest"

Detailed Description

Definition at line 6 of file _RegionOfInterest.py.


Member Function Documentation

def sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::__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:
   x_offset,y_offset,height,width,do_rectify

@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 34 of file _RegionOfInterest.py.

def sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::_get_types (   self  )  [private]
internal API method

Definition at line 68 of file _RegionOfInterest.py.

def sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::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 86 of file _RegionOfInterest.py.

def sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::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 118 of file _RegionOfInterest.py.

def sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 74 of file _RegionOfInterest.py.

def sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::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 104 of file _RegionOfInterest.py.


Member Data Documentation

Definition at line 31 of file _RegionOfInterest.py.

Initial value:
"""# This message is used to specify a region of interest within an image.
#
# When used to specify the ROI setting of the camera when the image was
# taken, the height and width fields should either match the height and
# width fields for the associated image; or height = width = 0
# indicates that the full resolution image was captured.

uint32 x_offset  # Leftmost pixel of the ROI
               # (0 if the ROI includes the left edge of the image)
uint32 y_offset  # Topmost pixel of the ROI
               # (0 if the ROI includes the top edge of the image)
uint32 height    # Height of ROI
uint32 width     # Width of ROI

# True if a distinct rectified ROI should be calculated from the "raw"
# ROI in this message. Typically this should be False if the full image
# is captured (ROI not used), and True if a subwindow is captured (ROI
# used).
bool do_rectify

"""

Definition at line 10 of file _RegionOfInterest.py.

Definition at line 9 of file _RegionOfInterest.py.

string sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::_md5sum = "bdb633039d588fcccb441a4d43ccfe09" [static, private]

Definition at line 7 of file _RegionOfInterest.py.

list sensor_msgs::msg::_RegionOfInterest::RegionOfInterest::_slot_types = ['uint32','uint32','uint32','uint32','bool'] [static, private]

Definition at line 32 of file _RegionOfInterest.py.

Definition at line 8 of file _RegionOfInterest.py.

Definition at line 60 of file _RegionOfInterest.py.

Definition at line 56 of file _RegionOfInterest.py.

Definition at line 58 of file _RegionOfInterest.py.

Definition at line 52 of file _RegionOfInterest.py.

Definition at line 54 of file _RegionOfInterest.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines


sensor_msgs
Author(s): Maintained by Tully Foote/tfoote@willowgarage.com
autogenerated on Fri Jan 11 09:13:04 2013