XrdPointer

XrdPointer

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── XrdPointer

Prerequisites

XrdPointer requires GObject.

Known Implementations

XrdPointer is implemented by XrdOverlayPointer and XrdScenePointer.

Includes

#include <xrdesktop.h>

Description

Functions

xrd_pointer_get_data ()

XrdPointerData *
xrd_pointer_get_data (XrdPointer *self);

xrd_pointer_get_default_length ()

float
xrd_pointer_get_default_length (XrdPointer *self);

xrd_pointer_get_intersection ()

gboolean
xrd_pointer_get_intersection (XrdPointer *self,
                              XrdWindow *window,
                              float *distance,
                              graphene_vec3_t *res);

xrd_pointer_get_ray ()

void
xrd_pointer_get_ray (XrdPointer *self,
                     graphene_ray_t *res);

xrd_pointer_get_transformation ()

void
xrd_pointer_get_transformation (XrdPointer *self,
                                graphene_matrix_t *matrix);

xrd_pointer_hide ()

void
xrd_pointer_hide (XrdPointer *self);

xrd_pointer_init ()

void
xrd_pointer_init (XrdPointer *self);

xrd_pointer_is_visible ()

gboolean
xrd_pointer_is_visible (XrdPointer *self);

xrd_pointer_move ()

void
xrd_pointer_move (XrdPointer *self,
                  graphene_matrix_t *transform);

xrd_pointer_reset_length ()

void
xrd_pointer_reset_length (XrdPointer *self);

xrd_pointer_set_length ()

void
xrd_pointer_set_length (XrdPointer *self,
                        float length);

xrd_pointer_set_selected_window ()

void
xrd_pointer_set_selected_window (XrdPointer *self,
                                 XrdWindow *window);

xrd_pointer_set_transformation ()

void
xrd_pointer_set_transformation (XrdPointer *self,
                                graphene_matrix_t *matrix);

xrd_pointer_show ()

void
xrd_pointer_show (XrdPointer *self);

Types and Values

XrdPointer

typedef struct _XrdPointer XrdPointer;

XrdPointerData

typedef struct {
  float start_offset;
  float length;
  float default_length;
  gboolean visible;
} XrdPointerData;

struct XrdPointerInterface

struct XrdPointerInterface {
  GTypeInterface parent;

  void
  (*move) (XrdPointer        *self,
           graphene_matrix_t *transform);

  void
  (*set_length) (XrdPointer *self,
                 float       length);

  XrdPointerData*
  (*get_data) (XrdPointer *self);

  void
  (*set_transformation) (XrdPointer        *self,
                         graphene_matrix_t *matrix);

  void
  (*get_transformation) (XrdPointer        *self,
                         graphene_matrix_t *matrix);

  void
  (*set_selected_window) (XrdPointer *pointer,
                          XrdWindow  *window);

  void
  (*show) (XrdPointer *self);

  void
  (*hide) (XrdPointer *self);
};

XRD_TYPE_POINTER

#define XRD_TYPE_POINTER xrd_pointer_get_type()