Public Types | Public Member Functions | List of all members
fcl::ShapeBase< S_ > Class Template Reference

Base class for all basic geometric shapes. More...

#include <shape_base.h>

Inheritance diagram for fcl::ShapeBase< S_ >:
Inheritance graph
[legend]

Public Types

using S = S_
 

Public Member Functions

OBJECT_TYPE getObjectType () const
 Get object type: a geometric shape. More...
 
 ShapeBase ()
 
- Public Member Functions inherited from fcl::CollisionGeometry< S_ >
 CollisionGeometry ()
 
virtual Vector3< S_ > computeCOM () const
 compute center of mass More...
 
virtual void computeLocalAABB ()=0
 compute the AABB for object in local coordinate More...
 
virtual Matrix3< S_ > computeMomentofInertia () const
 compute the inertia matrix, related to the origin More...
 
virtual Matrix3< S_ > computeMomentofInertiaRelatedToCOM () const
 compute the inertia matrix, related to the com More...
 
virtual S_ computeVolume () const
 compute the volume More...
 
virtual NODE_TYPE getNodeType () const
 get the node type More...
 
virtual OBJECT_TYPE getObjectType () const
 get the type of the object More...
 
void * getUserData () const
 get user data in geometry More...
 
bool isFree () const
 whether the object is completely free More...
 
bool isOccupied () const
 whether the object is completely occupied More...
 
bool isUncertain () const
 whether the object has some uncertainty More...
 
void setUserData (void *data)
 set user data in geometry More...
 
virtual ~CollisionGeometry ()
 

Additional Inherited Members

- Public Attributes inherited from fcl::CollisionGeometry< S_ >
Vector3< S_ > aabb_center
 AABB center in local coordinate. More...
 
AABB< S_ > aabb_local
 AABB in local coordinate, used for tight AABB when only translation transform. More...
 
S_ aabb_radius
 AABB radius. More...
 
S_ cost_density
 collision cost for unit volume More...
 
S_ threshold_free
 threshold for free (<= is free) More...
 
S_ threshold_occupied
 threshold for occupied ( >= is occupied) More...
 
void * user_data
 pointer to user defined data specific to this object More...
 

Detailed Description

template<typename S_>
class fcl::ShapeBase< S_ >

Base class for all basic geometric shapes.

Definition at line 48 of file shape_base.h.

Member Typedef Documentation

◆ S

template<typename S_ >
using fcl::ShapeBase< S_ >::S = S_

Definition at line 52 of file shape_base.h.

Constructor & Destructor Documentation

◆ ShapeBase()

template<typename S >
fcl::ShapeBase< S >::ShapeBase

Definition at line 52 of file shape_base-inl.h.

Member Function Documentation

◆ getObjectType()

template<typename S >
OBJECT_TYPE fcl::ShapeBase< S >::getObjectType

Get object type: a geometric shape.

Definition at line 60 of file shape_base-inl.h.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:50