#include <hps.h>
|
static const HPS::Type | staticType = HPS::Type::VisibilityKit |
|
static const HPS::Type | staticType = HPS::Type::Kit |
|
static const HPS::Type | staticType = HPS::Type::None |
|
The HPS::VisibilityKit class is a user space object, useful for carrying a group of attribute settings. Calling HPS::VisibilityKit::GetDefault() will return a kit with values found in this table.
◆ VisibilityKit() [1/3]
HPS::VisibilityKit::VisibilityKit |
( |
| ) |
|
Initializes an empty kit.
◆ VisibilityKit() [2/3]
HPS::VisibilityKit::VisibilityKit |
( |
VisibilityKit const & |
in_kit | ) |
|
The copy constructor creates a new VisibilityKit object that contains the same settings as the source object.
- Parameters
-
in_kit | The source object to copy. |
◆ VisibilityKit() [3/3]
The move constructor creates a VisibilityKit by transferring the underlying impl of the rvalue reference to this VisibilityKit thereby avoiding a copy and allocation.
- Parameters
-
in_that | An rvalue reference to a VisibilityKit to take the impl from. |
◆ ~VisibilityKit()
virtual HPS::VisibilityKit::~VisibilityKit |
( |
| ) |
|
|
virtual |
◆ Empty()
bool HPS::VisibilityKit::Empty |
( |
| ) |
const |
|
virtual |
Indicates whether this object has any values set on it.
- Returns
- true if no values are set on this object, false otherwise.
Reimplemented from HPS::Object.
◆ Equals()
bool HPS::VisibilityKit::Equals |
( |
VisibilityKit const & |
in_kit | ) |
const |
Check if the source VisibilityKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ GetDefault()
Creates a VisibilityKit which contains the default settings. The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default.
- Returns
- A VisibilityKit with the default settings.
◆ ObjectType()
HPS::Type HPS::VisibilityKit::ObjectType |
( |
| ) |
const |
|
inlinevirtual |
This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS::Kit.
◆ operator!=()
bool HPS::VisibilityKit::operator!= |
( |
VisibilityKit const & |
in_kit | ) |
const |
Check if the source VisibilityKit is not equivalent to this object.
- Parameters
-
- Returns
- true if the objects are not equivalent, false otherwise.
◆ operator=() [1/2]
The move assignment operator transfers the underlying impl of the rvalue reference to this VisibilityKit thereby avoiding a copy.
- Parameters
-
in_that | An rvalue reference to a VisibilityKit to take the impl from. |
- Returns
- A reference to this VisibilityKit.
◆ operator=() [2/2]
Copies the source VisibilityKit into this object.
- Parameters
-
- Returns
- A reference to this object.
◆ operator==()
bool HPS::VisibilityKit::operator== |
( |
VisibilityKit const & |
in_kit | ) |
const |
Check if the source VisibilityKit is equivalent to this object.
- Parameters
-
- Returns
- true if the objects are equivalent, false otherwise.
◆ Set()
Copies all settings from the source VisibilityKit into this object.
- Parameters
-
◆ SetAdjacentEdges()
VisibilityKit& HPS::VisibilityKit::SetAdjacentEdges |
( |
bool |
in_state | ) |
|
Sets the visibility of adjacent edges. Adjacent edges are defined as edges that are attached to at least one visible face. If you want to have no edges between faces that are explicitly invisible, turn off edges in the segment and turn on adjacent edges.
- Parameters
-
in_state | Whether adjacent edges are visible. |
- Returns
- A reference to this object.
◆ SetCutEdges()
Sets the visibility of edges cut by a cutting sections.
- Parameters
-
in_state | Whether cut edges are visible. |
- Returns
- A reference to this object.
◆ SetCutFaces()
Sets the visibility of capping planes for geometry cut by cutting sections.
- Parameters
-
in_state | Whether cut faces are visible. |
- Returns
- A reference to this object.
◆ SetCutGeometry()
VisibilityKit& HPS::VisibilityKit::SetCutGeometry |
( |
bool |
in_state | ) |
|
Sets the visibility of cut geometry, both cut faces and cut edges.
- Parameters
-
in_state | Whether all cut geometry are visible. |
- Returns
- A reference to this object.
◆ SetCuttingSections()
VisibilityKit& HPS::VisibilityKit::SetCuttingSections |
( |
bool |
in_state | ) |
|
Sets the visibility of cutting sections.
- Parameters
-
in_state | Whether cutting sections are visible. |
- Returns
- A reference to this object.
◆ SetEdgeLights()
VisibilityKit& HPS::VisibilityKit::SetEdgeLights |
( |
bool |
in_state | ) |
|
Sets the visibility of lighting on edges.
- Parameters
-
in_state | Whether edge lights are visible. |
- Returns
- A reference to this object.
◆ SetEdges()
Sets the visibility of all edges.
- Parameters
-
in_state | Whether all edges are visible. |
- Returns
- A reference to this object.
◆ SetEverything()
VisibilityKit& HPS::VisibilityKit::SetEverything |
( |
bool |
in_state | ) |
|
Sets the visibility of all geometry and subgeometry.
- Parameters
-
in_state | Whether everything is visible. |
- Returns
- A reference to this object.
◆ SetFaceLights()
VisibilityKit& HPS::VisibilityKit::SetFaceLights |
( |
bool |
in_state | ) |
|
Sets the visibility of lighting on faces.
- Parameters
-
in_state | Whether face lights are visible. |
- Returns
- A reference to this object.
◆ SetFaces()
Sets the visibility of all faces, including shells, meshes, cylinders, etc..
- Parameters
-
in_state | Whether faces are visible. |
- Returns
- A reference to this object.
◆ SetGenericEdges()
VisibilityKit& HPS::VisibilityKit::SetGenericEdges |
( |
bool |
in_state | ) |
|
Sets the visibility of generic edges.
- Parameters
-
in_state | Whether generic edges are visible. |
- Returns
- A reference to this object.
◆ SetGeometry()
Sets the visibility of all edges, faces, lines, markers, and text.
- Parameters
-
in_state | Whether all geometry is visible. |
- Returns
- A reference to this object.
◆ SetHardEdges()
Sets the visibility of hard edges.
- Parameters
-
in_state | Whether hard edges are visible. |
- Returns
- A reference to this object.
◆ SetInteriorSilhouetteEdges()
VisibilityKit& HPS::VisibilityKit::SetInteriorSilhouetteEdges |
( |
bool |
in_state | ) |
|
Sets the visibility of interior silhouette edges.
- Parameters
-
in_state | Whether interior silhouette edges are visible. |
- Returns
- A reference to this object.
◆ SetLeaderLines()
VisibilityKit& HPS::VisibilityKit::SetLeaderLines |
( |
bool |
in_state | ) |
|
Sets the visibility of text leader lines.
- Parameters
-
in_state | Whether text leader lines are visible |
- Returns
- A reference to this object.
◆ SetLights()
Sets the visibility of all lights, including face, edge, and marker lights.
- Parameters
-
in_state | Whether all lights are visible. |
- Returns
- A reference to this object.
◆ SetLines()
Sets the visibility of lines.
- Parameters
-
in_state | Whether lines are visible. |
- Returns
- A reference to this object.
◆ SetMarkerLights()
VisibilityKit& HPS::VisibilityKit::SetMarkerLights |
( |
bool |
in_state | ) |
|
Sets the visibility of lighting on markers.
- Parameters
-
in_state | Whether marker lights are visible. |
- Returns
- A reference to this object.
◆ SetMarkers()
Sets the visibility of markers.
- Parameters
-
in_state | Whether markers are visible. |
- Returns
- A reference to this object.
◆ SetMeshQuadEdges()
VisibilityKit& HPS::VisibilityKit::SetMeshQuadEdges |
( |
bool |
in_state | ) |
|
Sets the visibility of edges of mesh quads.
- Parameters
-
in_state | Whether mesh quad edges are visible. |
- Returns
- A reference to this object.
◆ SetNonCulledEdges()
VisibilityKit& HPS::VisibilityKit::SetNonCulledEdges |
( |
bool |
in_state | ) |
|
Sets the visibility of non-culled edges.
- Parameters
-
in_state | Whether non-culled edges are visible. |
- Returns
- A reference to this object.
◆ SetPerimeterEdges()
VisibilityKit& HPS::VisibilityKit::SetPerimeterEdges |
( |
bool |
in_state | ) |
|
Sets the visibility of perimeter edges.
- Parameters
-
in_state | Whether perimeter edges are visible. |
- Returns
- A reference to this object.
◆ SetShadowCasting()
VisibilityKit& HPS::VisibilityKit::SetShadowCasting |
( |
bool |
in_state | ) |
|
Sets the visibility of shadow casting.
- Parameters
-
in_state | Whether casting shadows are visible. |
- Returns
- A reference to this object.
◆ SetShadowEmitting()
VisibilityKit& HPS::VisibilityKit::SetShadowEmitting |
( |
bool |
in_state | ) |
|
Sets the visibility of shadow emitting.
- Parameters
-
in_state | Whether emitting shadows are visible. |
- Returns
- A reference to this object.
◆ SetShadowReceiving()
VisibilityKit& HPS::VisibilityKit::SetShadowReceiving |
( |
bool |
in_state | ) |
|
Sets the visibility of shadow receiving.
- Parameters
-
in_state | Whether receiving shadows are visible. |
- Returns
- A reference to this object.
◆ SetShadows()
Sets the visibility of shadow casting, emitting, and receiving.
- Parameters
-
in_state | Whether all shadows are visible. |
- Returns
- A reference to this object.
◆ SetText()
Sets the visibility of text.
- Parameters
-
in_state | Whether text is visible. |
- Returns
- A reference to this object.
◆ SetVertices()
Sets the visibility of vertices.
- Parameters
-
in_state | Whether vertices are visible. |
- Returns
- A reference to this object.
◆ SetWindows()
Sets the visibility of windows.
- Parameters
-
in_state | Whether windows are visible. |
- Returns
- A reference to this object.
◆ Show()
◆ ShowAdjacentEdges()
bool HPS::VisibilityKit::ShowAdjacentEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for adjacent edges.
- Parameters
-
out_state | Whether adjacent edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowCutEdges()
bool HPS::VisibilityKit::ShowCutEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for cut edges.
- Parameters
-
out_state | Whether cut edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowCutFaces()
bool HPS::VisibilityKit::ShowCutFaces |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for cut faces.
- Parameters
-
out_state | Whether cut faces are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowCuttingSections()
bool HPS::VisibilityKit::ShowCuttingSections |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for cutting sections.
- Parameters
-
out_state | Whether cutting sections are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowEdgeLights()
bool HPS::VisibilityKit::ShowEdgeLights |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for lighting of edges.
- Parameters
-
out_state | Whether edge lights are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowFaceLights()
bool HPS::VisibilityKit::ShowFaceLights |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for lighting of faces.
- Parameters
-
out_state | Whether face lights are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowFaces()
bool HPS::VisibilityKit::ShowFaces |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for faces.
- Parameters
-
out_state | Whether faces are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowGenericEdges()
bool HPS::VisibilityKit::ShowGenericEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for generic edges.
- Parameters
-
out_state | Whether generic edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowHardEdges()
bool HPS::VisibilityKit::ShowHardEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for hard edges.
- Parameters
-
out_state | Whether hard edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowInteriorSilhouetteEdges()
bool HPS::VisibilityKit::ShowInteriorSilhouetteEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for silhouette edges.
- Parameters
-
out_state | Whether interior silhouette edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowLeaderLines()
bool HPS::VisibilityKit::ShowLeaderLines |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for text leader lines.
- Parameters
-
out_state | Whether text leader lines are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowLines()
bool HPS::VisibilityKit::ShowLines |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for lines.
- Parameters
-
out_state | Whether lines are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowMarkerLights()
bool HPS::VisibilityKit::ShowMarkerLights |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for lighting of markers.
- Parameters
-
out_state | Whether marker lights are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowMarkers()
bool HPS::VisibilityKit::ShowMarkers |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for markers.
- Parameters
-
out_state | Whether markers are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowMeshQuadEdges()
bool HPS::VisibilityKit::ShowMeshQuadEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for edges of mesh quads.
- Parameters
-
out_state | Whether mesh quad edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowNonCulledEdges()
bool HPS::VisibilityKit::ShowNonCulledEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for non-culled edges.
- Parameters
-
out_state | Whether non-culled edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowPerimeterEdges()
bool HPS::VisibilityKit::ShowPerimeterEdges |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for perimeter edges.
- Parameters
-
out_state | Whether perimeter edges are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowShadowCasting()
bool HPS::VisibilityKit::ShowShadowCasting |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for shadow casting.
- Parameters
-
out_state | Whether casting shadows are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowShadowEmitting()
bool HPS::VisibilityKit::ShowShadowEmitting |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for shadow emitting.
- Parameters
-
out_state | Whether emitting shadows are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowShadowReceiving()
bool HPS::VisibilityKit::ShowShadowReceiving |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for shadow receiving.
- Parameters
-
out_state | Whether receiving shadows are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowText()
bool HPS::VisibilityKit::ShowText |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for text.
- Parameters
-
out_state | Whether text is visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowVertices()
bool HPS::VisibilityKit::ShowVertices |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for vertices.
- Parameters
-
out_state | Whether vertices are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ ShowWindows()
bool HPS::VisibilityKit::ShowWindows |
( |
bool & |
out_state | ) |
const |
Shows the visibility setting for windows.
- Parameters
-
out_state | Whether windows are visible. |
- Returns
- true if the setting is valid, false otherwise.
◆ UnsetAdjacentEdges()
Removes the visibility setting for adjacent edges.
- Returns
- A reference to this object.
◆ UnsetCutEdges()
Removes the visibility setting for cut edges.
- Returns
- A reference to this object.
◆ UnsetCutFaces()
Removes the visibility setting for cut faces.
- Returns
- A reference to this object.
◆ UnsetCutGeometry()
Removes the visibility settings for both cut faces and cut edges.
- Returns
- A reference to this object.
◆ UnsetCuttingSections()
Removes the visibility setting for cutting sections.
- Returns
- A reference to this object.
◆ UnsetEdgeLights()
Removes the visibility setting for lighting of edges.
- Returns
- A reference to this object.
◆ UnsetEdges()
Removes the visibility settings for all edges.
- Returns
- A reference to this object.
◆ UnsetEverything()
Removes all visibility settings.
- Returns
- A reference to this object.
◆ UnsetFaceLights()
Removes the visibility setting for lighting of faces.
- Returns
- A reference to this object.
◆ UnsetFaces()
Removes the visibility setting for faces.
- Returns
- A reference to this object.
◆ UnsetGenericEdges()
Removes the visibility setting for generic edges.
- Returns
- A reference to this object.
◆ UnsetGeometry()
Removes the visibility settings for all edges, faces, lines, markers, and text.
- Returns
- A reference to this object.
◆ UnsetHardEdges()
Removes the visibility setting for hard edges.
- Returns
- A reference to this object.
◆ UnsetInteriorSilhouetteEdges()
VisibilityKit& HPS::VisibilityKit::UnsetInteriorSilhouetteEdges |
( |
| ) |
|
Removes the visibility setting for interior silhouette edges.
- Returns
- A reference to this object.
◆ UnsetLeaderLines()
Removes the visibility settings for text leader lines.
- Returns
- A reference to this object.
◆ UnsetLights()
Removes the visibility settings for all lights, including face, edge, and marker lights.
- Returns
- A reference to this object.
◆ UnsetLines()
Removes the visibility setting for lines.
- Returns
- A reference to this object.
◆ UnsetMarkerLights()
Removes the visibility setting for lighting or markers.
- Returns
- A reference to this object.
◆ UnsetMarkers()
Removes the visibility setting for markers.
- Returns
- A reference to this object.
◆ UnsetMeshQuadEdges()
Removes the visibility setting for edges of mesh quads.
- Returns
- A reference to this object.
◆ UnsetNonCulledEdges()
Removes the visibility setting for non-culled edges.
- Returns
- A reference to this object.
◆ UnsetPerimeterEdges()
Removes the visibility setting for perimeter edges.
- Returns
- A reference to this object.
◆ UnsetShadowCasting()
Removes the visibility setting for shadow casting.
- Returns
- A reference to this object.
◆ UnsetShadowEmitting()
Removes the visibility setting for shadow emitting.
- Returns
- A reference to this object.
◆ UnsetShadowReceiving()
Removes the visibility setting for shadow receiving.
- Returns
- A reference to this object.
◆ UnsetShadows()
Removes the visibility settings for shadow casting, emitting, and receiving.
- Returns
- A reference to this object.
◆ UnsetText()
Removes the visibility setting for text.
- Returns
- A reference to this object.
◆ UnsetVertices()
Removes the visibility setting for vertices.
- Returns
- A reference to this object.
◆ UnsetWindows()
Removes the visibility setting for windows.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file: