The HPS::TransformMaskKit class is a user space object, useful for carrying a group attribute settings. More...
#include <hps.h>
Public Member Functions | |
TransformMaskKit () | |
Initializes an empty kit. More... | |
TransformMaskKit (TransformMaskKit const &in_kit) | |
Copies the kit in_kit into this kit. More... | |
TransformMaskKit (TransformMaskKit &&in_that) | |
The move constructor creates a TransformMaskKit by transferring the underlying impl of the rvalue reference to this TransformMaskKit thereby avoiding a copy and allocation. More... | |
TransformMaskKit & | operator= (TransformMaskKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this TransformMaskKit thereby avoiding a copy. More... | |
virtual | ~TransformMaskKit () |
Destroy this kit. More... | |
HPS::Type | ObjectType () const |
void | Set (TransformMaskKit const &in_kit) |
Copies the kit in_kit into this kit. More... | |
void | Show (TransformMaskKit &out_kit) const |
Copies this kit into out_kit. More... | |
TransformMaskKit & | operator= (TransformMaskKit const &in_kit) |
Copies the kit in_kit into this kit. More... | |
bool | Empty () const |
Returns whether this kit has any values currently set on it. More... | |
bool | Equals (TransformMaskKit const &in_kit) const |
Compares the contents of in_kit and this kit. More... | |
bool | operator== (TransformMaskKit const &in_kit) const |
Compares the contents of in_kit and this kit. More... | |
bool | operator!= (TransformMaskKit const &in_kit) const |
Compares the contents of in_kit and this kit. More... | |
TransformMaskKit & | SetCameraRotation (bool in_state) |
Applies a mask which removes transforms related to camera rotations. More... | |
TransformMaskKit & | SetCameraScale (bool in_state) |
Applies a mask which removes transforms related to camera scales. More... | |
TransformMaskKit & | SetCameraTranslation (bool in_state) |
Applies a mask which removes transforms related to camera translations. More... | |
TransformMaskKit & | SetCameraPerspectiveScale (bool in_state) |
Applies a mask which removes the perspective scale from perspective cameras. More... | |
TransformMaskKit & | SetCameraProjection (bool in_state) |
Applies a mask which removes the perspective projection and replaces it with an orthographic projection from perspective cameras. More... | |
TransformMaskKit & | SetCameraOffset (bool in_state) |
Applies a mask which removes transforms related to camera offsets. More... | |
TransformMaskKit & | SetCameraNearLimit (bool in_state) |
Applies a mask which removes transforms related to camera near limit. More... | |
TransformMaskKit & | SetModellingMatrixRotation (bool in_state) |
Applies a mask which removes transforms related to all modelling matrix rotations. More... | |
TransformMaskKit & | SetModellingMatrixScale (bool in_state) |
Applies a mask which removes transforms related to all modelling matrix scales. More... | |
TransformMaskKit & | SetModellingMatrixTranslation (bool in_state) |
Applies a mask which removes transforms related to all modelling matrix translation. More... | |
TransformMaskKit & | SetModellingMatrixOffset (bool in_state) |
Applies a mask which removes transforms related to all modelling matrix offset. More... | |
TransformMaskKit & | SetCameraEverything (bool in_state) |
Applies a mask which removes transforms related to camera. More... | |
TransformMaskKit & | SetModellingMatrixEverything (bool in_state) |
Applies a mask which removes transforms related to modelling matrix. More... | |
TransformMaskKit & | SetEverything (bool in_state) |
Applies a mask which removes all transforms related to both modelling matrix and camera. More... | |
TransformMaskKit & | UnsetCameraRotation () |
Removes the mask which removes transforms related to camera rotation. More... | |
TransformMaskKit & | UnsetCameraScale () |
Removes the mask which removes transforms related to camera scale. More... | |
TransformMaskKit & | UnsetCameraTranslation () |
Removes the mask which removes transforms related to camera translation. More... | |
TransformMaskKit & | UnsetCameraPerspectiveScale () |
Removes the mask which removes the perspective scale from perspective cameras. More... | |
TransformMaskKit & | UnsetCameraProjection () |
Removes the mask which removes the perspective projection from perspective cameras. More... | |
TransformMaskKit & | UnsetCameraOffset () |
Removes the mask which removes transforms related to camera offset. More... | |
TransformMaskKit & | UnsetCameraNearLimit () |
Removes the mask which removes transforms related to camera near limit. More... | |
TransformMaskKit & | UnsetCameraEverything () |
Removes the mask which removes transforms related to camera. More... | |
TransformMaskKit & | UnsetModellingMatrixRotation () |
Removes the mask which removes transforms related to modelling matrix rotation. More... | |
TransformMaskKit & | UnsetModellingMatrixScale () |
Removes the mask which removes transforms related to modelling matrix scale. More... | |
TransformMaskKit & | UnsetModellingMatrixTranslation () |
Removes the mask which removes transforms related to modelling matrix translation. More... | |
TransformMaskKit & | UnsetModellingMatrixOffset () |
Removes the mask which removes transforms related to modelling matrix offset. More... | |
TransformMaskKit & | UnsetModellingMatrixEverything () |
Removes the mask which removes transforms related to modelling matrix everything. More... | |
TransformMaskKit & | UnsetEverything () |
Removes the mask which removes transforms related to camera and modelling matrix. More... | |
bool | ShowCameraRotation (bool &out_state) const |
Shows the camera rotation mask setting. More... | |
bool | ShowCameraScale (bool &out_state) const |
Shows the camera scale mask setting. More... | |
bool | ShowCameraTranslation (bool &out_state) const |
Shows the camera translation mask setting. More... | |
bool | ShowCameraPerspectiveScale (bool &out_state) const |
Shows the camera perspective scale mask setting. More... | |
bool | ShowCameraProjection (bool &out_state) const |
Shows the camera perspective projection mask setting. More... | |
bool | ShowCameraOffset (bool &out_state) const |
Shows the camera offset mask setting. More... | |
bool | ShowCameraNearLimit (bool &out_state) const |
Shows the camera near limit mask setting. More... | |
bool | ShowModellingMatrixRotation (bool &out_state) const |
Shows the modelling matrix rotation mask setting. More... | |
bool | ShowModellingMatrixScale (bool &out_state) const |
Shows the modelling matrix scale mask setting. More... | |
bool | ShowModellingMatrixTranslation (bool &out_state) const |
Shows the modelling matrix translation mask setting. More... | |
bool | ShowModellingMatrixOffset (bool &out_state) const |
Shows the modelling matrix offset mask setting. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
static TransformMaskKit | GetDefault () |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::TransformMaskKit |
The HPS::TransformMaskKit class is a user space object, useful for carrying a group attribute settings.
Calling HPS::TransformMaskKit::GetDefault() will return a kit with values found in this table.
HPS::TransformMaskKit::TransformMaskKit | ( | ) |
Initializes an empty kit.
HPS::TransformMaskKit::TransformMaskKit | ( | TransformMaskKit const & | in_kit | ) |
Copies the kit in_kit into this kit.
HPS::TransformMaskKit::TransformMaskKit | ( | TransformMaskKit && | in_that | ) |
The move constructor creates a TransformMaskKit by transferring the underlying impl of the rvalue reference to this TransformMaskKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to a TransformMaskKit to take the impl from. |
|
virtual |
Destroy this kit.
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
|
virtual |
Returns whether this kit has any values currently set on it.
Reimplemented from HPS::Object.
bool HPS::TransformMaskKit::Equals | ( | TransformMaskKit const & | in_kit | ) | const |
Compares the contents of in_kit and this kit.
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
|
inherited |
Returns an identifier that can be used to identify which instance of a class an object is.
Different keys and controls will return the same value if they are backed by the same database resource.
|
inherited |
|
inlinevirtual |
bool HPS::TransformMaskKit::operator!= | ( | TransformMaskKit const & | in_kit | ) | const |
Compares the contents of in_kit and this kit.
TransformMaskKit& HPS::TransformMaskKit::operator= | ( | TransformMaskKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this TransformMaskKit thereby avoiding a copy.
in_that | An rvalue reference to an TransformMaskKit to take the impl from. |
TransformMaskKit& HPS::TransformMaskKit::operator= | ( | TransformMaskKit const & | in_kit | ) |
Copies the kit in_kit into this kit.
bool HPS::TransformMaskKit::operator== | ( | TransformMaskKit const & | in_kit | ) | const |
Compares the contents of in_kit and this kit.
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::TransformMaskKit::Set | ( | TransformMaskKit const & | in_kit | ) |
Copies the kit in_kit into this kit.
TransformMaskKit& HPS::TransformMaskKit::SetCameraEverything | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetCameraNearLimit | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera near limit.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetCameraOffset | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera offsets.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetCameraPerspectiveScale | ( | bool | in_state | ) |
Applies a mask which removes the perspective scale from perspective cameras.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetCameraProjection | ( | bool | in_state | ) |
Applies a mask which removes the perspective projection and replaces it with an orthographic projection from perspective cameras.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetCameraRotation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera rotations.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetCameraScale | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera scales.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetCameraTranslation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to camera translations.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::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. |
TransformMaskKit& HPS::TransformMaskKit::SetModellingMatrixEverything | ( | bool | in_state | ) |
Applies a mask which removes transforms related to modelling matrix.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetModellingMatrixOffset | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix offset.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetModellingMatrixRotation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix rotations.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetModellingMatrixScale | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix scales.
in_state | Whether the mask should be applied. |
TransformMaskKit& HPS::TransformMaskKit::SetModellingMatrixTranslation | ( | bool | in_state | ) |
Applies a mask which removes transforms related to all modelling matrix translation.
in_state | Whether the mask should be applied. |
void HPS::TransformMaskKit::Show | ( | TransformMaskKit & | out_kit | ) | const |
Copies this kit into out_kit.
bool HPS::TransformMaskKit::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::TransformMaskKit::ShowCameraOffset | ( | bool & | out_state | ) | const |
Shows the camera offset mask setting.
out_state | Whether the camera offset transform mask is applied |
bool HPS::TransformMaskKit::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::TransformMaskKit::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::TransformMaskKit::ShowCameraRotation | ( | bool & | out_state | ) | const |
Shows the camera rotation mask setting.
out_state | Whether the camera rotation transform mask is applied |
bool HPS::TransformMaskKit::ShowCameraScale | ( | bool & | out_state | ) | const |
Shows the camera scale mask setting.
out_state | Whether the camera scale transform mask is applied |
bool HPS::TransformMaskKit::ShowCameraTranslation | ( | bool & | out_state | ) | const |
Shows the camera translation mask setting.
out_state | Whether the camera translation transform mask is applied |
bool HPS::TransformMaskKit::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::TransformMaskKit::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::TransformMaskKit::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::TransformMaskKit::ShowModellingMatrixTranslation | ( | bool & | out_state | ) | const |
Shows the modelling matrix translation mask setting.
out_state | Whether the modelling matrix translation transform mask is applied |
|
inlinevirtualinherited |
This function returns the true type of the underlying object.
This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
Reimplemented from HPS::Object.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraEverything | ( | ) |
Removes the mask which removes transforms related to camera.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraNearLimit | ( | ) |
Removes the mask which removes transforms related to camera near limit.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraOffset | ( | ) |
Removes the mask which removes transforms related to camera offset.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraPerspectiveScale | ( | ) |
Removes the mask which removes the perspective scale from perspective cameras.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraProjection | ( | ) |
Removes the mask which removes the perspective projection from perspective cameras.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraRotation | ( | ) |
Removes the mask which removes transforms related to camera rotation.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraScale | ( | ) |
Removes the mask which removes transforms related to camera scale.
TransformMaskKit& HPS::TransformMaskKit::UnsetCameraTranslation | ( | ) |
Removes the mask which removes transforms related to camera translation.
TransformMaskKit& HPS::TransformMaskKit::UnsetEverything | ( | ) |
Removes the mask which removes transforms related to camera and modelling matrix.
TransformMaskKit& HPS::TransformMaskKit::UnsetModellingMatrixEverything | ( | ) |
Removes the mask which removes transforms related to modelling matrix everything.
TransformMaskKit& HPS::TransformMaskKit::UnsetModellingMatrixOffset | ( | ) |
Removes the mask which removes transforms related to modelling matrix offset.
TransformMaskKit& HPS::TransformMaskKit::UnsetModellingMatrixRotation | ( | ) |
Removes the mask which removes transforms related to modelling matrix rotation.
TransformMaskKit& HPS::TransformMaskKit::UnsetModellingMatrixScale | ( | ) |
Removes the mask which removes transforms related to modelling matrix scale.
TransformMaskKit& HPS::TransformMaskKit::UnsetModellingMatrixTranslation | ( | ) |
Removes the mask which removes transforms related to modelling matrix translation.
|
static |