|
| | HeightField () |
| | Constructing an empty HeightField.
|
| |
| | HeightField (const Scalar x_dim, const Scalar y_dim, const MatrixXs &heights, const Scalar min_height=(Scalar) 0) |
| | Constructing an HeightField from its base dimensions and the set of heights points. The granularity of the height field along X and Y direction is extraded from the Z grid.
|
| |
| | HeightField (const HeightField &other) |
| | Copy contructor from another HeightField.
|
| |
| const VecXs & | getXGrid () const |
| | Returns a const reference of the grid along the X direction.
|
| |
| const VecXs & | getYGrid () const |
| | Returns a const reference of the grid along the Y direction.
|
| |
| const MatrixXs & | getHeights () const |
| | Returns a const reference of the heights.
|
| |
| Scalar | getXDim () const |
| | Returns the dimension of the Height Field along the X direction.
|
| |
| Scalar | getYDim () const |
| | Returns the dimension of the Height Field along the Y direction.
|
| |
| Scalar | getMinHeight () const |
| | Returns the minimal height value of the Height Field.
|
| |
| Scalar | getMaxHeight () const |
| | Returns the maximal height value of the Height Field.
|
| |
| virtual HeightField< BV > * | clone () const |
| | Clone *this into a new CollisionGeometry.
|
| |
| const BVS & | getNodes () const |
| |
| virtual | ~HeightField () |
| | deconstruction, delete mesh data related.
|
| |
| void | computeLocalAABB () |
| | Compute the AABB for the HeightField, used for broad-phase collision.
|
| |
| void | updateHeights (const MatrixXs &new_heights) |
| | Update Height Field height.
|
| |
| const HFNode< BV > & | getBV (unsigned int i) const |
| | Access the bv giving the its index.
|
| |
| HFNode< BV > & | getBV (unsigned int i) |
| | Access the bv giving the its index.
|
| |
| NODE_TYPE | getNodeType () const |
| | Get the BV type: default is unknown.
|
| |
| NODE_TYPE | getNodeType () const |
| | Specialization of getNodeType() for HeightField with different BV types.
|
| |
| NODE_TYPE | getNodeType () const |
| | get the node type
|
| |
| NODE_TYPE | getNodeType () const |
| | get the node type
|
| |
| NODE_TYPE | getNodeType () const |
| | get the node type
|
| |
| NODE_TYPE | getNodeType () const |
| | get the node type
|
| |
| NODE_TYPE | getNodeType () const |
| | get the node type
|
| |
| NODE_TYPE | getNodeType () const |
| | get the node type
|
| |
| NODE_TYPE | getNodeType () const |
| | get the node type
|
| |
| | CollisionGeometry () |
| |
| | CollisionGeometry (const CollisionGeometry &other)=default |
| | Copy constructor.
|
| |
| virtual | ~CollisionGeometry () |
| |
| bool | operator== (const CollisionGeometry &other) const |
| | Equality operator.
|
| |
| bool | operator!= (const CollisionGeometry &other) const |
| | Difference operator.
|
| |
| void * | getUserData () const |
| | get user data in geometry
|
| |
| void | setUserData (void *data) |
| | set user data in geometry
|
| |
| bool | isOccupied () const |
| | whether the object is completely occupied
|
| |
| bool | isFree () const |
| | whether the object is completely free
|
| |
| bool | isUncertain () const |
| | whether the object has some uncertainty
|
| |
| virtual Matrix3s | computeMomentofInertiaRelatedToCOM () const |
| | compute the inertia matrix, related to the com
|
| |
| void | init (const Scalar x_dim, const Scalar y_dim, const MatrixXs &heights, const Scalar min_height) |
| |
| OBJECT_TYPE | getObjectType () const |
| | Get the object type: it is a HFIELD.
|
| |
| Vec3s | computeCOM () const |
| | compute center of mass
|
| |
| Scalar | computeVolume () const |
| | compute the volume
|
| |
| Matrix3s | computeMomentofInertia () const |
| | compute the inertia matrix, related to the origin
|
| |
| int | buildTree () |
| | Build the bounding volume hierarchy.
|
| |
| Scalar | recursiveUpdateHeight (const size_t bv_id) |
| |
| Scalar | recursiveBuildTree (const size_t bv_id, const Eigen::DenseIndex x_id, const Eigen::DenseIndex x_size, const Eigen::DenseIndex y_id, const Eigen::DenseIndex y_size) |
| |
| Scalar | x_dim |
| | Dimensions in meters along X and Y directions.
|
| |
| Scalar | y_dim |
| |
| MatrixXs | heights |
| | Elevation values in meters of the Height Field.
|
| |
| Scalar | min_height |
| | Minimal height of the Height Field: all values bellow min_height will be discarded.
|
| |
| Scalar | max_height |
| |
| VecXs | x_grid |
| | Grids along the X and Y directions. Useful for plotting or other related things.
|
| |
| VecXs | y_grid |
| |
| BVS | bvs |
| | Bounding volume hierarchy.
|
| |
| unsigned int | num_bvs |
| |