Rasterfarm-SDK
Loading...
Searching...
No Matches
Shape::Skeletal::Bone Struct Reference

#include <skeletal.h>

Inheritance diagram for Shape::Skeletal::Bone:
Primitive3D::Capsule Segment

Public Member Functions

Boneoperator= (const Primitive3D::Capsule &other)
 
- Public Member Functions inherited from Primitive3D::Capsule
 Capsule ()
 
 Capsule (const Vertex3f vertex[2], const float &radius)
 
 Capsule (const Segment &seg, const float &radius)
 
 operator AABoundingBox () const
 
 operator Primitive2D::Capsule ()
 
bool operator< (const Capsule &other) const
 
bool operator() (const Capsule &a, const Capsule &b)
 
const float volume () const
 
- Public Member Functions inherited from Segment
 Segment ()
 
 Segment (const Vertex2f &a, const Vertex2f &b)
 
Segment operator- () const
 
 operator Vector2f () const
 
const bool operator== (const Segment &other) const
 
const bool operator!= (const Segment &other) const
 
const Vertex2foperator[] (uint i) const
 
Vertex2foperator[] (uint i)
 
const Vertex2fgetVertex () const
 
Vertex2fgetVertex ()
 
Vertex2f getLine () const
 
Vertex2f getCenter () const
 
float slope () const
 
 Segment ()
 
 Segment (const Vertex3f &a, const Vector3f &b)
 
 operator Vector3f () const
 
const Vertex3foperator[] (uint i) const
 
Vertex3foperator[] (uint i)
 
 operator Primitive2D::Segment ()
 
Segment operator- () const
 
const bool operator== (const Segment &other) const
 
const Vertex3fgetVertex () const
 
Vertex3fgetVertex ()
 
Vector3f getLine () const
 
Vertex3f getCenter () const
 

Public Attributes

Mesh::TriangleIndexArray triangleIndex
 
Primitive3D::AABoundingBox aaBox
 
- Public Attributes inherited from Primitive3D::Capsule
float radius
 

Additional Inherited Members

- Static Public Member Functions inherited from Primitive3D::Capsule
static bool lesserVolume (const Capsule &left, const Capsule &right)
 
static Capsule create (const Vector3fArray &vertexArray)
 
- Protected Attributes inherited from Segment
Vertex2f vertex [2]
 
Vertex3f vertex [2]
 

Member Function Documentation

◆ operator=()

Bone & Shape::Skeletal::Bone::operator= ( const Primitive3D::Capsule & other)
inline

Member Data Documentation

◆ aaBox

Primitive3D::AABoundingBox Shape::Skeletal::Bone::aaBox

The axis-aligned bounding-box for all the triangle-vertices within this Bone. NOTE: this is not the bounds for the capsule.

◆ triangleIndex

Mesh::TriangleIndexArray Shape::Skeletal::Bone::triangleIndex

Indices in Geometry::triangle that are encapsulated within this Bone - a geometric capsule.


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