HPS::OOC::AreaHighlightTracker
- class HPS.OOC.AreaHighlightTracker : public IDisposable
Override this class to customize Area Highlighting.
Public Functions
- void AddArea (HPS.Rectangle in_rect, HPS.MatrixKit in_world_to_window, bool in_clear)
Adds an Area to track.
- void AddPoint (HPS.WorldPoint in_point, bool in_clear)
Adds a world space point to track.
- Param in_point
The world space point being tracking.
- Param in_clear
Indicates if all preexisting point should be removed before adding this new point.
- AreaHighlightTracker (HPS.Canvas in_canvas, HPS.SegmentKey in_area_cameras)
- AreaHighlightTracker (HPS.OOC.AreaHighlightTracker in_that)
- void Clear ()
Removes all Areas from this object.
- void Dispose ()
- delegate void DtorDelegate (IntPtr cPtr)
- bool Empty ()
Returns true if this object is not tracking any Areas.
- HPS.SegmentKey GetAreaCameraSegment ()
Returns the Camera SegmentKey associated with this object.
- HPS.OOC.Area[] GetAreas ()
Returns an array of all of the tracked Areas.
- HPS.Canvas GetCanvas ()
Returns the Canvas associated with this object.
- bool GetInspecting ()
- HPS.WindowKey GetWindowKey ()
Returns the WindowKey associated with this object.
- bool Intersects (HPS.Point world_space_point)
Determines if a point intersects any of the tracked Areas.
- Param world_space_point
The point to test
- Return
true if the point intersects one of the tracked Areas, false otherwise.
- bool Intersects (HPS.SimpleCuboid world_space_bounding)
Determines if a cuboid intersects any of the tracked Areas.
- Param world_space_bounding
The cuboid to test
- Return
true if the cuboid intersects one of the tracked Areas, false otherwise.