9 #ifndef CMZN_SCENEVIEWERINPUT_HPP__
10 #define CMZN_SCENEVIEWERINPUT_HPP__
12 #include "zinc/sceneviewerinput.h"
13 #include "zinc/sceneviewer.hpp"
30 cmzn_sceneviewerinput_id id;
100 id(in_sceneviewerinput_id)
103 Sceneviewerinput(
const Sceneviewerinput& sceneviewerinput) :
104 id(cmzn_sceneviewerinput_access(sceneviewerinput.id))
107 Sceneviewerinput& operator=(
const Sceneviewerinput& sceneviewerinput)
109 cmzn_sceneviewerinput_id temp_id = cmzn_sceneviewerinput_access(sceneviewerinput.id);
112 cmzn_sceneviewerinput_destroy(&
id);
122 cmzn_sceneviewerinput_destroy(&
id);
141 cmzn_sceneviewerinput_id
getId()
const
155 return cmzn_sceneviewerinput_set_position(
id, x, y);
166 return cmzn_sceneviewerinput_set_button_type(
id, static_cast<cmzn_sceneviewerinput_button_type>(buttonType));
177 return cmzn_sceneviewerinput_set_event_type(
id, static_cast<cmzn_sceneviewerinput_event_type>(eventType));
189 return cmzn_sceneviewerinput_set_modifier_flags(
id, modifierFlags);
201 return cmzn_sceneviewer_process_sceneviewerinput(
id, input.
getId());
Sceneviewerinput createSceneviewerinput()
Definition: sceneviewerinput.hpp:194
int processSceneviewerinput(const Sceneviewerinput &input)
Definition: sceneviewerinput.hpp:199