Object Struct Reference

#include <RobotAPI/components/ArViz/Client/Elements.h>

+ Inheritance diagram for Object:

Public Member Functions

Objectalpha (float alpha)
 
 ElementOps (std::string const &id)
 
Objectfile (std::string const &filename)
 
Objectfile (std::string const &project, std::string const &filename)
 
ObjectfileByObjectFinder (const armarx::ObjectID &objectID, const std::string &objectsPackage=DefaultObjectsPackage, const std::string &relativeObjectsDirectory=DefaultRelativeObjectsDirectory)
 Set the file so it could be found using armarx::ObjectFinder (also on remote machine). More...
 
ObjectfileByObjectFinder (const std::string &objectID, const std::string &objectsPackage=DefaultObjectsPackage, const std::string &relativeObjectsDirectory=DefaultRelativeObjectsDirectory)
 
ObjectoverrideColor (Color c)
 
ObjectuseCollisionModel ()
 
ObjectuseFullModel ()
 
ObjectuseOriginalColor ()
 
- Public Member Functions inherited from ElementOps< Object, data::ElementObject >
Objectcolor (Color color)
 
Objectcolor (Ts &&...ts)
 
ObjectcolorGlasbeyLUT (std::size_t id, int alpha=255)
 
 ElementOps (std::string const &id)
 
Objectenable (InteractionDescription const &interactionDescription)
 
Objecthide ()
 
Objectid (const std::string &id)
 
Objectorientation (Eigen::Matrix3f const &ori)
 
Objectorientation (Eigen::Quaternionf const &ori)
 
Objectorientation (float r, float p, float y)
 
ObjectoverrideMaterial (bool value)
 
Eigen::Matrix4f pose () const
 
Objectpose (const Eigen::Affine3f &pose)
 
Objectpose (Eigen::Matrix4f const &pose)
 
Objectpose (Eigen::Vector3f const &position, Eigen::Matrix3f const &orientation)
 
Objectpose (Eigen::Vector3f const &position, Eigen::Quaternionf const &orientation)
 
Objectposition (Eigen::Vector3f const &pos)
 
Objectposition (float x, float y, float z)
 
Objectscale (Eigen::Vector3f scale)
 
Objectscale (float s)
 
Objectscale (float x, float y, float z)
 
Objectshow ()
 
ObjecttransformPose (Eigen::Matrix4f const &p)
 
Objectvisible (bool visible)
 

Static Public Attributes

static const std::string DefaultObjectsPackage = armarx::ObjectFinder::DefaultObjectsPackageName
 
static const std::string DefaultRelativeObjectsDirectory = armarx::ObjectFinder::DefaultObjectsDirectory
 

Additional Inherited Members

- Public Attributes inherited from ElementOps< Object, data::ElementObject >
IceInternal::Handle< data::ElementObject > data_
 

Detailed Description

Definition at line 321 of file Elements.h.

Member Function Documentation

◆ alpha()

Object & alpha ( float  alpha)

Definition at line 61 of file Elements.cpp.

+ Here is the call graph for this function:

◆ ElementOps()

ElementOps
inline

Definition at line 111 of file ElementOps.h.

◆ file() [1/2]

Object& file ( std::string const &  filename)
inline

Definition at line 335 of file Elements.h.

+ Here is the call graph for this function:

◆ file() [2/2]

Object& file ( std::string const &  project,
std::string const &  filename 
)
inline

Definition at line 328 of file Elements.h.

+ Here is the caller graph for this function:

◆ fileByObjectFinder() [1/2]

Object & fileByObjectFinder ( const armarx::ObjectID objectID,
const std::string &  objectsPackage = DefaultObjectsPackage,
const std::string &  relativeObjectsDirectory = DefaultRelativeObjectsDirectory 
)

Set the file so it could be found using armarx::ObjectFinder (also on remote machine).

Parameters
objectIDThe object ID, see <RobotAPI/libraries/ArmarXObjects/ObjectID.h>
objectsPackageThe objects package ("PriorKnowledgeData" by default)
See also
<RobotAPI/libraries/ArmarXObjects/ObjectFinder.h>

Definition at line 53 of file Elements.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fileByObjectFinder() [2/2]

Object & fileByObjectFinder ( const std::string &  objectID,
const std::string &  objectsPackage = DefaultObjectsPackage,
const std::string &  relativeObjectsDirectory = DefaultRelativeObjectsDirectory 
)

Definition at line 47 of file Elements.cpp.

+ Here is the call graph for this function:

◆ overrideColor()

Object& overrideColor ( Color  c)
inline

Definition at line 369 of file Elements.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ useCollisionModel()

Object& useCollisionModel ( )
inline

Definition at line 355 of file Elements.h.

◆ useFullModel()

Object& useFullModel ( )
inline

Definition at line 362 of file Elements.h.

◆ useOriginalColor()

Object& useOriginalColor ( )
inline

Definition at line 376 of file Elements.h.

Member Data Documentation

◆ DefaultObjectsPackage

const std::string DefaultObjectsPackage = armarx::ObjectFinder::DefaultObjectsPackageName
static

Definition at line 323 of file Elements.h.

◆ DefaultRelativeObjectsDirectory

const std::string DefaultRelativeObjectsDirectory = armarx::ObjectFinder::DefaultObjectsDirectory
static

Definition at line 324 of file Elements.h.


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