![]() |
TAPs 0.7.7.3
|
#include "../Core/TAPsDef.hpp"
Include dependency graph for TAPsEnumList.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| enum CD |
Definition at line 56 of file TAPsEnumList.hpp.
{
UNDEFINED_TYPE = -1, // undefined type
UNDEFINED_OBJECT = -1, // undefined object
UNDEFINED_TREE = -1, // undefined tree type
UNDEFINED_NODE = -1, // undefined node type
//===============================================================
// Bounding Volume Hierarchy Tree Type
//---------------------------------------------------------------
// From 91 to 100
BOUNDING_SPHERE = 91, // Bounding Sphere
BOUNDING_CYLINDER, // Bounding Cylinder
BOUNDING_BOX, // Bounding Box
BOUNDING_ELLIPSOID, // Bounding Ellipsoid
BOUNDING_HALF_SPHERE, // Bounding Half Sphere
BOUNDING_HALF_ELLIPSOID, // Bounding Half Ellipsoid
BOUNDING_CONE, // Bounding Cone
BOUNDING_CAPSULE, // Bounding Capsule
BOUNDING_POLYTOPE = 100, // Bounding Polytope
//===============================================================
// Bounding Volume Hierarchy Tree Type
//---------------------------------------------------------------
// From 101 to 400
BVH_TREE_BINARY_SPHERE = 102, // Binary Sphere BVH Tree
BVH_TREE_QUAD_SPHERE = 104, // Quad Sphere BVH Tree
BVH_TREE_OCTANT_SPHERE = 108, // Octant Sphere BVH Tree
BVH_TREE_GENERIC_SPHERE = 199, // Generic Sphere BVH Tree
BVH_TREE_BINARY_AABB = 202, // Binary AABB BVH Tree
BVH_TREE_QUAD_AABB = 204, // Quad AABB BVH Tree
BVH_TREE_OCTANT_AABB = 208, // Octant AABB BVH Tree
BVH_TREE_GENERIC_AABB = 299, // Generic AABB BVH Tree
BVH_TREE_BINARY_OBB = 302, // Binary OBB BVH Tree
BVH_TREE_QUAD_OBB = 304, // Quad OBB BVH Tree
BVH_TREE_OCTANT_OBB = 308, // Octant OBB BVH Tree
BVH_TREE_GENERIC_OBB = 399, // Generic OBB BVH Tree
//---------------------------------------------------------------
// Generic BVH Tree
BVH_TREE_GENERIC = 400, // Generic BVH Tree
//===============================================================
// Bounding Volume Hierarchy Node Type (Not a Leaf Node)
//---------------------------------------------------------------
// From 401 to 500
//-----------------------------------------------------
// Sphere Node
BVH_NODE_BINARY_SPHERE = 402, // Binary Sphere BVH Node
BVH_NODE_QUAD_SPHERE = 404, // Quad Sphere BVH Node
BVH_NODE_OCTANT_SPHERE = 408, // Octant Sphere BVH Node
BVH_NODE_GENERIC_SPHERE = 409, // Generic Sphere BVH Node
//-----------------------------------------------------
// AABB Node
BVH_NODE_BINARY_AABB = 412, // Binary AABB BVH Node
BVH_NODE_QUAD_AABB = 414, // Quad AABB BVH Node
BVH_NODE_OCTANT_AABB = 418, // Octant AABB BVH Node
BVH_NODE_GENERIC_AABB = 419, // Generic AABB BVH Node
//-----------------------------------------------------
// OBB Node
BVH_NODE_BINARY_OBB = 422, // Binary OBB BVH Node
BVH_NODE_QUAD_OBB = 424, // Quad OBB BVH Node
BVH_NODE_OCTANT_OBB = 428, // Octant OBB BVH Node
BVH_NODE_GENERIC_OBB = 429, // Generic OBB BVH Node
//===============================================================
// Bounding Volume Hierarchy Leaf Node Type
//---------------------------------------------------------------
// From 451 to 500
//-----------------------------------------------------
// Sphere Node
//-------------------------------------------
// Sphere BVH Leaf Node contains nothing
BVH_NODE_LEAF_SPHERE = 451,
//-------------------------------------------
// Sphere BVH Leaf Node contains one primitive of half-edge model
BVH_NODE_LEAF_SPHERE_HALFEDGE_APRIM,
// Sphere BVH Leaf Node contains one primitive or more of half-edge model
BVH_NODE_LEAF_SPHERE_HALFEDGE_PRIMS,
//---------------------------------
// Sphere BVH Leaf Node contains one primitive of xpolygonal model
BVH_NODE_LEAF_SPHERE_XPOLYGON_APRIM,
// Sphere BVH Leaf Node contains one primitive or more of xpolygonal model
BVH_NODE_LEAF_SPHERE_XPOLYGON_PRIMS,
//---------------------------------
// Sphere BVH Leaf Node contains one primitive of polygonal model
BVH_NODE_LEAF_SPHERE_POLYGON_APRIM,
// Sphere BVH Leaf Node contains one primitive or more of polygonal model
BVH_NODE_LEAF_SPHERE_POLYGON_PRIMS,
//---------------------------------
// Sphere BVH Leaf Node contains two primitives, i.e. nodes, of elastic rod
BVH_NODE_LEAF_SPHERE_TWO_ELASTIC_ROD_NODES,
//---------------------------------
// Sphere BVH Leaf Node contains two point masses (PointMass<T>)
BVH_NODE_LEAF_SPHERE_TWO_POINT_MASSES,
//---------------------------------
// Sphere BVH Leaf Node contains unspecified primitives
BVH_NODE_LEAF_SPHERE_UNSPECIFIED_PRIMS,
//-----------------------------------------------------
// AABB Node
//-------------------------------------------
// AABB BVH Leaf Node contains nothing
BVH_NODE_LEAF_AABB,
//-------------------------------------------
// AABB BVH Leaf Node contains one primitive of half-edge model
BVH_NODE_LEAF_AABB_HALFEDGE_APRIM,
// AABB BVH Leaf Node contains one primitive or more of half-edge model
BVH_NODE_LEAF_AABB_HALFEDGE_PRIMS,
//---------------------------------
// AABB BVH Leaf Node contains one primitive of xpolygonal model
BVH_NODE_LEAF_AABB_XPOLYGON_APRIM,
// AABB BVH Leaf Node contains one primitive or more of xpolygonal model
BVH_NODE_LEAF_AABB_XPOLYGON_PRIMS,
//---------------------------------
// AABB BVH Leaf Node contains one primitive of polygonal model
BVH_NODE_LEAF_AABB_POLYGON_APRIM,
// AABB BVH Leaf Node contains one primitive or more of polygonal model
BVH_NODE_LEAF_AABB_POLYGON_PRIMS,
//---------------------------------
// Sphere BVH Leaf Node contains two primitives, i.e. nodes, of elastic rod
BVH_NODE_LEAF_AABB_TWO_ELASTIC_ROD_NODES,
//---------------------------------
// Sphere BVH Leaf Node contains two point masses (PointMass<T>)
BVH_NODE_LEAF_AABB_TWO_POINT_MASSES,
//---------------------------------
// AABB BVH Leaf Node contains unspecified primitives
BVH_NODE_LEAF_AABB_UNSPECIFIED_PRIMS,
//-----------------------------------------------------
// OBB Node
//-------------------------------------------
// OBB BVH Leaf Node contains nothing
BVH_NODE_LEAF_OBB,
//-------------------------------------------
// OBB BVH Leaf Node contains one primitive of half-edge model
BVH_NODE_LEAF_OBB_HALFEDGE_APRIM,
// OBB BVH Leaf Node contains one primitive or more of half-edge model
BVH_NODE_LEAF_OBB_HALFEDGE_PRIMS,
//---------------------------------
// OBB BVH Leaf Node contains one primitive of xpolygonal model
BVH_NODE_LEAF_OBB_XPOLYGON_APRIM,
// OBB BVH Leaf Node contains one primitive or more of xpolygonal model
BVH_NODE_LEAF_OBB_XPOLYGON_PRIMS,
//---------------------------------
// OBB BVH Leaf Node contains one primitive of polygonal model
BVH_NODE_LEAF_OBB_POLYGON_APRIM,
// OBB BVH Leaf Node contains one primitive or more of polygonal model
BVH_NODE_LEAF_OBB_POLYGON_PRIMS,
//---------------------------------
// Sphere BVH Leaf Node contains two primitives, i.e. nodes, of elastic rod
BVH_NODE_LEAF_OBB_TWO_ELASTIC_ROD_NODES,
//---------------------------------
// Sphere BVH Leaf Node contains two point masses (PointMass<T>)
BVH_NODE_LEAF_OBB_TWO_POINT_MASSES,
//---------------------------------
// OBB BVH Leaf Node contains unspecified primitives
BVH_NODE_LEAF_OBB_UNSPECIFIED_PRIMS,
//===============================================================
END_ENUM_CD // Dummy Enum
//---------------------------------------------------------------
};
| enum ModelType |
| MODEL_TYPE_POLYGONAL | |
| MODEL_TYPE_XPOLYGONAL | |
| MODEL_TYPE_HALFEDGE | |
| MODEL_FIXED |
No movement. |
| MODEL_RIGID |
Move rigidly. |
| MODEL_DEFORM_PLASTIC |
Deformation is permanent. |
| MODEL_DEFORM_ELASTIC |
Deformation always back to the original shape in one simulation step. |
| MODEL_DEFORM |
Deformation based on the model deformation method, e.g., a MSS (Mass Spring System) |
| MODEL_BASED_ON_MSS | |
| MODEL_BASED_ON_ER | |
| MODEL_BASED_ON_FEM | |
| MODEL_BASED_ON_IPG_RBD | |
| MODEL_TYPE_UNDEFINED |
Definition at line 18 of file TAPsEnumList.hpp.
{
// Geometry Type
MODEL_TYPE_POLYGONAL = 1,
MODEL_TYPE_XPOLYGONAL,
MODEL_TYPE_HALFEDGE,
// Simulation Type
MODEL_FIXED,
MODEL_RIGID,
MODEL_DEFORM_PLASTIC,
MODEL_DEFORM_ELASTIC,
MODEL_DEFORM,
// Inheritance Type
MODEL_BASED_ON_MSS,
MODEL_BASED_ON_ER,
MODEL_BASED_ON_FEM,
MODEL_BASED_ON_IPG_RBD, // rigid body dynamics model based on interaction point group
MODEL_TYPE_UNDEFINED
};
| enum ODESolver |
Definition at line 240 of file TAPsEnumList.hpp.
{
EULER,
MIDPOINT,
RUNGE_KUTTA_4
};
| enum OpenFile |
Definition at line 43 of file TAPsEnumList.hpp.
{
READ = 95, // read only
WRITE, // write only
READ_AND_WRITE // read and write
};
| enum Shape |
Definition at line 216 of file TAPsEnumList.hpp.
| std::string StrEnumShape | ( | Shape | shape | ) |
Definition at line 224 of file TAPsEnumList.hpp.
References BOX, CONE, CYLINDER, SPHERE, TORUS, and UNDEFINED_SHAPE.
Referenced by Shape< T >::StrInfo().
{
switch ( shape ) {
case BOX: return std::string( "BOX" );
case CYLINDER: return std::string( "CYLINDER" );
case CONE: return std::string( "CONE" );
case SPHERE: return std::string( "SPHERE" );
case TORUS: return std::string( "TORUS" );
case UNDEFINED_SHAPE: return std::string( "UNDEFINED_SHAPE" );
default: return std::string( "unknown" );
}
}
Here is the caller graph for this function: