LOMovementFixtureAttribute.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 #import <Cocoa/Cocoa.h>
00037 #import "LOProportionalFixtureAttribute.h"
00038
00039
00040 typedef enum LOFixtureMovementType
00041 {
00042 LOFixtureMovementTypeMirrorPan = 0,
00043 LOFixtureMovementTypeMirrorTilt,
00044 LOFixtureMovementTypeMirrorRotate,
00045 LOFixtureMovementTypeHeadPan,
00046 LOFixtureMovementTypeHeadTilt
00047 } LOFixtureMovementType;
00048
00049
00055 @interface LOMovementFixtureAttribute : LOProportionalFixtureAttribute
00056 {
00057 LOFixtureMovementType movementType;
00058 unsigned speed;
00059 unsigned distance;
00060 }
00061
00062
00069 - (id)initWithName:(NSString *)aName andMovementType:(LOFixtureMovementType)theType;
00070
00071
00079 - (unsigned)speed;
00080
00081
00091 - (void)setSpeed:(unsigned)theSpeed;
00092
00093
00101 - (unsigned)distance;
00102
00103
00113 - (void)setDistance:(unsigned)theDistance;
00114
00115
00123 - (LOFixtureMovementType)movementType;
00124
00125
00134 - (void)setMovementType:(LOFixtureMovementType)theType;
00135
00136 @end
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160