AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agxTerrain::GroundCollapse::CollapseRenderSettings Class Reference

#include <CollapseSettings.h>

+ Inheritance diagram for agxTerrain::GroundCollapse::CollapseRenderSettings:

Public Types

using Flags = agx::BitState< StateFlags, agx::UInt32 >
 
enum  StateFlags : agx::UInt32 {
  RENDER_SLOPE_DETECTION = 1 << 0 , RENDER_STEEPEST_SLOPE_DATA = 1 << 1 , RENDER_STEEPEST_SLOPE = 1 << 2 , RENDER_SLOPE_START_END_POINT = 1 << 3 ,
  RENDER_SURFACE_TERRAIN_INTERSECTION_TEST = 1 << 4 , RENDER_ALL_SURFACE_CONTACTS = 1 << 5 , RENDER_FAILED_SURFACE_CONTACTS = 1 << 6 , COLOR_CONTACTS_FROM_FOS = 1 << 7 ,
  RENDER_ALL_SURFACES = 1 << 8 , RENDER_FAILED_SURFACES = 1 << 9 , RENDER_CRITICAL_SURFACE = 1 << 10 , RENDER_SURFACE_POINTS = 1 << 11 ,
  RENDER_CONTACT_PARTITIONING = 1 << 12 , RENDER_AGGREGATE_MASS_VOXELS = 1 << 13 , RENDER_AGGREGATE_BORDER_VOXELS = 1 << 14
}
 

Public Member Functions

 CollapseRenderSettings ()
 
bool getEnableColorContactsFromFos () const
 
bool getEnableRenderAggregateBorderVoxels ()
 
bool getEnableRenderAggregateMassVoxels ()
 
bool getEnableRenderAllSurfaceContacts () const
 
bool getEnableRenderAllSurfaces () const
 
bool getEnableRenderContactPartitioning () const
 
bool getEnableRenderCriticalSurface () const
 
bool getEnableRenderFailedSurfaceContacts () const
 
bool getEnableRenderFailedSurfaces () const
 
bool getEnableRenderSlopeDetection () const
 
bool getEnableRenderSteepestSlopeData () const
 
bool getEnableRenderSurfaceIntersectionTest () const
 
bool getEnableRenderSurfacePoints () const
 
agx::Real getRenderContactSize () const
 
void setEnableColorContactsFromFos (bool enable)
 Enable or disable if contacts should be colored according to their factor of saftey.
 
void setEnableRenderAggregateBorderVoxels (bool enable)
 
void setEnableRenderAggregateMassVoxels (bool enable)
 
void setEnableRenderAllSurfaceContacts (bool enable)
 
void setEnableRenderAllSurfaces (bool enable)
 
void setEnableRenderContactPartitioning (bool enable)
 
void setEnableRenderCriticalSurface (bool enable)
 
void setEnableRenderFailedSurfaceContacts (bool enable)
 
void setEnableRenderFailedSurfaces (bool enable)
 
void setEnableRenderSlopeDetection (bool enable)
 
void setEnableRenderSteepestSlopeData (bool enable)
 
void setEnableRenderSurfaceIntersectionTest (bool enable)
 
void setEnableRenderSurfacePoints (bool enable)
 
void setRenderContactSize (agx::Real size)
 
- Public Member Functions inherited from agx::Referenced
 Referenced ()
 Default constructor.
 
 Referenced (const Referenced &)
 
template<typename T >
T * as ()
 Subclass casting.
 
template<typename T >
const T * as () const
 
template<typename T >
T * asSafe ()
 Safe subclass casting, return nullptr if template type does not match.
 
template<typename T >
const T * asSafe () const
 
int getReferenceCount () const
 
template<typename T >
bool is () const
 Subclass test.
 
Referenced & operator= (const Referenced &)
 Assignment operator. Will increment the number of references to the referenced object.
 
void reference (void *ptr=nullptr) const
 Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
 
void unreference (void *ptr=nullptr) const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it.
 
void unreference_nodelete () const
 Decrement the reference count by one, indicating that a pointer to this object is referencing it.
 
- Public Member Functions inherited from agxStream::Serializable
virtual ~Serializable ()
 Destructor for normal C++ use but hidden from SWIG bindings.
 
virtual const char * getClassName () const
 
bool getEnableSerialization () const
 
bool getEnableUuidGeneration ()
 
agx::UInt32 getIndex () const
 This index is given at creation of this object.
 
virtual StorageAgent * getStorageAgent () const =0
 
agx::Uuid getUuid () const
 
bool isFinished () const
 
void setEnableSerialization (bool flag)
 Set to false to disable serialization of this object.
 
void setFinished ()
 Tells this class that it is restored correctly and should not be deleted during destruction of an Archive.
 
void setUuid (const agx::Uuid &uuid)
 Explicitly set a Uuid on a serializable object.
 

Protected Member Functions

 ~CollapseRenderSettings ()
 
- Protected Member Functions inherited from agx::Referenced
virtual ~Referenced ()
 Destructor.
 
void allocateObserverVector () const
 
void deleteUsingDeleteHandler () const
 
- Protected Member Functions inherited from agxStream::Serializable
 Serializable ()
 Default constructor.
 
 Serializable (const Serializable &other)
 Copy constructor.
 
void generateUuid ()
 

Protected Attributes

Flags m_flags
 
agx::Real m_renderContactSize
 
- Protected Attributes inherited from agx::Referenced
Mutex m_mutex
 
ObserverContainer m_observers
 
AtomicValue m_refCount
 

Additional Inherited Members

- Static Public Member Functions inherited from agx::Referenced
template<typename T >
static bool ValidateCast (const Referenced *object)
 
- Static Public Member Functions inherited from agxStream::Serializable
static void setEnableUuidGeneration (bool flag)
 Specify if there should be UUID:s generated for each new Serializable object. By default it is enabled.
 
- Static Protected Member Functions inherited from agx::Referenced
static DeleteHandler * getDeleteHandler ()
 
static void setDeleteHandler (DeleteHandler *handler)
 Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
 

Detailed Description

Definition at line 395 of file CollapseSettings.h.

Member Typedef Documentation

◆ Flags

Member Enumeration Documentation

◆ StateFlags

Enumerator
RENDER_SLOPE_DETECTION 
RENDER_STEEPEST_SLOPE_DATA 
RENDER_STEEPEST_SLOPE 
RENDER_SLOPE_START_END_POINT 
RENDER_SURFACE_TERRAIN_INTERSECTION_TEST 
RENDER_ALL_SURFACE_CONTACTS 
RENDER_FAILED_SURFACE_CONTACTS 
COLOR_CONTACTS_FROM_FOS 
RENDER_ALL_SURFACES 
RENDER_FAILED_SURFACES 
RENDER_CRITICAL_SURFACE 
RENDER_SURFACE_POINTS 
RENDER_CONTACT_PARTITIONING 
RENDER_AGGREGATE_MASS_VOXELS 
RENDER_AGGREGATE_BORDER_VOXELS 

Definition at line 540 of file CollapseSettings.h.

Constructor & Destructor Documentation

◆ CollapseRenderSettings()

agxTerrain::GroundCollapse::CollapseRenderSettings::CollapseRenderSettings ( )

◆ ~CollapseRenderSettings()

agxTerrain::GroundCollapse::CollapseRenderSettings::~CollapseRenderSettings ( )
protected

Member Function Documentation

◆ getEnableColorContactsFromFos()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableColorContactsFromFos ( ) const
inline
Returns
if contacts should be colored according to their factor of saftey. Default: false.

Definition at line 458 of file CollapseSettings.h.

◆ getEnableRenderAggregateBorderVoxels()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderAggregateBorderVoxels ( )
inline

Definition at line 538 of file CollapseSettings.h.

◆ getEnableRenderAggregateMassVoxels()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderAggregateMassVoxels ( )
inline

Definition at line 528 of file CollapseSettings.h.

◆ getEnableRenderAllSurfaceContacts()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderAllSurfaceContacts ( ) const
inline

Definition at line 438 of file CollapseSettings.h.

◆ getEnableRenderAllSurfaces()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderAllSurfaces ( ) const
inline

Definition at line 498 of file CollapseSettings.h.

◆ getEnableRenderContactPartitioning()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderContactPartitioning ( ) const
inline

Definition at line 518 of file CollapseSettings.h.

◆ getEnableRenderCriticalSurface()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderCriticalSurface ( ) const
inline

Definition at line 478 of file CollapseSettings.h.

◆ getEnableRenderFailedSurfaceContacts()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderFailedSurfaceContacts ( ) const
inline

Definition at line 443 of file CollapseSettings.h.

◆ getEnableRenderFailedSurfaces()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderFailedSurfaces ( ) const
inline

Definition at line 488 of file CollapseSettings.h.

◆ getEnableRenderSlopeDetection()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderSlopeDetection ( ) const
inline

Definition at line 408 of file CollapseSettings.h.

◆ getEnableRenderSteepestSlopeData()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderSteepestSlopeData ( ) const
inline

Definition at line 418 of file CollapseSettings.h.

◆ getEnableRenderSurfaceIntersectionTest()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderSurfaceIntersectionTest ( ) const
inline

Definition at line 428 of file CollapseSettings.h.

◆ getEnableRenderSurfacePoints()

bool agxTerrain::GroundCollapse::CollapseRenderSettings::getEnableRenderSurfacePoints ( ) const
inline

Definition at line 508 of file CollapseSettings.h.

◆ getRenderContactSize()

agx::Real agxTerrain::GroundCollapse::CollapseRenderSettings::getRenderContactSize ( ) const
inline

Definition at line 468 of file CollapseSettings.h.

◆ setEnableColorContactsFromFos()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableColorContactsFromFos ( bool  enable)
inline

Enable or disable if contacts should be colored according to their factor of saftey.

Default: false.

Definition at line 453 of file CollapseSettings.h.

◆ setEnableRenderAggregateBorderVoxels()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderAggregateBorderVoxels ( bool  enable)
inline

Definition at line 533 of file CollapseSettings.h.

◆ setEnableRenderAggregateMassVoxels()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderAggregateMassVoxels ( bool  enable)
inline

Definition at line 523 of file CollapseSettings.h.

◆ setEnableRenderAllSurfaceContacts()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderAllSurfaceContacts ( bool  enable)
inline

Definition at line 433 of file CollapseSettings.h.

◆ setEnableRenderAllSurfaces()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderAllSurfaces ( bool  enable)
inline

Definition at line 493 of file CollapseSettings.h.

◆ setEnableRenderContactPartitioning()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderContactPartitioning ( bool  enable)
inline

Definition at line 513 of file CollapseSettings.h.

◆ setEnableRenderCriticalSurface()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderCriticalSurface ( bool  enable)
inline

Definition at line 473 of file CollapseSettings.h.

◆ setEnableRenderFailedSurfaceContacts()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderFailedSurfaceContacts ( bool  enable)
inline

Definition at line 448 of file CollapseSettings.h.

◆ setEnableRenderFailedSurfaces()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderFailedSurfaces ( bool  enable)
inline

Definition at line 483 of file CollapseSettings.h.

◆ setEnableRenderSlopeDetection()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderSlopeDetection ( bool  enable)
inline

Definition at line 403 of file CollapseSettings.h.

◆ setEnableRenderSteepestSlopeData()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderSteepestSlopeData ( bool  enable)
inline

Definition at line 413 of file CollapseSettings.h.

◆ setEnableRenderSurfaceIntersectionTest()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderSurfaceIntersectionTest ( bool  enable)
inline

Definition at line 423 of file CollapseSettings.h.

◆ setEnableRenderSurfacePoints()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setEnableRenderSurfacePoints ( bool  enable)
inline

Definition at line 503 of file CollapseSettings.h.

◆ setRenderContactSize()

void agxTerrain::GroundCollapse::CollapseRenderSettings::setRenderContactSize ( agx::Real  size)
inline

Definition at line 463 of file CollapseSettings.h.

Member Data Documentation

◆ m_flags

Flags agxTerrain::GroundCollapse::CollapseRenderSettings::m_flags
protected

Definition at line 567 of file CollapseSettings.h.

◆ m_renderContactSize

agx::Real agxTerrain::GroundCollapse::CollapseRenderSettings::m_renderContactSize
protected

Definition at line 568 of file CollapseSettings.h.


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