# HImageRegion

## Functions

| `HImageRegion`
| `~HImageRegion`
bool | `IsSelected`
char const * | `GetName`
int | `GetID`

## Detailed Description

class `HImageRegion`

  The HImageRegion class represents selectable regions inside an image panel.

  Public Functions

  `HImageRegion`(int identifier, char const *const name)

    Constructs an HImageRegion object.

    Parameters: | identifier – Numeric identifier of image region name – Name of image region

  `~HImageRegion`()
  bool `IsSelected`(float x, float y, HC_KEY region_image_key, int width, int height)

    This method determines if a region is selected given an x/y position and the associated region iage

    Parameters: | x – Mouse X Coordinate y – Mouse Y Coordinate region_image_key – HOOPS Key to image defining image panel regions width – Width of Image Panel height – Height of Image Panel
    Returns: | True: Mouse is inside of region

  inline char const *`GetName`()

    This method returns the name of the image region

    Returns: | Name of image region

  inline int `GetID`()

    This method returns the identifier of the image region

    Returns: | Identifier of image region

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize 3DF or choose a sample question below to start a conversation:

What is HOOPS Visualize 3DF?
What are the latest release notes for HOOPS Visualize 3DF?
How do I start evaluating HOOPS Visualize 3DF?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...