48 stream.read (
reinterpret_cast<char*
> (&value),
sizeof(value));
65 stream.write (
reinterpret_cast<char*
> (&value),
sizeof (value));
84 RegionXY () : x (0), y (0), width (0), height (0) {}
Iterator class for point clouds with or without given indices.
void read(std::istream &stream, Type &value)
Function for reading data from a stream.
void write(std::ostream &stream, Type value)
Function for writing data to a stream.
Defines a region in XY-space.
int x
x-position of the region.
void deserialize(::std::istream &stream)
Deserializes the object from the specified stream.
int width
width of the region.
void serialize(std::ostream &stream) const
Serializes the object to the specified stream.
int y
y-position of the region.
int height
height of the region.