SimoxObjectShape Class Reference

#include <VisionX/libraries/SemanticObjectRelations/SimoxObjectShape.h>

+ Inheritance diagram for SimoxObjectShape:

Public Member Functions

void addMargin (float margin) override
 
semrel::AxisAlignedBoundingBox getAABB () const override
 
semrel::AxisAlignedBoundingBox getAABBLocal () const override
 
std::shared_ptr< btCollisionShape > getBulletCollisionShape (float margin) const override
 
Eigen::Quaternionf getOrientation () const override
 
Eigen::Vector3f getPosition () const override
 
semrel::TriMesh getTriMeshLocal () const override
 
void setOrientation (Eigen::Quaternionf const &orientation) override
 
void setPosition (Eigen::Vector3f const &position) override
 
 SimoxObjectShape ()
 
 SimoxObjectShape (const VirtualRobot::ManipulationObjectPtr &object, const std::string &objectClassName)
 
std::string tagPrefix () const override
 

Public Attributes

std::string entityId = ""
 
VirtualRobot::ManipulationObjectPtr object = nullptr
 
std::string objectClassName = ""
 

Detailed Description

Definition at line 11 of file SimoxObjectShape.h.

Constructor & Destructor Documentation

◆ SimoxObjectShape() [1/2]

SimoxObjectShape ( )
default

◆ SimoxObjectShape() [2/2]

SimoxObjectShape ( const VirtualRobot::ManipulationObjectPtr &  object,
const std::string &  objectClassName 
)

Definition at line 15 of file SimoxObjectShape.cpp.

Member Function Documentation

◆ addMargin()

void addMargin ( float  margin)
override

Definition at line 110 of file SimoxObjectShape.cpp.

◆ getAABB()

semrel::AxisAlignedBoundingBox getAABB ( ) const
override

Definition at line 91 of file SimoxObjectShape.cpp.

+ Here is the call graph for this function:

◆ getAABBLocal()

semrel::AxisAlignedBoundingBox getAABBLocal ( ) const
override

Definition at line 84 of file SimoxObjectShape.cpp.

◆ getBulletCollisionShape()

std::shared_ptr< btCollisionShape > getBulletCollisionShape ( float  margin) const
override

Definition at line 104 of file SimoxObjectShape.cpp.

◆ getOrientation()

Eigen::Quaternionf getOrientation ( ) const
override

Definition at line 33 of file SimoxObjectShape.cpp.

◆ getPosition()

Eigen::Vector3f getPosition ( ) const
override

Definition at line 21 of file SimoxObjectShape.cpp.

◆ getTriMeshLocal()

semrel::TriMesh getTriMeshLocal ( ) const
override

Definition at line 45 of file SimoxObjectShape.cpp.

◆ setOrientation()

void setOrientation ( Eigen::Quaternionf const &  orientation)
override

Definition at line 38 of file SimoxObjectShape.cpp.

+ Here is the call graph for this function:

◆ setPosition()

void setPosition ( Eigen::Vector3f const &  position)
override

Definition at line 26 of file SimoxObjectShape.cpp.

◆ tagPrefix()

std::string tagPrefix ( ) const
override

Definition at line 116 of file SimoxObjectShape.cpp.

Member Data Documentation

◆ entityId

std::string entityId = ""

Definition at line 42 of file SimoxObjectShape.h.

◆ object

VirtualRobot::ManipulationObjectPtr object = nullptr

Definition at line 40 of file SimoxObjectShape.h.

◆ objectClassName

std::string objectClassName = ""

Definition at line 41 of file SimoxObjectShape.h.


The documentation for this class was generated from the following files: