|
VR-Engage
2.3
|
Owns the selection state for the runtime material table, terrain material mappings, and active dynamics contacts displayed by DtVortexDebug.
#include <vortexMaterialDebugHelpers.h>
Classes | |
| struct | DtDynamicsContactSelection |
| struct | DtMaterialSelectionState |
Public Types | |
| enum class | DtMaterialInspectorSource { None , RigidBodyResponseModel , SurfaceMaterialMapper } |
Public Member Functions | |
| DtVortexMaterialDebugHelpers ()=default | |
| ~DtVortexMaterialDebugHelpers ()=default | |
| DtVortexMaterialDebugHelpers (const DtVortexMaterialDebugHelpers &)=delete | |
| DtVortexMaterialDebugHelpers & | operator= (const DtVortexMaterialDebugHelpers &)=delete |
| void | renderMainImgui (DtVortexPhysicalWorld *physicalWorld, Vx::VxUniverse *universe) |
| void | renderExtraImguiWindows (Vx::VxUniverse *universe) |
Protected Member Functions | |
| Vx::VxMaterialTable * | rigidBodyResponseModelMaterialTable (Vx::VxUniverse *universe) const |
| void | resetSelections () |
Protected Attributes | |
| Vx::VxUniverse * | myUniverse = nullptr |
| bool | myDynamicsContactInspectorOpen = false |
| DtDynamicsContactSelection | myDynamicsContactSelection |
| DtMaterialSelectionState | myRigidBodyResponseModelMaterialSelection |
| std::string | mySelectedSurfaceMaterialMapperMaterialName |
| bool | myMaterialInspectorOpen = false |
| DtMaterialInspectorSource | myMaterialInspectorSource = DtMaterialInspectorSource::None |
|
strong |
|
default |
Constructor.
Referenced by DtVortexMaterialDebugHelpers(), and operator=().
|
default |
Destructor.
|
delete |
Deleted copy constructor.
References DtVortexMaterialDebugHelpers().
|
delete |
Deleted copy-assignment operator.
References DtVortexMaterialDebugHelpers().
| void makVre::DtVortexMaterialDebugHelpers::renderMainImgui | ( | DtVortexPhysicalWorld * | physicalWorld, |
| Vx::VxUniverse * | universe ) |
Renders material and contact sections in the main Vortex debug panel.
Updates selections while rendering active contacts, runtime materials, and terrain surface-to-material mappings.
| physicalWorld | Current Vortex physical world |
| universe | Current Vortex universe, or nullptr when no universe is active |
| void makVre::DtVortexMaterialDebugHelpers::renderExtraImguiWindows | ( | Vx::VxUniverse * | universe | ) |
Renders the detached material and contact inspector windows.
Renders details for selections made by renderMainImgui().
| universe | Current Vortex universe, or nullptr when no universe is active |
|
protected |
Returns the material table owned by the current universe response model.
| universe | Current Vortex universe |
|
protected |
Clears selections when the active universe changes.
|
protected |
Non-owning pointer used to detect universe changes.
|
protected |
Whether the detached contact inspector is visible.
|
protected |
Active contact selected for inspection.
|
protected |
Selection in the rigid-body response-model material table.
Supports selecting a material pair to inspect its contact material.
|
protected |
Single material selected in the surface mapper.
|
protected |
Whether the detached material inspector is visible.
|
protected |
Material source displayed in the detached inspector.