Public Member Functions | List of all members
HPS::WindowKey Class Reference

#include <hps.h>

Inheritance diagram for HPS::WindowKey:
HPS::SegmentKey HPS::Key HPS::Object HPS::ApplicationWindowKey HPS::OffScreenWindowKey HPS::StandAloneWindowKey

Public Member Functions

 WindowKey ()
 
 WindowKey (WindowKey const &in_window)
 
WindowKeyoperator= (WindowKey const &other)
 
 WindowKey (WindowKey &&in_that)
 
WindowKeyoperator= (WindowKey &&in_that)
 
 WindowKey (Key const &in_key)
 
 ~WindowKey ()
 
HPS::Type ObjectType () const
 
bool ConvertCoordinate (Coordinate::Space in_space, Point const &in_point, Coordinate::Space in_output_space, Point &out_point) const
 
r size_t FindFonts (FontSearchResults &out_results) const
 
WindowKeySetPostProcessEffects (PostProcessEffectsKit const &in_kit)
 
bool ShowPostProcessEffects (PostProcessEffectsKit &out_kit) const
 
PostProcessEffectsControl GetPostProcessEffectsControl ()
 
PostProcessEffectsControl const GetPostProcessEffectsControl () const
 
WindowKeySetDebugging (DebuggingKit const &in_kit)
 
bool ShowDebugging (DebuggingKit &out_kit) const
 
DebuggingControl GetDebuggingControl ()
 
DebuggingControl const GetDebuggingControl () const
 
WindowInfoControl const GetWindowInfoControl () const
 
bool ShowWindowInfo (WindowInfoKit &out_kit) const
 
WindowKeySetSelectionOptions (SelectionOptionsKit const &in_kit)
 
bool ShowSelectionOptions (SelectionOptionsKit &out_kit) const
 
WindowKeySetUpdateOptions (HPS::UpdateOptionsKit const &in_kit)
 
bool ShowUpdateOptions (HPS::UpdateOptionsKit &out_kit) const
 
SelectionOptionsControl GetSelectionOptionsControl ()
 
SelectionOptionsControl const GetSelectionOptionsControl () const
 
SelectionControl GetSelectionControl ()
 
SelectionControl const GetSelectionControl () const
 
HighlightControl GetHighlightControl ()
 
HighlightControl const GetHighlightControl () const
 
UpdateOptionsControl GetUpdateOptionsControl ()
 
UpdateOptionsControl const GetUpdateOptionsControl () const
 
void Update ()
 
void Update (UpdateOptionsKit const &in_kit)
 
void Update (Window::UpdateControl in_control, Time in_time_limit=-1)
 
UpdateNotifier UpdateWithNotifier ()
 
UpdateNotifier UpdateWithNotifier (HPS::UpdateOptionsKit const &in_kit)
 
UpdateNotifier UpdateWithNotifier (Window::UpdateControl in_control, Time in_time_limit=-1)
 
EventDispatcherGetEventDispatcher ()
 
EventDispatcher const & GetEventDispatcher () const
 
bool ShowSnapshot (ImageKit &out_kit) const
 
- Public Member Functions inherited from HPS::SegmentKey
 SegmentKey ()
 
 SegmentKey (SegmentKey const &in_that)
 
SegmentKeyoperator= (SegmentKey const &other)
 
 SegmentKey (SegmentKey &&in_that)
 
SegmentKeyoperator= (SegmentKey &&in_that)
 
 SegmentKey (Key const &in_that)
 
 ~SegmentKey ()
 
UTF8 Name () const
 
SegmentKeySetName (char const *in_name)
 
SegmentKey Down (char const *in_segment_name, bool in_create_if_not_present=false) const
 
SegmentKey Subsegment (char const *in_segment_name="", bool in_create_if_not_present=true) const
 
void Flush (Search::Type in_type_to_remove=Search::Type::Everything, Search::Space in_search_space=Search::Space::SegmentOnly)
 
void Flush (SearchTypeArray const &in_types_to_remove, Search::Space in_search_space=Search::Space::SegmentOnly)
 
void Flush (size_t in_types_count, Search::Type const in_types_to_remove[], Search::Space in_search_space=Search::Space::SegmentOnly)
 
size_t Find (Search::Type in_request, Search::Space in_search_space, SearchResults &out_results) const
 
size_t Find (SearchTypeArray const &in_requests, Search::Space in_search_space, SearchResults &out_results) const
 
size_t Find (size_t in_types_count, Search::Type const in_requests[], Search::Space in_search_space, SearchResults &out_results) const
 
size_t Find (SearchOptionsKit const &in_options, SearchResults &out_results) const
 
size_t Find (SearchOptionsKit const &in_options) const
 
IncludeKey IncludeSegment (SegmentKey const &in_seg)
 
IncludeKey IncludeSegment (SegmentKey const &in_seg, Condition const &in_condition)
 
ReferenceKey ReferenceGeometry (Key const &in_key)
 
ReferenceKey ReferenceGeometry (Key const &in_key, Condition const &in_condition)
 
size_t ShowSubsegments () const
 
size_t ShowSubsegments (SegmentKeyArray &out_children) const
 
size_t ShowReferrers (SegmentKeyArray &out_segments) const
 
size_t ShowReferrers (ReferenceKeyArray &out_references) const
 
size_t ShowStylers (SegmentKeyArray &out_segments) const
 
size_t ShowStylers (StyleKeyArray &out_styles) const
 
size_t ShowIncluders (SegmentKeyArray &out_segments) const
 
size_t ShowIncluders (IncludeKeyArray &out_includes) const
 
StyleControl GetStyleControl ()
 
StyleControl const GetStyleControl () const
 
PortfolioControl GetPortfolioControl ()
 
PortfolioControl const GetPortfolioControl () const
 
SegmentKeySetCondition (char const *in_condition)
 
SegmentKeySetConditions (UTF8Array const &in_conditions)
 
SegmentKeySetConditions (size_t in_count, UTF8 const in_conditions[])
 
SegmentKeyUnsetConditions ()
 
bool ShowConditions (UTF8Array &out_conditions) const
 
ConditionControl GetConditionControl ()
 
ConditionControl const GetConditionControl () const
 
SegmentKeySetMaterialPalette (char const *in_name)
 
SegmentKeyUnsetMaterialPalette ()
 
bool ShowMaterialPalette (UTF8 &out_name) const
 
SegmentKeySetPriority (int in_priority)
 
SegmentKeyUnsetPriority ()
 
bool ShowPriority (int &out_priority) const
 
SegmentKeySetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data)
 
SegmentKeySetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[])
 
SegmentKeySetUserData (intptr_t in_index, ByteArray const &in_data)
 
SegmentKeyUnsetUserData (intptr_t in_index)
 
SegmentKeyUnsetUserData (size_t in_count, intptr_t const in_indices[])
 
SegmentKeyUnsetUserData (HPS::IntPtrTArray const &in_indices)
 
SegmentKeyUnsetAllUserData ()
 
size_t ShowUserDataCount () const
 
bool ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const
 
bool ShowUserDataIndices (IntPtrTArray &out_indices) const
 
bool ShowUserData (intptr_t in_index, ByteArray &out_data) const
 
LineKey InsertLine (LineKit const &in_kit)
 
LineKey InsertLine (size_t in_count, Point const in_pts[])
 
LineKey InsertLine (PointArray const &in_pts)
 
LineKey InsertLine (Point const &pt1, Point const &pt2)
 
CylinderKey InsertCylinder (CylinderKit const &in_kit)
 
CylinderKey InsertCylinder (size_t in_pcount, Point const in_points[], size_t in_rcount, float const in_radii[], Cylinder::Capping in_caps=Cylinder::Capping::Both)
 
CylinderKey InsertCylinder (PointArray const &in_points, FloatArray const &in_radii, Cylinder::Capping in_caps=Cylinder::Capping::Both)
 
CylinderKey InsertCylinder (Point const &in_point1, Point const &in_point2, float in_radius, Cylinder::Capping in_caps=Cylinder::Capping::Both)
 
SphereKey InsertSphere (SphereKit const &in_kit)
 
SphereKey InsertSphere (Point const &in_center, float in_radius, Vector const &in_axis=Vector(0, 1, 0), Vector const &in_prime_meridian=Vector(1, 0, 0))
 
CircleKey InsertCircle (CircleKit const &in_kit)
 
CircleKey InsertCircle (Point const &in_start, Point const &in_middle, Point const &in_end)
 
CircleKey InsertCircle (Point const &in_center, float in_radius, Vector const &in_normal)
 
CircularArcKey InsertCircularArc (CircularArcKit const &in_kit)
 
CircularArcKey InsertCircularArc (Point const &in_start, Point const &in_middle, Point const &in_end)
 
CircularWedgeKey InsertCircularWedge (CircularWedgeKit const &in_kit)
 
CircularWedgeKey InsertCircularWedge (Point const &in_start, Point const &in_middle, Point const &in_end)
 
EllipseKey InsertEllipse (EllipseKit const &in_kit)
 
EllipseKey InsertEllipse (Point const &in_center, Point const &in_major, Point const &in_minor)
 
EllipticalArcKey InsertEllipticalArc (EllipticalArcKit const &in_kit)
 
EllipticalArcKey InsertEllipticalArc (Point const &in_center, Point const &in_major, Point const &in_minor, float start, float end)
 
PolygonKey InsertPolygon (PolygonKit const &in_kit)
 
PolygonKey InsertPolygon (PointArray const &in_pts)
 
PolygonKey InsertPolygon (size_t in_count, Point const in_points[])
 
ShellKey InsertShell (ShellKit const &in_kit)
 
ShellKey InsertShell (PointArray const &in_points, IntArray const &in_facelist)
 
ShellKey InsertShell (size_t in_point_count, Point const in_points[], size_t in_facelist_count, int const in_facelist[])
 
ShellKey InsertShellByTristrips (PointArray const &in_points, IntArray const &in_tristrips)
 
ShellKey InsertShellByTristrips (size_t in_point_count, Point const in_points[], size_t in_tristrips_count, int const in_tristrips[])
 
MeshKey InsertMesh (MeshKit const &in_kit)
 
MeshKey InsertMesh (size_t in_rows, size_t in_columns, PointArray const &in_points)
 
MeshKey InsertMesh (size_t in_rows, size_t in_columns, size_t in_point_count, Point const in_points[])
 
MarkerKey InsertMarker (Point const &in_position)
 
MarkerKey InsertMarker (MarkerKit const &in_kit)
 
DistantLightKey InsertDistantLight (Vector const &in_direction)
 
DistantLightKey InsertDistantLight (DistantLightKit const &in_kit)
 
CuttingSectionKey InsertCuttingSection (Plane const &in_plane)
 
CuttingSectionKey InsertCuttingSection (CuttingSectionKit const &in_kit)
 
CuttingSectionKey InsertCuttingSection (PlaneArray const &in_planes)
 
CuttingSectionKey InsertCuttingSection (size_t in_planes_count, Plane const in_planes[])
 
InfiniteLineKey InsertInfiniteLine (InfiniteLineKit const &in_kit)
 
InfiniteLineKey InsertInfiniteLine (Point const &in_first, Point const &in_second, InfiniteLine::Type in_type)
 
SpotlightKey InsertSpotlight (Point const &in_position, Point const &in_target)
 
SpotlightKey InsertSpotlight (SpotlightKit const &in_kit)
 
NURBSCurveKey InsertNURBSCurve (NURBSCurveKit const &in_kit)
 
NURBSCurveKey InsertNURBSCurve (size_t in_degree, PointArray const &in_points, FloatArray const &in_weights, FloatArray const &in_knots, float in_start_u, float in_end_u)
 
NURBSCurveKey InsertNURBSCurve (size_t in_degree, size_t in_pcount, Point const in_points[], float const in_weights[], size_t in_knot_count, float const in_knots[], float in_start_u, float in_end_u)
 
NURBSSurfaceKey InsertNURBSSurface (NURBSSurfaceKit const &in_kit)
 
NURBSSurfaceKey InsertNURBSSurface (size_t in_udegree, size_t in_vdegree, size_t in_ucount, size_t in_vcount, PointArray const &in_points, FloatArray const &in_weights, FloatArray const &in_uknots, FloatArray const &in_vknots)
 
NURBSSurfaceKey InsertNURBSSurface (size_t in_udegree, size_t in_vdegree, size_t in_ucount, size_t in_vcount, size_t in_point_count, Point const in_points[], float const in_weights[], size_t in_uknot_count, float const in_uknots[], size_t in_vknot_count, float const in_vknots[])
 
NURBSSurfaceKey InsertNURBSSurface (size_t in_udegree, size_t in_vdegree, size_t in_ucount, size_t in_vcount, PointArray const &in_points, FloatArray const &in_weights, FloatArray const &in_uknots, FloatArray const &in_vknots, TrimKitArray const &in_trims)
 
NURBSSurfaceKey InsertNURBSSurface (size_t in_udegree, size_t in_vdegree, size_t in_ucount, size_t in_vcount, size_t in_point_count, Point const in_points[], float const in_weights[], size_t in_uknot_count, float const in_uknots[], size_t in_vknot_count, float const in_vknots[], size_t in_trim_count, TrimKit const in_trims[])
 
TextKey InsertText (TextKit const &in_kit)
 
TextKey InsertText (Point const &in_position, char const *in_text)
 
GridKey InsertGrid (GridKit const &in_kit)
 
GridKey InsertGrid (Point const &in_origin, Point const &in_first_point=Point(1, 0, 0), Point const &in_second_point=Point(0, 1, 0), int in_first_count=0, int in_second_count=0, Grid::Type in_type=Grid::Type::Quadrilateral)
 
LineKey InsertLineFromGeometry (CircleKey const &in_circle, float in_deviation=-1.0f)
 
LineKey InsertLineFromGeometry (CircularArcKey const &in_circular_arc, float in_deviation=-1.0f)
 
LineKey InsertLineFromGeometry (CircularWedgeKey const &in_circular_wedge, float in_deviation=-1.0f)
 
LineKey InsertLineFromGeometry (EllipseKey const &in_ellipse, float in_deviation=-1.0f)
 
LineKey InsertLineFromGeometry (EllipticalArcKey const &in_elliptical_arc, float in_deviation=-1.0f)
 
LineKey InsertLineFromGeometry (NURBSCurveKey const &in_nurbs_curve, float in_deviation=-1.0f)
 
ShellKey InsertShellFromGeometry (SphereKey const &in_sphere)
 
ShellKey InsertShellFromGeometry (CylinderKey const &in_cylinder)
 
ShellKey InsertShellFromGeometry (NURBSSurfaceKey const &in_nurbs_surface)
 
ShellKey InsertShellFromGeometry (MeshKey const &in_mesh)
 
ShellKey InsertShellFromGeometry (PolygonKey const &in_polygon)
 
ShellKey InsertShellFromGeometry (TextKey const &in_text)
 
SegmentKeySetAttributeLocks (AttributeLockKit const &in_kit)
 
SegmentKeyUnsetAttributeLocks ()
 
bool ShowAttributeLocks (AttributeLockKit &out_kit) const
 
AttributeLockControl GetAttributeLockControl ()
 
AttributeLockControl const GetAttributeLockControl () const
 
SegmentKeySetBoundings (BoundingKit const &in_kit)
 
SegmentKeyUnsetBoundings ()
 
bool ShowBoundings (BoundingKit &out_kit) const
 
BoundingControl GetBoundingControl ()
 
BoundingControl const GetBoundingControl () const
 
SegmentKeySetCamera (CameraKit const &in_kit)
 
SegmentKeyUnsetCamera ()
 
bool ShowCamera (CameraKit &out_kit) const
 
CameraControl GetCameraControl ()
 
CameraControl const GetCameraControl () const
 
SegmentKeySetColorInterpolation (ColorInterpolationKit const &in_kit)
 
SegmentKeyUnsetColorInterpolation ()
 
bool ShowColorInterpolation (ColorInterpolationKit &out_kit) const
 
ColorInterpolationControl GetColorInterpolationControl ()
 
ColorInterpolationControl const GetColorInterpolationControl () const
 
SegmentKeySetContourLine (ContourLineKit const &in_kit)
 
SegmentKeyUnsetContourLine ()
 
bool ShowContourLine (ContourLineKit &out_kit) const
 
ContourLineControl GetContourLineControl ()
 
ContourLineControl const GetContourLineControl () const
 
SegmentKeySetCulling (CullingKit const &in_kit)
 
SegmentKeyUnsetCulling ()
 
bool ShowCulling (CullingKit &out_kit) const
 
CullingControl GetCullingControl ()
 
CullingControl const GetCullingControl () const
 
SegmentKeySetCurveAttributes (CurveAttributeKit const &in_kit)
 
SegmentKeyUnsetCurveAttributes ()
 
bool ShowCurveAttributes (CurveAttributeKit &out_kit) const
 
CurveAttributeControl GetCurveAttributeControl ()
 
CurveAttributeControl const GetCurveAttributeControl () const
 
SegmentKeySetCuttingSectionAttributes (CuttingSectionAttributeKit const &in_kit)
 
SegmentKeyUnsetCuttingSectionAttributes ()
 
bool ShowCuttingSectionAttributes (CuttingSectionAttributeKit &out_kit) const
 
CuttingSectionAttributeControl GetCuttingSectionAttributeControl ()
 
CuttingSectionAttributeControl
const 
GetCuttingSectionAttributeControl () const
 
SegmentKeySetCylinderAttributes (CylinderAttributeKit const &in_kit)
 
SegmentKeyUnsetCylinderAttributes ()
 
bool ShowCylinderAttributes (CylinderAttributeKit &out_kit) const
 
CylinderAttributeControl GetCylinderAttributeControl ()
 
CylinderAttributeControl const GetCylinderAttributeControl () const
 
SegmentKeySetDrawingAttribute (DrawingAttributeKit const &in_kit)
 
SegmentKeyUnsetDrawingAttribute ()
 
bool ShowDrawingAttribute (DrawingAttributeKit &out_kit) const
 
DrawingAttributeControl GetDrawingAttributeControl ()
 
DrawingAttributeControl const GetDrawingAttributeControl () const
 
SegmentKeySetEdgeAttributes (EdgeAttributeKit const &in_kit)
 
SegmentKeyUnsetEdgeAttributes ()
 
bool ShowEdgeAttributes (EdgeAttributeKit &out_kit) const
 
EdgeAttributeControl GetEdgeAttributeControl ()
 
EdgeAttributeControl const GetEdgeAttributeControl () const
 
SegmentKeySetHiddenLineAttribute (HiddenLineAttributeKit const &in_kit)
 
SegmentKeyUnsetHiddenLineAttribute ()
 
bool ShowHiddenLineAttribute (HiddenLineAttributeKit &out_kit) const
 
HiddenLineAttributeControl GetHiddenLineAttributeControl ()
 
HiddenLineAttributeControl const GetHiddenLineAttributeControl () const
 
SegmentKeySetLightingAttributes (LightingAttributeKit const &in_kit)
 
SegmentKeyUnsetLightingAttributes ()
 
bool ShowLightingAttributes (LightingAttributeKit &out_kit) const
 
LightingAttributeControl GetLightingAttributeControl ()
 
LightingAttributeControl const GetLightingAttributeControl () const
 
SegmentKeySetLineAttributes (LineAttributeKit const &in_kit)
 
SegmentKeyUnsetLineAttributes ()
 
bool ShowLineAttributes (LineAttributeKit &out_kit) const
 
LineAttributeControl GetLineAttributeControl ()
 
LineAttributeControl const GetLineAttributeControl () const
 
SegmentKeySetMaterialMapping (MaterialMappingKit const &in_kit)
 
SegmentKeyUnsetMaterialMapping ()
 
bool ShowMaterialMapping (MaterialMappingKit &out_kit) const
 
MaterialMappingControl GetMaterialMappingControl ()
 
MaterialMappingControl const GetMaterialMappingControl () const
 
SegmentKeySetMarkerAttributes (MarkerAttributeKit const &in_kit)
 
SegmentKeyUnsetMarkerAttributes ()
 
bool ShowMarkerAttributes (MarkerAttributeKit &out_kit) const
 
MarkerAttributeControl GetMarkerAttributeControl ()
 
MarkerAttributeControl const GetMarkerAttributeControl () const
 
SegmentKeySetModellingMatrix (MatrixKit const &in_kit)
 
SegmentKeyUnsetModellingMatrix ()
 
bool ShowModellingMatrix (MatrixKit &out_kit) const
 
ModellingMatrixControl GetModellingMatrixControl ()
 
ModellingMatrixControl const GetModellingMatrixControl () const
 
SegmentKeySetNURBSSurfaceAttributes (NURBSSurfaceAttributeKit const &in_kit)
 
SegmentKeyUnsetNURBSSurfaceAttributes ()
 
bool ShowNURBSSurfaceAttributes (NURBSSurfaceAttributeKit &out_kit) const
 
NURBSSurfaceAttributeControl GetNURBSSurfaceAttributeControl ()
 
NURBSSurfaceAttributeControl const GetNURBSSurfaceAttributeControl () const
 
SegmentKeySetPerformance (PerformanceKit const &in_kit)
 
SegmentKeyUnsetPerformance ()
 
bool ShowPerformance (PerformanceKit &out_kit) const
 
PerformanceControl GetPerformanceControl ()
 
PerformanceControl const GetPerformanceControl () const
 
SegmentKeySetSelectability (SelectabilityKit const &in_kit)
 
SegmentKeyUnsetSelectability ()
 
bool ShowSelectability (SelectabilityKit &out_kit) const
 
SelectabilityControl GetSelectabilityControl ()
 
SelectabilityControl const GetSelectabilityControl () const
 
SegmentKeySetSphereAttributes (SphereAttributeKit const &in_kit)
 
SegmentKeyUnsetSphereAttributes ()
 
bool ShowSphereAttributes (SphereAttributeKit &out_kit) const
 
SphereAttributeControl GetSphereAttributeControl ()
 
SphereAttributeControl const GetSphereAttributeControl () const
 
SegmentKeySetSubwindow (SubwindowKit const &in_kit)
 
SegmentKeyUnsetSubwindow ()
 
bool ShowSubwindow (SubwindowKit &out_kit) const
 
SubwindowControl GetSubwindowControl ()
 
SubwindowControl const GetSubwindowControl () const
 
SegmentKeySetTextAttributes (TextAttributeKit const &in_kit)
 
SegmentKeyUnsetTextAttributes ()
 
bool ShowTextAttributes (TextAttributeKit &out_kit) const
 
TextAttributeControl GetTextAttributeControl ()
 
TextAttributeControl const GetTextAttributeControl () const
 
SegmentKeySetTextureMatrix (MatrixKit const &in_kit)
 
SegmentKeyUnsetTextureMatrix ()
 
bool ShowTextureMatrix (MatrixKit &out_kit) const
 
TextureMatrixControl GetTextureMatrixControl ()
 
TextureMatrixControl const GetTextureMatrixControl () const
 
SegmentKeySetTransformMask (TransformMaskKit const &in_kit)
 
SegmentKeyUnsetTransformMask ()
 
bool ShowTransformMask (TransformMaskKit &out_kit) const
 
TransformMaskControl GetTransformMaskControl ()
 
TransformMaskControl const GetTransformMaskControl () const
 
SegmentKeySetTransparency (TransparencyKit const &in_kit)
 
SegmentKeyUnsetTransparency ()
 
bool ShowTransparency (TransparencyKit &out_kit) const
 
TransparencyControl GetTransparencyControl ()
 
TransparencyControl const GetTransparencyControl () const
 
SegmentKeySetVisibility (VisibilityKit const &in_kit)
 
SegmentKeyUnsetVisibility ()
 
bool ShowVisibility (VisibilityKit &out_kit) const
 
VisibilityControl GetVisibilityControl ()
 
VisibilityControl const GetVisibilityControl () const
 
SegmentKeySetVisualEffects (VisualEffectsKit const &in_kit)
 
SegmentKeyUnsetVisualEffects ()
 
bool ShowVisualEffects (VisualEffectsKit &out_kit) const
 
VisualEffectsControl GetVisualEffectsControl ()
 
VisualEffectsControl const GetVisualEffectsControl () const
 
void Optimize (SegmentOptimizationOptionsKit const &in_kit)
 
- Public Member Functions inherited from HPS::Key
 Key ()
 
 Key (Key const &in_that)
 
 Key (Control const &in_control)
 
 Key (Key &&in_that)
 
Keyoperator= (Key &&in_that)
 
virtual ~Key ()
 
bool HasOwner () const
 
SegmentKey Up () const
 
SegmentKey Owner () const
 
void Delete ()
 
void MoveTo (SegmentKey const &in_new_owner)
 
Key CopyTo (SegmentKey const &in_destination) const
 
Keyoperator= (Key const &in_that)
 
virtual void Assign (Key const &in_that)
 
bool Equals (Key const &in_that) const
 
bool operator!= (Key const &in_that) const
 
bool operator== (Key const &in_that) const
 
size_t GetHash () const
 
- Public Member Functions inherited from HPS::Object
Objectoperator= (Object const &other_object)
 
 Object (Object &&in_that)
 
Objectoperator= (Object &&in_that)
 
HPS::Type Type () const
 
virtual bool Empty () const
 
virtual void Reset ()
 
bool HasType (HPS::Type in_mask) const
 
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS::Object
template<typename T >
static intptr_t ClassID ()
 

Detailed Description

The WindowKey class is a smart pointer to a database object. Windows are special segments that are backed by a driver instance and a physical window. Some operations and attributes can only be performed or set from window keys. The WindowKey class itself is a base class for more specific window types (application windows, off-screen windows, stand-alone windows).

Constructor & Destructor Documentation

HPS::WindowKey::WindowKey ( )

An uninitialized key refers to no database object and Type() will return Type::None.

HPS::WindowKey::WindowKey ( WindowKey const &  in_window)

Shares a reference to a database object referred to by in_window.

HPS::WindowKey::WindowKey ( WindowKey &&  in_that)

The move constructor creates a WindowKey by transferring the underlying impl of the rvalue reference to this WindowKey thereby avoiding a copy and allocation.

Parameters
in_thatAn rvalue reference to a WindowKey to take the impl from.
HPS::WindowKey::WindowKey ( Key const &  in_key)

Shares a reference to a database object referred to by in_that. If the key assignment is invalid, this key will revert to an uninitialized state.

HPS::WindowKey::~WindowKey ( )

Releases a reference to a database object but does not destroy the database object.

Member Function Documentation

bool HPS::WindowKey::ConvertCoordinate ( Coordinate::Space  in_space,
Point const &  in_point,
Coordinate::Space  in_output_space,
Point out_point 
) const

Converts the point in_point from in_space to in_output_space using the transforms associated with this window. Returns success.

r size_t HPS::WindowKey::FindFonts ( FontSearchResults out_results) const

Searches in_search_space for in_request and returns a handle to the results.

DebuggingControl HPS::WindowKey::GetDebuggingControl ( )

Returns a control that allows the user to manipulate and query details of the debugging attribute on this segment.

DebuggingControl const HPS::WindowKey::GetDebuggingControl ( ) const

Returns a control that allows the user to manipulate and query details of the debugging attribute on this segment.

EventDispatcher& HPS::WindowKey::GetEventDispatcher ( )

Returns a control that allows the user to interact with events in various ways.

EventDispatcher const& HPS::WindowKey::GetEventDispatcher ( ) const

Returns a control that allows the user to interact with events in various ways.

HighlightControl HPS::WindowKey::GetHighlightControl ( )

Returns a control that allows the user to highlight segments or geometry in this window.

HighlightControl const HPS::WindowKey::GetHighlightControl ( ) const

Returns a control that allows the user to highlight segments or geometry in this window.

PostProcessEffectsControl HPS::WindowKey::GetPostProcessEffectsControl ( )

Returns a control that allows the user to manipulate and query details of the post-process effects attribute on this segment.

PostProcessEffectsControl const HPS::WindowKey::GetPostProcessEffectsControl ( ) const

Returns a control that allows the user to manipulate and query details of the post-process effects attribute on this segment.

SelectionControl HPS::WindowKey::GetSelectionControl ( )

Returns a control that allows the user to perform selections in this window.

SelectionControl const HPS::WindowKey::GetSelectionControl ( ) const

Returns a control that allows the user to perform selections in this window.

SelectionOptionsControl HPS::WindowKey::GetSelectionOptionsControl ( )

Returns a control that allows the user to manipulate and query details of the selection options on this window.

SelectionOptionsControl const HPS::WindowKey::GetSelectionOptionsControl ( ) const

Returns a control that allows the user to manipulate and query details of the selection options on this window.

UpdateOptionsControl HPS::WindowKey::GetUpdateOptionsControl ( )

Returns a control that allows the user to change update options in this window.

UpdateOptionsControl const HPS::WindowKey::GetUpdateOptionsControl ( ) const

Returns a control that allows the user to change update options in this window.

WindowInfoControl const HPS::WindowKey::GetWindowInfoControl ( ) const

Returns a control that allows the user to query various window properties, including size, aspect ratio, resolution, etc.

HPS::Type HPS::WindowKey::ObjectType ( ) const
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS::SegmentKey.

Reimplemented in HPS::OffScreenWindowKey, HPS::ApplicationWindowKey, and HPS::StandAloneWindowKey.

WindowKey& HPS::WindowKey::operator= ( WindowKey const &  other)

Copy assignment operator for WindowKey

WindowKey& HPS::WindowKey::operator= ( WindowKey &&  in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this WindowKey thereby avoiding a copy.

Parameters
in_thatAn rvalue reference to a WindowKey to take the impl from.
Returns
A reference to this WindowKey.
WindowKey& HPS::WindowKey::SetDebugging ( DebuggingKit const &  in_kit)

Sets the debugging attributes designated by in_kit on this segment.

WindowKey& HPS::WindowKey::SetPostProcessEffects ( PostProcessEffectsKit const &  in_kit)

Sets the post-process effects attributes designated by in_kit on this segment.

WindowKey& HPS::WindowKey::SetSelectionOptions ( SelectionOptionsKit const &  in_kit)

Sets the options that will be used by default for selections performed from this window. Note: these options cannot be unset.

WindowKey& HPS::WindowKey::SetUpdateOptions ( HPS::UpdateOptionsKit const &  in_kit)

Sets the options that will be used by default for update options performed from this window. Note: these options cannot be unset.

bool HPS::WindowKey::ShowDebugging ( DebuggingKit out_kit) const

Shows the debugging attribute settings on this segment.

Returns
False if no debugging attribute settings exist on this segment.
bool HPS::WindowKey::ShowPostProcessEffects ( PostProcessEffectsKit out_kit) const

Shows the post-process effects attribute settings on this segment. Returns false if no post-process effects attribute settings exist on this segment.

bool HPS::WindowKey::ShowSelectionOptions ( SelectionOptionsKit out_kit) const

Shows the options that will be used by default for selections performed from this window.

bool HPS::WindowKey::ShowSnapshot ( ImageKit out_kit) const

Shows the current display as an image. Note: this will return false if an Update was never made.

Parameters
out_kitAn image kit to show the display into.
Returns
true if able to show display into ImageKit, false otherwise.
bool HPS::WindowKey::ShowUpdateOptions ( HPS::UpdateOptionsKit out_kit) const

Shows the options that will be used by default for update options performed from this window.

void HPS::WindowKey::Update ( )

Performs a default update in this window, redrawing and refreshing the display.

void HPS::WindowKey::Update ( UpdateOptionsKit const &  in_kit)

Performs an update in this window, redrawing and refreshing the display using the options in the UpdateOptionsKit.

Parameters
in_controlAllows the user to control how thorough an update should be.
void HPS::WindowKey::Update ( Window::UpdateControl  in_control,
Time  in_time_limit = -1 
)

Performs an update in this window within the specified amount of time, redrawing and refreshing the display based on the Window::UpdateControl value. Key behavioral notes regarding a timed-update:

  • Geometry deferral/omission
    • View-dependent shadows will not be drawn (view-independent shadows will be drawn.)
    • Transparent geometry will be deferred and processed after the rest of the scene.
    • If static tree + lmv is enabled, text and lines will be deferred and drawn after opaque facetted geometry
  • Non-incremental rendering modes/attributes

    • A timed update requires Visualize to interrupt the rendering process. However, certain types of rendering modes/attributes cannot be interrupted because they are 'non-incremental'. - If your application wishes to use such modes/attributes alongside fixed-framerate, it will need to make a decision about whether Fixed-framerate is preferred. They include: - HiddenLine and FastHiddenLine rendering algorithms
      • Transparency that is drawn using 'depth peeling'. (All depth-peeled transparent geometry will be processed once it is started.)
    Parameters
    in_controlAllows the user to control how thorough this update should be.
    in_time_limitSpecifies the desired maximum time this update should take.
UpdateNotifier HPS::WindowKey::UpdateWithNotifier ( )

Performs a default update in this window, redrawing and refreshing the display.

Returns
A UpdateNotifier object that can be used to find out information about the update.
UpdateNotifier HPS::WindowKey::UpdateWithNotifier ( HPS::UpdateOptionsKit const &  in_kit)

Performs a default update in this window, redrawing and refreshing the display.

Returns
A UpdateNotifier object that can be used to find out information about the update.
UpdateNotifier HPS::WindowKey::UpdateWithNotifier ( Window::UpdateControl  in_control,
Time  in_time_limit = -1 
)

Performs an update in this window, redrawing and refreshing the display.

Parameters
in_controlAllows the user to control how thorough an update should be.
in_time_limitSpecifies a maximum time this update should take.
Returns
A UpdateNotifier object that can be used to find out information about the update.

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