usbdmx.com Home of the opto isolated, bus powered, DMX512 interface with both in and out universes. Cheap and simple to build. USBDMX logo

LOMovementFixtureAttribute Class Reference

The movement attribute defines one of the movement channles of the fixture. More...

#import <LOMovementFixtureAttribute.h>

Inheritance diagram for LOMovementFixtureAttribute:

LOProportionalFixtureAttribute LOFixtureAttribute

Public Member Functions

(id) - initWithName:andMovementType:
 Initilise the attribute as a LOFixtureAttributeTypeMovement with the given name and type of movement.
(unsigned) - speed
 Get the maximum time to travel from one extreme to the other.
(void) - setSpeed:
 Set the maximum time to travel from one extreme to the other.
(unsigned) - distance
 Get the ditance in degrees between the two extremens of movement.
(void) - setDistance:
 Set the distance in degrees between the two extremens of movement.
(LOFixtureMovementType) - movementType
 Get the movement type for this fixture.
(void) - setMovementType:
 Set the movement type.

Protected Attributes

LOFixtureMovementType movementType
unsigned speed
 Speed in milliseconds to travel from one extreme to the other.
unsigned distance
 Distance in degrees between the extremes.

Detailed Description

The movement attribute defines one of the movement channles of the fixture.

Member Function Documentation

- (unsigned) distance  

Get the ditance in degrees between the two extremens of movement.

See also:
- setDistance:

- (LOFixtureMovementType) movementType  

Get the movement type for this fixture.

See also:
- setMovementType:

- (void) setDistance: (unsigned)  theDistance  

Set the distance in degrees between the two extremens of movement.

Parameters:
theDistance the distance in degrees
See also:
distance:

- (void) setMovementType: (LOFixtureMovementType)  theType  

Set the movement type.

By knowing the correct movement type for the fixture we can better calculate shapes and position within the shape generator

See also:
movementType:

- (void) setSpeed: (unsigned)  theSpeed  

Set the maximum time to travel from one extreme to the other.

Parameters:
theSpeed The speed in milliseconds
See also:
speed:

- (unsigned) speed  

Get the maximum time to travel from one extreme to the other.

See also:
- setSpeed:


The documentation for this class was generated from the following files: