Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

glut_space.c File Reference

#include "glutint.h"

Go to the source code of this file.


Functions

void glutSpaceballMotionFunc (GLUTspaceMotionCB spaceMotionFunc)
void glutSpaceballRotateFunc (GLUTspaceRotateCB spaceRotateFunc)
void glutSpaceballButtonFunc (GLUTspaceButtonCB spaceButtonFunc)

Function Documentation

void glutSpaceballButtonFunc (  GLUTspaceButtonCB    spaceButtonFunc ) 
 

Definition at line 29 of file glut_space.c.

References __glutPutOnWorkList(), GLUT_DEVICE_MASK_WORK, and GLUTspaceButtonCB.

00030 {
00031   __glutCurrentWindow->spaceButton = spaceButtonFunc;
00032   __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
00033   __glutPutOnWorkList(__glutCurrentWindow,
00034     GLUT_DEVICE_MASK_WORK);
00035 }

void glutSpaceballMotionFunc (  GLUTspaceMotionCB    spaceMotionFunc ) 
 

Definition at line 11 of file glut_space.c.

References __glutPutOnWorkList(), GLUT_DEVICE_MASK_WORK, and GLUTspaceMotionCB.

00012 {
00013   __glutCurrentWindow->spaceMotion = spaceMotionFunc;
00014   __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
00015   __glutPutOnWorkList(__glutCurrentWindow,
00016     GLUT_DEVICE_MASK_WORK);
00017 }

void glutSpaceballRotateFunc (  GLUTspaceRotateCB    spaceRotateFunc ) 
 

Definition at line 20 of file glut_space.c.

References __glutPutOnWorkList(), GLUT_DEVICE_MASK_WORK, and GLUTspaceRotateCB.

00021 {
00022   __glutCurrentWindow->spaceRotate = spaceRotateFunc;
00023   __glutUpdateInputDeviceMaskFunc = __glutUpdateInputDeviceMask;
00024   __glutPutOnWorkList(__glutCurrentWindow,
00025     GLUT_DEVICE_MASK_WORK);
00026 }
 

Powered by Plone

This site conforms to the following standards: