Gazebo Msgs

API Reference

9.5.1

#include <geometry.pb.h>

Public Types

typedef Geometry_Type Type
 

Public Member Functions

 Geometry ()
 
 Geometry (const Geometry &from)
 
virtual ~Geometry ()
 
::gz::msgs::Vector3dadd_points ()
 
::gz::msgs::Polylineadd_polyline ()
 
const ::gz::msgs::BoxGeombox () const
 
size_t ByteSizeLong () const final
 
const ::gz::msgs::CapsuleGeomcapsule () const
 
void Clear () final
 
void clear_box ()
 
void clear_capsule ()
 
void clear_cone ()
 
void clear_cylinder ()
 
void clear_ellipsoid ()
 
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 ()
 
const ::gz::msgs::ConeGeomcone () const
 
void CopyFrom (const ::google::protobuf::Message &from) final
 
void CopyFrom (const Geometry &from)
 
const ::gz::msgs::CylinderGeomcylinder () const
 
const ::gz::msgs::EllipsoidGeomellipsoid () const
 
int GetCachedSize () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_box () const
 
bool has_capsule () const
 
bool has_cone () const
 
bool has_cylinder () const
 
bool has_ellipsoid () 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 ::gz::msgs::Headerheader () const
 
const ::gz::msgs::HeightmapGeomheightmap () const
 
const ::gz::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 ::gz::msgs::MeshGeommesh () const
 
::gz::msgs::BoxGeommutable_box ()
 
::gz::msgs::CapsuleGeommutable_capsule ()
 
::gz::msgs::ConeGeommutable_cone ()
 
::gz::msgs::CylinderGeommutable_cylinder ()
 
::gz::msgs::EllipsoidGeommutable_ellipsoid ()
 
::gz::msgs::Headermutable_header ()
 
::gz::msgs::HeightmapGeommutable_heightmap ()
 
::gz::msgs::ImageGeommutable_image ()
 
::gz::msgs::MeshGeommutable_mesh ()
 
::gz::msgs::PlaneGeommutable_plane ()
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Vector3d > * mutable_points ()
 
::gz::msgs::Vector3dmutable_points (int index)
 
::google::protobuf::RepeatedPtrField< ::gz::msgs::Polyline > * mutable_polyline ()
 
::gz::msgs::Polylinemutable_polyline (int index)
 
::gz::msgs::SphereGeommutable_sphere ()
 
GeometryNew () const final
 
GeometryNew (::google::protobuf::Arena *arena) const final
 
Geometryoperator= (const Geometry &from)
 
const ::gz::msgs::PlaneGeomplane () const
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Vector3d > & points () const
 
const ::gz::msgs::Vector3dpoints (int index) const
 
int points_size () const
 
const ::google::protobuf::RepeatedPtrField< ::gz::msgs::Polyline > & polyline () const
 
const ::gz::msgs::Polylinepolyline (int index) const
 
int polyline_size () const
 
::gz::msgs::BoxGeomrelease_box ()
 
::gz::msgs::CapsuleGeomrelease_capsule ()
 
::gz::msgs::ConeGeomrelease_cone ()
 
::gz::msgs::CylinderGeomrelease_cylinder ()
 
::gz::msgs::EllipsoidGeomrelease_ellipsoid ()
 
::gz::msgs::Headerrelease_header ()
 
::gz::msgs::HeightmapGeomrelease_heightmap ()
 
::gz::msgs::ImageGeomrelease_image ()
 
::gz::msgs::MeshGeomrelease_mesh ()
 
::gz::msgs::PlaneGeomrelease_plane ()
 
::gz::msgs::SphereGeomrelease_sphere ()
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const final
 
void set_allocated_box (::gz::msgs::BoxGeom *box)
 
void set_allocated_capsule (::gz::msgs::CapsuleGeom *capsule)
 
void set_allocated_cone (::gz::msgs::ConeGeom *cone)
 
void set_allocated_cylinder (::gz::msgs::CylinderGeom *cylinder)
 
void set_allocated_ellipsoid (::gz::msgs::EllipsoidGeom *ellipsoid)
 
void set_allocated_header (::gz::msgs::Header *header)
 
void set_allocated_heightmap (::gz::msgs::HeightmapGeom *heightmap)
 
void set_allocated_image (::gz::msgs::ImageGeom *image)
 
void set_allocated_mesh (::gz::msgs::MeshGeom *mesh)
 
void set_allocated_plane (::gz::msgs::PlaneGeom *plane)
 
void set_allocated_sphere (::gz::msgs::SphereGeom *sphere)
 
void set_type (::gz::msgs::Geometry_Type value)
 
const ::gz::msgs::SphereGeomsphere () const
 
void Swap (Geometry *other)
 
::gz::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 ARROW
 
static const Type AXIS
 
static const Type BOX
 
static const Type CAPSULE
 
static const Type CONE
 
static const Type CYLINDER
 
static const Type ELLIPSOID
 
static const Type EMPTY
 
static const Type HEIGHTMAP
 
static const Type IMAGE
 
static const int kBoxFieldNumber = 3
 
static const int kCapsuleFieldNumber = 13
 
static const int kConeFieldNumber = 10
 
static const int kCylinderFieldNumber = 4
 
static const int kEllipsoidFieldNumber = 14
 
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 = 11
 
static const int kPolylineFieldNumber = 12
 
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()

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

◆ add_polyline()

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

◆ box()

const ::gz::msgs::BoxGeom & box ( ) const
inline

◆ ByteSizeLong()

size_t ByteSizeLong ( ) const
final

◆ capsule()

const ::gz::msgs::CapsuleGeom & capsule ( ) const
inline

◆ Clear()

void Clear ( )
final

◆ clear_box()

void clear_box ( )

◆ clear_capsule()

void clear_capsule ( )

◆ clear_cone()

void clear_cone ( )

◆ clear_cylinder()

void clear_cylinder ( )

◆ clear_ellipsoid()

void clear_ellipsoid ( )

◆ 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

◆ cone()

const ::gz::msgs::ConeGeom & cone ( ) const
inline

◆ CopyFrom() [1/2]

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

◆ CopyFrom() [2/2]

void CopyFrom ( const Geometry from)

◆ cylinder()

const ::gz::msgs::CylinderGeom & cylinder ( ) const
inline

◆ default_instance()

static const Geometry& default_instance ( )
static

◆ descriptor()

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

◆ ellipsoid()

const ::gz::msgs::EllipsoidGeom & ellipsoid ( ) const
inline

◆ GetCachedSize()

int GetCachedSize ( ) const
inlinefinal

◆ GetMetadata()

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

◆ has_box()

bool has_box ( ) const
inline

◆ has_capsule()

bool has_capsule ( ) const
inline

◆ has_cone()

bool has_cone ( ) const
inline

◆ has_cylinder()

bool has_cylinder ( ) const
inline

◆ has_ellipsoid()

bool has_ellipsoid ( ) 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 ::gz::msgs::Header & header ( ) const
inline

◆ heightmap()

const ::gz::msgs::HeightmapGeom & heightmap ( ) const
inline

◆ image()

const ::gz::msgs::ImageGeom & image ( ) const
inline

◆ 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()

const ::gz::msgs::MeshGeom & mesh ( ) const
inline

◆ mutable_box()

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

◆ mutable_capsule()

gz::msgs::CapsuleGeom * mutable_capsule ( )
inline

◆ mutable_cone()

gz::msgs::ConeGeom * mutable_cone ( )
inline

◆ mutable_cylinder()

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

◆ mutable_ellipsoid()

gz::msgs::EllipsoidGeom * mutable_ellipsoid ( )
inline

◆ mutable_header()

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

◆ mutable_heightmap()

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

◆ mutable_image()

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

◆ mutable_mesh()

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

◆ mutable_plane()

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

◆ mutable_points() [1/2]

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

◆ mutable_points() [2/2]

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

◆ mutable_polyline() [1/2]

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

◆ mutable_polyline() [2/2]

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

◆ mutable_sphere()

gz::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()

const ::gz::msgs::PlaneGeom & plane ( ) const
inline

◆ points() [1/2]

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

◆ points() [2/2]

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

◆ points_size()

int points_size ( ) const
inline

◆ polyline() [1/2]

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

◆ polyline() [2/2]

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

◆ polyline_size()

int polyline_size ( ) const
inline

◆ release_box()

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

◆ release_capsule()

gz::msgs::CapsuleGeom * release_capsule ( )
inline

◆ release_cone()

gz::msgs::ConeGeom * release_cone ( )
inline

◆ release_cylinder()

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

◆ release_ellipsoid()

gz::msgs::EllipsoidGeom * release_ellipsoid ( )
inline

◆ release_header()

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

◆ release_heightmap()

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

◆ release_image()

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

◆ release_mesh()

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

◆ release_plane()

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

◆ release_sphere()

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

◆ SerializeWithCachedSizes()

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

◆ set_allocated_box()

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

References Geometry::box().

◆ set_allocated_capsule()

void set_allocated_capsule ( ::gz::msgs::CapsuleGeom capsule)
inline

References Geometry::capsule().

◆ set_allocated_cone()

void set_allocated_cone ( ::gz::msgs::ConeGeom cone)
inline

References Geometry::cone().

◆ set_allocated_cylinder()

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

References Geometry::cylinder().

◆ set_allocated_ellipsoid()

void set_allocated_ellipsoid ( ::gz::msgs::EllipsoidGeom ellipsoid)
inline

References Geometry::ellipsoid().

◆ set_allocated_header()

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

References Geometry::header().

◆ set_allocated_heightmap()

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

References Geometry::heightmap().

◆ set_allocated_image()

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

References Geometry::image().

◆ set_allocated_mesh()

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

References Geometry::mesh().

◆ set_allocated_plane()

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

References Geometry::plane().

◆ set_allocated_sphere()

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

References Geometry::sphere().

◆ set_type()

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

◆ sphere()

const ::gz::msgs::SphereGeom & sphere ( ) const
inline

◆ Swap()

void Swap ( Geometry other)

◆ type()

gz::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

◆ ARROW

const Type ARROW
static
Initial value:

◆ AXIS

const Type AXIS
static
Initial value:

◆ BOX

const Type BOX
static
Initial value:

◆ CAPSULE

const Type CAPSULE
static
Initial value:

◆ CONE

const Type CONE
static
Initial value:

◆ CYLINDER

const Type CYLINDER
static
Initial value:

◆ ELLIPSOID

const Type ELLIPSOID
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

◆ kCapsuleFieldNumber

const int kCapsuleFieldNumber = 13
static

◆ kConeFieldNumber

const int kConeFieldNumber = 10
static

◆ kCylinderFieldNumber

const int kCylinderFieldNumber = 4
static

◆ kEllipsoidFieldNumber

const int kEllipsoidFieldNumber = 14
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 = 11
static

◆ kPolylineFieldNumber

const int kPolylineFieldNumber = 12
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: