Gazebo Msgs

API Reference

5.11.0

#include <geometry.pb.h>

Public Types

typedef Geometry_Type Type
 

Public Member Functions

 Geometry ()
 
 Geometry (const Geometry &from)
 
virtual ~Geometry ()
 
::ignition::msgs::Vector3dadd_points ()
 
::ignition::msgs::Polylineadd_polyline ()
 
const ::ignition::msgs::BoxGeombox () const
 
size_t ByteSizeLong () const final
 
void Clear () final
 
void clear_box ()
 
void clear_cylinder ()
 
void clear_header ()
 
void clear_heightmap ()
 
void clear_image ()
 
void clear_mesh ()
 
void clear_plane ()
 
void clear_points ()
 
void clear_polyline ()
 
void clear_sphere ()
 
void clear_type ()
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Geometry &from)
 
const ::ignition::msgs::CylinderGeomcylinder () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_box () const
 
bool has_cylinder () const
 
bool has_header () const
 
bool has_heightmap () const
 
bool has_image () const
 
bool has_mesh () const
 
bool has_plane () const
 
bool has_sphere () const
 
const ::ignition::msgs::Headerheader () const
 
const ::ignition::msgs::HeightmapGeomheightmap () const
 
const ::ignition::msgs::ImageGeomimage () const
 
::google::protobuf::uint8 * InternalSerializeWithCachedSizesToArray (bool deterministic, ::google::protobuf::uint8 *target) const final
 
bool IsInitialized () const final
 
void MergeFrom (const ::google::protobuf::Message &from) final
 
void MergeFrom (const Geometry &from)
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input) final
 
const ::ignition::msgs::MeshGeommesh () const
 
::ignition::msgs::BoxGeommutable_box ()
 
::ignition::msgs::CylinderGeommutable_cylinder ()
 
::ignition::msgs::Headermutable_header ()
 
::ignition::msgs::HeightmapGeommutable_heightmap ()
 
::ignition::msgs::ImageGeommutable_image ()
 
::ignition::msgs::MeshGeommutable_mesh ()
 
::ignition::msgs::PlaneGeommutable_plane ()
 
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > * mutable_points ()
 
::ignition::msgs::Vector3dmutable_points (int index)
 
::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline > * mutable_polyline ()
 
::ignition::msgs::Polylinemutable_polyline (int index)
 
::ignition::msgs::SphereGeommutable_sphere ()
 
GeometryNew () const final
 
GeometryNew (::google::protobuf::Arena *arena) const final
 
Geometryoperator= (const Geometry &from)
 
const ::ignition::msgs::PlaneGeomplane () const
 
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Vector3d > & points () const
 
const ::ignition::msgs::Vector3dpoints (int index) const
 
int points_size () const
 
const ::google::protobuf::RepeatedPtrField< ::ignition::msgs::Polyline > & polyline () const
 
const ::ignition::msgs::Polylinepolyline (int index) const
 
int polyline_size () const
 
::ignition::msgs::BoxGeomrelease_box ()
 
::ignition::msgs::CylinderGeomrelease_cylinder ()
 
::ignition::msgs::Headerrelease_header ()
 
::ignition::msgs::HeightmapGeomrelease_heightmap ()
 
::ignition::msgs::ImageGeomrelease_image ()
 
::ignition::msgs::MeshGeomrelease_mesh ()
 
::ignition::msgs::PlaneGeomrelease_plane ()
 
::ignition::msgs::SphereGeomrelease_sphere ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_box (::ignition::msgs::BoxGeom *box)
 
void set_allocated_cylinder (::ignition::msgs::CylinderGeom *cylinder)
 
void set_allocated_header (::ignition::msgs::Header *header)
 
void set_allocated_heightmap (::ignition::msgs::HeightmapGeom *heightmap)
 
void set_allocated_image (::ignition::msgs::ImageGeom *image)
 
void set_allocated_mesh (::ignition::msgs::MeshGeom *mesh)
 
void set_allocated_plane (::ignition::msgs::PlaneGeom *plane)
 
void set_allocated_sphere (::ignition::msgs::SphereGeom *sphere)
 
void set_type (::ignition::msgs::Geometry_Type value)
 
const ::ignition::msgs::SphereGeomsphere () const
 
void Swap (Geometry *other)
 
::ignition::msgs::Geometry_Type type () const
 

Static Public Member Functions

static const Geometrydefault_instance ()
 
static const ::google::protobuf::Descriptor * descriptor ()
 
static void InitAsDefaultInstance ()
 
static const Geometryinternal_default_instance ()
 
static const ::google::protobuf::EnumDescriptor * Type_descriptor ()
 
static bool Type_IsValid (int value)
 
static const ::std::stringType_Name (Type value)
 
static bool Type_Parse (const ::std::string &name, Type *value)
 

Static Public Attributes

static const Type BOX
 
static const Type CYLINDER
 
static const Type EMPTY
 
static const Type HEIGHTMAP
 
static const Type IMAGE
 
static const int kBoxFieldNumber = 3
 
static const int kCylinderFieldNumber = 4
 
static const int kHeaderFieldNumber = 1
 
static const int kHeightmapFieldNumber = 8
 
static const int kImageFieldNumber = 7
 
static constexpr int kIndexInFileMessages
 
static const int kMeshFieldNumber = 9
 
static const int kPlaneFieldNumber = 5
 
static const int kPointsFieldNumber = 10
 
static const int kPolylineFieldNumber = 11
 
static const int kSphereFieldNumber = 6
 
static const int kTypeFieldNumber = 2
 
static const Type LINE_STRIP
 
static const Type MESH
 
static const Type PLANE
 
static const Type POLYLINE
 
static const Type SPHERE
 
static const Type TRIANGLE_FAN
 
static const int Type_ARRAYSIZE
 
static const Type Type_MAX
 
static const Type Type_MIN
 

Member Typedef Documentation

◆ Type

Constructor & Destructor Documentation

◆ Geometry() [1/2]

Geometry ( )

◆ ~Geometry()

virtual ~Geometry ( )
virtual

◆ Geometry() [2/2]

Geometry ( const Geometry from)

Member Function Documentation

◆ add_points()

ignition::msgs::Vector3d * add_points ( )
inline

◆ add_polyline()

ignition::msgs::Polyline * add_polyline ( )
inline

◆ box()

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ Clear()

void Clear ( )
final

◆ clear_box()

void clear_box ( )

◆ clear_cylinder()

void clear_cylinder ( )

◆ clear_header()

void clear_header ( )

◆ clear_heightmap()

void clear_heightmap ( )

◆ clear_image()

void clear_image ( )

◆ clear_mesh()

void clear_mesh ( )

◆ clear_plane()

void clear_plane ( )

◆ clear_points()

void clear_points ( )

◆ clear_polyline()

void clear_polyline ( )

◆ clear_sphere()

void clear_sphere ( )

◆ clear_type()

void clear_type ( )
inline

◆ CopyFrom() [1/2]

void CopyFrom ( const ::google::protobuf::Message &  from)
final

◆ CopyFrom() [2/2]

void CopyFrom ( const Geometry from)

◆ cylinder()

◆ default_instance()

static const Geometry& default_instance ( )
static

◆ descriptor()

static const ::google::protobuf::Descriptor* descriptor ( )
static

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

::google::protobuf::Metadata GetMetadata ( ) const
final

◆ has_box()

bool has_box ( ) const
inline

◆ has_cylinder()

bool has_cylinder ( ) const
inline

◆ has_header()

bool has_header ( ) const
inline

◆ has_heightmap()

bool has_heightmap ( ) const
inline

◆ has_image()

bool has_image ( ) const
inline

◆ has_mesh()

bool has_mesh ( ) const
inline

◆ has_plane()

bool has_plane ( ) const
inline

◆ has_sphere()

bool has_sphere ( ) const
inline

◆ header()

const ::ignition::msgs::Header & header ( ) const
inline

◆ heightmap()

◆ image()

◆ InitAsDefaultInstance()

static void InitAsDefaultInstance ( )
static

◆ internal_default_instance()

◆ InternalSerializeWithCachedSizesToArray()

::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray ( bool  deterministic,
::google::protobuf::uint8 *  target 
) const
final

◆ IsInitialized()

bool IsInitialized ( ) const
final

◆ MergeFrom() [1/2]

void MergeFrom ( const ::google::protobuf::Message &  from)
final

◆ MergeFrom() [2/2]

void MergeFrom ( const Geometry from)

◆ MergePartialFromCodedStream()

bool MergePartialFromCodedStream ( ::google::protobuf::io::CodedInputStream *  input)
final

◆ mesh()

◆ mutable_box()

ignition::msgs::BoxGeom * mutable_box ( )
inline

◆ mutable_cylinder()

ignition::msgs::CylinderGeom * mutable_cylinder ( )
inline

◆ mutable_header()

ignition::msgs::Header * mutable_header ( )
inline

◆ mutable_heightmap()

ignition::msgs::HeightmapGeom * mutable_heightmap ( )
inline

◆ mutable_image()

ignition::msgs::ImageGeom * mutable_image ( )
inline

◆ mutable_mesh()

ignition::msgs::MeshGeom * mutable_mesh ( )
inline

◆ mutable_plane()

ignition::msgs::PlaneGeom * mutable_plane ( )
inline

◆ mutable_points() [1/2]

google::protobuf::RepeatedPtrField<::ignition::msgs::Vector3d > * mutable_points ( )
inline

◆ mutable_points() [2/2]

ignition::msgs::Vector3d * mutable_points ( int  index)
inline

◆ mutable_polyline() [1/2]

google::protobuf::RepeatedPtrField<::ignition::msgs::Polyline > * mutable_polyline ( )
inline

◆ mutable_polyline() [2/2]

ignition::msgs::Polyline * mutable_polyline ( int  index)
inline

◆ mutable_sphere()

ignition::msgs::SphereGeom * mutable_sphere ( )
inline

◆ New() [1/2]

Geometry* New ( ) const
inlinefinal

◆ New() [2/2]

Geometry* New ( ::google::protobuf::Arena *  arena) const
inlinefinal

◆ operator=()

Geometry& operator= ( const Geometry from)
inline

◆ plane()

◆ points() [1/2]

const ::google::protobuf::RepeatedPtrField<::ignition::msgs::Vector3d > & points ( ) const
inline

◆ points() [2/2]

const ::ignition::msgs::Vector3d & points ( int  index) const
inline

◆ points_size()

int points_size ( ) const
inline

◆ polyline() [1/2]

const ::google::protobuf::RepeatedPtrField<::ignition::msgs::Polyline > & polyline ( ) const
inline

◆ polyline() [2/2]

const ::ignition::msgs::Polyline & polyline ( int  index) const
inline

◆ polyline_size()

int polyline_size ( ) const
inline

◆ release_box()

ignition::msgs::BoxGeom * release_box ( )
inline

◆ release_cylinder()

ignition::msgs::CylinderGeom * release_cylinder ( )
inline

◆ release_header()

ignition::msgs::Header * release_header ( )
inline

◆ release_heightmap()

ignition::msgs::HeightmapGeom * release_heightmap ( )
inline

◆ release_image()

ignition::msgs::ImageGeom * release_image ( )
inline

◆ release_mesh()

ignition::msgs::MeshGeom * release_mesh ( )
inline

◆ release_plane()

ignition::msgs::PlaneGeom * release_plane ( )
inline

◆ release_sphere()

ignition::msgs::SphereGeom * release_sphere ( )
inline

◆ SerializeWithCachedSizes()

void SerializeWithCachedSizes ( ::google::protobuf::io::CodedOutputStream *  output) const
final

◆ set_allocated_box()

void set_allocated_box ( ::ignition::msgs::BoxGeom box)
inline

References Geometry::box().

◆ set_allocated_cylinder()

void set_allocated_cylinder ( ::ignition::msgs::CylinderGeom cylinder)
inline

References Geometry::cylinder().

◆ set_allocated_header()

void set_allocated_header ( ::ignition::msgs::Header header)
inline

References Geometry::header().

◆ set_allocated_heightmap()

void set_allocated_heightmap ( ::ignition::msgs::HeightmapGeom heightmap)
inline

References Geometry::heightmap().

◆ set_allocated_image()

void set_allocated_image ( ::ignition::msgs::ImageGeom image)
inline

References Geometry::image().

◆ set_allocated_mesh()

void set_allocated_mesh ( ::ignition::msgs::MeshGeom mesh)
inline

References Geometry::mesh().

◆ set_allocated_plane()

void set_allocated_plane ( ::ignition::msgs::PlaneGeom plane)
inline

References Geometry::plane().

◆ set_allocated_sphere()

void set_allocated_sphere ( ::ignition::msgs::SphereGeom sphere)
inline

References Geometry::sphere().

◆ set_type()

void set_type ( ::ignition::msgs::Geometry_Type  value)
inline

◆ sphere()

◆ Swap()

void Swap ( Geometry other)

◆ type()

ignition::msgs::Geometry_Type type ( ) const
inline

◆ Type_descriptor()

static const ::google::protobuf::EnumDescriptor* Type_descriptor ( )
inlinestatic

◆ Type_IsValid()

static bool Type_IsValid ( int  value)
inlinestatic

◆ Type_Name()

static const ::std::string& Type_Name ( Type  value)
inlinestatic

◆ Type_Parse()

static bool Type_Parse ( const ::std::string name,
Type value 
)
inlinestatic

Member Data Documentation

◆ BOX

const Type BOX
static
Initial value:

◆ CYLINDER

const Type CYLINDER
static
Initial value:

◆ EMPTY

const Type EMPTY
static
Initial value:

◆ HEIGHTMAP

const Type HEIGHTMAP
static
Initial value:

◆ IMAGE

const Type IMAGE
static
Initial value:

◆ kBoxFieldNumber

const int kBoxFieldNumber = 3
static

◆ kCylinderFieldNumber

const int kCylinderFieldNumber = 4
static

◆ kHeaderFieldNumber

const int kHeaderFieldNumber = 1
static

◆ kHeightmapFieldNumber

const int kHeightmapFieldNumber = 8
static

◆ kImageFieldNumber

const int kImageFieldNumber = 7
static

◆ kIndexInFileMessages

constexpr int kIndexInFileMessages
staticconstexpr
Initial value:
=
0

◆ kMeshFieldNumber

const int kMeshFieldNumber = 9
static

◆ kPlaneFieldNumber

const int kPlaneFieldNumber = 5
static

◆ kPointsFieldNumber

const int kPointsFieldNumber = 10
static

◆ kPolylineFieldNumber

const int kPolylineFieldNumber = 11
static

◆ kSphereFieldNumber

const int kSphereFieldNumber = 6
static

◆ kTypeFieldNumber

const int kTypeFieldNumber = 2
static

◆ LINE_STRIP

const Type LINE_STRIP
static
Initial value:

◆ MESH

const Type MESH
static
Initial value:

◆ PLANE

const Type PLANE
static
Initial value:

◆ POLYLINE

const Type POLYLINE
static
Initial value:

◆ SPHERE

const Type SPHERE
static
Initial value:

◆ TRIANGLE_FAN

const Type TRIANGLE_FAN
static
Initial value:

◆ Type_ARRAYSIZE

const int Type_ARRAYSIZE
static

◆ Type_MAX

const Type Type_MAX
static
Initial value:

◆ Type_MIN

const Type Type_MIN
static
Initial value:

The documentation for this class was generated from the following file:
@ Geometry_Type_IMAGE
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:90
@ Geometry_Type_CYLINDER
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:87
@ Geometry_Type_MESH
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:92
const Geometry_Type Geometry_Type_Type_MAX
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:102
@ Geometry_Type_SPHERE
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:88
@ Geometry_Type_PLANE
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:89
@ Geometry_Type_LINE_STRIP
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:94
@ Geometry_Type_EMPTY
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:96
@ Geometry_Type_HEIGHTMAP
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:91
const int Geometry_Type_Type_ARRAYSIZE
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:103
@ Geometry_Type_POLYLINE
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:95
@ Geometry_Type_BOX
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:86
const Geometry_Type Geometry_Type_Type_MIN
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:101
@ Geometry_Type_TRIANGLE_FAN
Definition: build/ignition-msgs5/include/ignition/msgs/geometry.pb.h:93