#include <hps.h>
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
![]() | |
Control (Control &&in_that) | |
Control & | operator= (Control &&in_that) |
The HPS::TransformMaskControl class is a smart pointer that is tied to a database object. This class allows you to manipulate the settings associated with a transform mask. A transform mask allows a segment to ignore its inherited transform. For example, if you want to be able to rotate a scene at a high level, but have a piece of geometry ignore rotations, you could achieve that effect using a transform mask. This table lists default values for the various segment attributes accessible from HPS::TransformMaskControl.
|
explicit |
Initializes a control tied to the segment in_seg.
HPS::TransformMaskControl::TransformMaskControl | ( | TransformMaskControl const & | in_that | ) |
Initializes a control tied to the same object as in_that.
HPS::TransformMaskControl::TransformMaskControl | ( | TransformMaskControl && | in_that | ) |
The move constructor creates a TransformMaskControl by transferring the underlying impl of the rvalue reference to this TransformMaskControl thereby avoiding a copy and allocation.
in_that | An rvalue reference to a TransformMaskControl to take the impl from. |
HPS::TransformMaskControl::~TransformMaskControl | ( | ) |
Releases a reference to the database object this control is tied to.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS::Control.
TransformMaskControl& HPS::TransformMaskControl::operator= | ( | TransformMaskControl && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this TransformMaskControl thereby avoiding a copy.
in_that | An rvalue reference to a TransformMaskControl to take the impl from. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraEverything | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraNearLimit | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera near limit.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraOffset | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera offsets.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraPerspectiveScale | ( | bool | in_state | ) |
Applies a mask which removes transforms related to the camera perspective scale.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraProjection | ( | bool | in_state | ) |
Applies a mask which removes transforms related to the camera perspective projection.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraRotation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera rotations.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraScale | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera scales.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetCameraTranslation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera translations.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetEverything | ( | bool | in_state | ) |
Applies a mask which removes all transforms related to both modelling matrix and camera.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetModellingMatrixEverything | ( | bool | in_state | ) |
Applies a mask which removes transforms related to modelling matrix.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetModellingMatrixOffset | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix offset.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetModellingMatrixRotation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix rotations.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetModellingMatrixScale | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix scales.
in_state | Whether the mask should be applied. |
TransformMaskControl& HPS::TransformMaskControl::SetModellingMatrixTranslation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix translation.
in_state | Whether the mask should be applied. |
bool HPS::TransformMaskControl::ShowCameraNearLimit | ( | bool & | out_state | ) | const |
Shows the camera near limit mask setting
out_state | Whether the camera near limit transform mask is applied |
bool HPS::TransformMaskControl::ShowCameraOffset | ( | bool & | out_state | ) | const |
Shows the camera offset mask setting
out_state | Whether the camera offset transform mask is applied |
bool HPS::TransformMaskControl::ShowCameraPerspectiveScale | ( | bool & | out_state | ) | const |
Shows the camera perspective scale mask setting
out_state | Whether the camera perspective scale transform mask is applied |
bool HPS::TransformMaskControl::ShowCameraProjection | ( | bool & | out_state | ) | const |
Shows the camera perspective projection mask setting
out_state | Whether the camera perspective projection transform mask is applied |
bool HPS::TransformMaskControl::ShowCameraRotation | ( | bool & | out_state | ) | const |
Shows the camera rotation mask setting
out_state | Whether the camera rotation transform mask is applied |
bool HPS::TransformMaskControl::ShowCameraScale | ( | bool & | out_state | ) | const |
Shows the camera scale mask setting
out_state | Whether the camera scale transform mask is applied |
bool HPS::TransformMaskControl::ShowCameraTranslation | ( | bool & | out_state | ) | const |
Shows the camera translation mask setting
out_state | Whether the camera translation transform mask is applied |
bool HPS::TransformMaskControl::ShowModellingMatrixOffset | ( | bool & | out_state | ) | const |
Shows the modelling matrix offset mask setting
out_state | Whether the modelling matrix offset transform mask is applied |
bool HPS::TransformMaskControl::ShowModellingMatrixRotation | ( | bool & | out_state | ) | const |
Shows the modelling matrix rotation mask setting
out_state | Whether the modelling matrix rotation transform mask is applied |
bool HPS::TransformMaskControl::ShowModellingMatrixScale | ( | bool & | out_state | ) | const |
Shows the modelling matrix scale mask setting
out_state | Whether the modelling matrix scale transform mask is applied |
bool HPS::TransformMaskControl::ShowModellingMatrixTranslation | ( | bool & | out_state | ) | const |
Shows the modelling matrix translation mask setting
out_state | Whether the modelling matrix translation transform mask is applied |
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraEverything | ( | ) |
Removes the mask which removes transforms related to camera.
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraNearLimit | ( | ) |
Removes the mask which removes transforms related to camera near limit.
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraOffset | ( | ) |
Removes the mask which removes transforms related to camera offset.
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraPerspectiveScale | ( | ) |
Removes the mask which removes transforms related to the camera perspective scale.
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraProjection | ( | ) |
Removes the mask which removes transforms related to the camera perspective projection.
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraRotation | ( | ) |
Removes the mask which removes transforms related to camera rotation.
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraScale | ( | ) |
Removes the mask which removes transforms related to camera scale.
TransformMaskControl& HPS::TransformMaskControl::UnsetCameraTranslation | ( | ) |
Removes the mask which removes transforms related to camera translation.
TransformMaskControl& HPS::TransformMaskControl::UnsetEverything | ( | ) |
Removes the mask which removes transforms related to camera and modelling matrix.
TransformMaskControl& HPS::TransformMaskControl::UnsetModellingMatrixEverything | ( | ) |
Removes the mask which removes transforms related to modelling matrix everything.
TransformMaskControl& HPS::TransformMaskControl::UnsetModellingMatrixOffset | ( | ) |
Removes the mask which removes transforms related to modelling matrix offset.
TransformMaskControl& HPS::TransformMaskControl::UnsetModellingMatrixRotation | ( | ) |
Removes the mask which removes transforms related to modelling matrix rotation.
TransformMaskControl& HPS::TransformMaskControl::UnsetModellingMatrixScale | ( | ) |
Removes the mask which removes transforms related to modelling matrix scale.
TransformMaskControl& HPS::TransformMaskControl::UnsetModellingMatrixTranslation | ( | ) |
Removes the mask which removes transforms related to modelling matrix translation.