SuperDex Physics C++ API
Loading...
Searching...
No Matches
mochi_enums.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
19/********************************************************************************
20 IMPORTANT: Please do not add any #includes to this file.
21*********************************************************************************/
22
23namespace superdex {
24
25enum class ActorType {
27
29
31
33
35
37
39};
40
48
66
78
114
115// WARNING: This enum is replicated in the UE Plugin. Changes must be transferred.
117 Joint = 0,
118
120
122
124
125 Invalid = 255,
126};
127
157
160
162
164};
165
166} // namespace superdex
IncludeNestedActors
Specifies whether actor-contact filtering also applies to nested actors.
@ Yes
Affect the exact actor and, for parent actors, its nested actors.
@ No
Affect only the exact actor handles passed to the API.
PoseConstraintType
Type of constraint in an articulated pose controller.
@ LinkTranslation
Link translation constraint.
@ Invalid
Invalid constraint type.
@ LinkRotation
Link rotation constraint.
@ Joint
Joint constraint.
ActorBoundaryElementType
Two-dimensional discretization element types for actor boundary integrals.
Definition mochi_enums.h:49
@ ExperimentalP1Q12
[Experimental] Linear elements (P1), Dunavant quadrature with 12 points (Q12).
Definition mochi_enums.h:58
@ P1Q3
Linear elements (P1), Dunavant quadrature with 3 points (Q3).
Definition mochi_enums.h:52
@ P1Q1
Linear elements (P1), Dunavant quadrature with 1 point (Q1).
Definition mochi_enums.h:50
@ ExperimentalP1Q16
[Experimental] Linear elements (P1), Lyness-Jespersen quadrature with 16 points (Q16).
Definition mochi_enums.h:60
@ ExperimentalP1Q7
[Experimental] Linear elements (P1), Lyness-Jespersen quadrature with 7 points (Q7).
Definition mochi_enums.h:56
@ P1Q6
Linear elements (P1), Dunavant quadrature with 6 points (Q6).
Definition mochi_enums.h:54
ConstraintType
Type of constraint acting on actors' degrees of freedom.
Definition mochi_enums.h:79
@ RigidPivotRotation
Rotation constraint on a rigid actor's pivot frame.
Definition mochi_enums.h:98
@ JointRotationRange
Range constraint on joint rotation.
Definition mochi_enums.h:90
@ JointRotationTracking
Tracking constraint on joint rotation.
Definition mochi_enums.h:92
@ ArticulatedSingleDofTarget
Target constraint on a single articulated DoF.
Definition mochi_enums.h:86
@ Articulated3dRotationTarget
Target constraint on the DoFs of an articulated 3D rotation.
Definition mochi_enums.h:88
@ RigidPrismaticJoint
Translational prismatic joint constraint between two rigid actors.
@ DeformableNodePosition
Position constraint on a deformable actor node.
@ Articulated3dRotationRange
Range constraint on the DoFs of an articulated 3D rotation.
Definition mochi_enums.h:84
@ RodElementRotationToRigid
Rotation constraint between a rigid actor and a rod element.
@ RigidPivotPosition
Position constraint on a rigid actor's pivot point.
Definition mochi_enums.h:94
@ RigidSphericalJoint
Spherical joint constraint between two rigid actors.
@ DeformableNodeToDeformableNode
Constraint connecting two deformable actor nodes.
@ DeformableNodeToRigid
Constraint connecting a deformable node to a rigid actor.
@ RigidPivotToRigidTarget
Position constraint that drives a rigid actor's pivot point toward where that same local point would ...
Definition mochi_enums.h:96
@ ArticulatedSingleDofRange
Range constraint on a single articulated DoF.
Definition mochi_enums.h:82
ActorSegmentElementType
One-dimensional discretization element types for actor segment integrals.
Definition mochi_enums.h:67
@ P1Q2
Linear elements (P1), Gauss-Legendre quadrature with 2 points (Q2).
Definition mochi_enums.h:70
ActorType
Type of actor.
Definition mochi_enums.h:25
@ Articulated
Articulated actor composed of rigid links connected by joints.
Definition mochi_enums.h:32
@ Soft
Volumetric deformable actor.
Definition mochi_enums.h:30
@ None
Invalid actor type.
Definition mochi_enums.h:26
@ Rigid
Rigid body actor.
Definition mochi_enums.h:28
@ Count
Number of actor type enum values.
Definition mochi_enums.h:38
@ Shell
[Experimental] Thin-shell actor for modeling cloth, membranes, and other thin-walled objects.
Definition mochi_enums.h:34
@ Rod
[Experimental] Rod actor for thin elastic rods.
Definition mochi_enums.h:36
QueryType
Type of query data to compute for an actor or constraint.
@ NodePositions
Positions of all mesh nodes.
@ NodeContactForces
Contact forces per node.
@ SurfaceNodeNormals
Normals of surface mesh nodes.
@ ConstraintForce
Force/torque applied by a constraint.
@ ElasticEnergy
Elastic energy of a deformable actor.
@ ArticulatedControllerForce
Generalized forces applied by an articulated pose controller.
@ ContactPoints
Contact points between actors.
@ ElementsDeformationGradient
Deformation gradients for elements in deformable actors.
@ SurfaceNodePositions
Positions of surface mesh nodes.
@ VisualNodePositions
Positions of visual mesh nodes.
@ VisualNodeNormals
Normals of visual mesh nodes.
@ TotalContactForce
Total contact force and torque acting on an actor.
BoundarySubsamplingStrategy
Strategy for selecting the active boundary faces when subsampling boundary integrals.
Definition mochi_enums.h:41
@ UniformProbability
Select boundary faces with uniform probability.
Definition mochi_enums.h:42
@ AreaProportional
Select boundary faces with probability proportional to their area.
Definition mochi_enums.h:44
SDF distance information for active contact sample points.