|
AGX Dynamics
2.37.2.0
|
Class that is used to manipulate the clip plane in the scene. More...
#include <QtOSGUtils.h>
Inheritance diagram for agxQt::ClipPlaneController:Public Member Functions | |
| ClipPlaneController (agxOSG::ClipPlane *clipPlane) | |
| Constructor. More... | |
| void | decrementClipPlane () |
| Decrements the Near plane of the scene in the coupled agxViewer. More... | |
| agxOSG::ClipPlane * | getClipPlane () const |
| bool | getEnable () const |
| bool | getEnableRendering () const |
| agx::Real | getIncrement () const |
| agx::Vec3 | getPosition () const |
| agx::Quat | getRotation () const |
| void | incrementClipPlane () |
| Increments the Near plane of the scene in the coupled agxViewer. More... | |
| void | setEnable (bool enable) |
| void | setEnableRendering (bool enable) |
| void | setIncrement (agx::Real increment) |
| void | setPosition (agx::Vec3 position) |
| void | setRotation (const agx::Quat &quat) |
Public Member Functions inherited from agx::Referenced | |
| Referenced () | |
| Default constructor. More... | |
| Referenced (const Referenced &) | |
| template<typename T > | |
| T * | as () |
| Subclass casting. More... | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. More... | |
| template<typename T > | |
| const T * | asSafe () const |
| int | getReferenceCount () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| Referenced & | operator= (const Referenced &) |
| Assignment operator. Will increment the number of references to the referenced object. More... | |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
Public Attributes | |
| const agx::Vec3 | BASE_NORMAL = agx::Vec3(0, 1, 0) |
Protected Member Functions | |
| virtual | ~ClipPlaneController () |
| Destructor. More... | |
| void | updateClipPlaneFromIncrement (agx::Real increment) |
Protected Member Functions inherited from agx::Referenced | |
| virtual | ~Referenced () |
| Destructor. More... | |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| agxOSG::ClipPlane * | m_clipPlane |
| bool | m_enableRendering |
| agx::Real | m_increment |
| agx::Quat | m_rotation |
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 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. More... | |
Class that is used to manipulate the clip plane in the scene.
Definition at line 59 of file QtOSGUtils.h.
| agxQt::ClipPlaneController::ClipPlaneController | ( | agxOSG::ClipPlane * | clipPlane | ) |
Constructor.
|
protectedvirtual |
Destructor.
| void agxQt::ClipPlaneController::decrementClipPlane | ( | ) |
Decrements the Near plane of the scene in the coupled agxViewer.
| agxOSG::ClipPlane* agxQt::ClipPlaneController::getClipPlane | ( | ) | const |
| bool agxQt::ClipPlaneController::getEnable | ( | ) | const |
| bool agxQt::ClipPlaneController::getEnableRendering | ( | ) | const |
| agx::Real agxQt::ClipPlaneController::getIncrement | ( | ) | const |
| agx::Vec3 agxQt::ClipPlaneController::getPosition | ( | ) | const |
| agx::Quat agxQt::ClipPlaneController::getRotation | ( | ) | const |
| void agxQt::ClipPlaneController::incrementClipPlane | ( | ) |
Increments the Near plane of the scene in the coupled agxViewer.
| void agxQt::ClipPlaneController::setEnable | ( | bool | enable | ) |
| void agxQt::ClipPlaneController::setEnableRendering | ( | bool | enable | ) |
| void agxQt::ClipPlaneController::setIncrement | ( | agx::Real | increment | ) |
| void agxQt::ClipPlaneController::setPosition | ( | agx::Vec3 | position | ) |
| void agxQt::ClipPlaneController::setRotation | ( | const agx::Quat & | quat | ) |
|
protected |
Definition at line 62 of file QtOSGUtils.h.
|
protected |
Definition at line 106 of file QtOSGUtils.h.
|
protected |
Definition at line 109 of file QtOSGUtils.h.
|
protected |
Definition at line 108 of file QtOSGUtils.h.
|
protected |
Definition at line 107 of file QtOSGUtils.h.