XrdSceneObject

XrdSceneObject

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── XrdSceneObject
        ├── XrdSceneBackground
        ├── XrdSceneWindow
        ├── XrdSceneDevice
        ├── XrdScenePointer
        ├── XrdSceneSelection
        ╰── XrdSceneVector

Includes

#include <xrdesktop.h>

Description

Functions

xrd_scene_object_new ()

XrdSceneObject *
xrd_scene_object_new (void);

xrd_scene_object_bind ()

void
xrd_scene_object_bind (XrdSceneObject *self,
                       EVREye eye,
                       VkCommandBuffer cmd_buffer,
                       VkPipelineLayout pipeline_layout);

xrd_scene_object_initialize ()

gboolean
xrd_scene_object_initialize (XrdSceneObject *self,
                             VkDescriptorSetLayout *layout);

xrd_scene_object_set_position ()

void
xrd_scene_object_set_position (XrdSceneObject *self,
                               graphene_point3d_t *position);

xrd_scene_object_set_rotation_euler ()

void
xrd_scene_object_set_rotation_euler (XrdSceneObject *self,
                                     graphene_euler_t *euler);

xrd_scene_object_set_scale ()

void
xrd_scene_object_set_scale (XrdSceneObject *self,
                            float scale);

xrd_scene_object_update_descriptors ()

void
xrd_scene_object_update_descriptors (XrdSceneObject *self);

xrd_scene_object_update_descriptors_texture ()

void
xrd_scene_object_update_descriptors_texture
                               (XrdSceneObject *self,
                                VkSampler sampler,
                                VkImageView image_view);

xrd_scene_object_update_mvp_matrix ()

void
xrd_scene_object_update_mvp_matrix (XrdSceneObject *self,
                                    EVREye eye,
                                    graphene_matrix_t *vp);

xrd_scene_object_get_descriptor_set ()

VkDescriptorSet
xrd_scene_object_get_descriptor_set (XrdSceneObject *self,
                                     uint32_t eye);

xrd_scene_object_get_transformation ()

graphene_matrix_t
xrd_scene_object_get_transformation (XrdSceneObject *self);

xrd_scene_object_get_transformation_buffer ()

VkBuffer
xrd_scene_object_get_transformation_buffer
                               (XrdSceneObject *self,
                                uint32_t eye);

xrd_scene_object_get_transformation_no_scale ()

graphene_matrix_t
xrd_scene_object_get_transformation_no_scale
                               (XrdSceneObject *self);

xrd_scene_object_hide ()

void
xrd_scene_object_hide (XrdSceneObject *self);

xrd_scene_object_is_visible ()

gboolean
xrd_scene_object_is_visible (XrdSceneObject *self);

xrd_scene_object_set_transformation ()

void
xrd_scene_object_set_transformation (XrdSceneObject *self,
                                     graphene_matrix_t *mat);

xrd_scene_object_set_transformation_direct ()

void
xrd_scene_object_set_transformation_direct
                               (XrdSceneObject *self,
                                graphene_matrix_t *mat);

xrd_scene_object_show ()

void
xrd_scene_object_show (XrdSceneObject *self);

Types and Values

XrdSceneObject

typedef struct _XrdSceneObject XrdSceneObject;

struct XrdSceneObjectClass

struct XrdSceneObjectClass {
  GObjectClass parent;
};

Members

GObjectClass parent;

The object class structure needs to be the first element in the widget class structure in order for the class mechanism to work correctly. This allows a XrdSceneObjectClass pointer to be cast to a GObjectClass pointer.

 

XRD_TYPE_SCENE_OBJECT

#define XRD_TYPE_SCENE_OBJECT xrd_scene_object_get_type()