Classes | Defines | Enumerations

CC3Rotator.h File Reference

#import "CC3Matrix.h"

Classes

class  CC3DirectionalRotator
 CC3DirectionalRotator is a subclass of CC3MutableRotator that adds the ability to set rotation based on directional information. More...
class  CC3MutableRotator
 CC3MutableRotator encapsulates the various mechanisms for specifiying rotation, and converts between them. More...
class  CC3ReverseDirectionalRotator
 Deprecated and functionality moved to CC3DirectionalRotator. More...
class  CC3Rotator
 CC3otator encapsulates the various mechanisms of rotating a node, and converts between them. More...
class  CC3TargettingRotator
 CC3TargettingRotator is a subclass of CC3DirectionalRotator that can automatically track the location of another node, or a specific location in 3D space. More...

Defines

#define CC3TargettingAxisRestriction   CC3TargettingConstraint

Enumerations

enum  CC3RotationType {
  kCC3RotationTypeUnknown, kCC3RotationTypeEuler, kCC3RotationTypeQuaternion, kCC3RotationTypeAxisAngle,
  kCC3RotationTypeDirection, kCC3RotationTypeLocation
}
enum  CC3TargettingConstraint {
  kCC3TargettingConstraintLocalUnconstrained, kCC3TargettingConstraintLocalXAxis, kCC3TargettingConstraintLocalYAxis, kCC3TargettingConstraintLocalZAxis,
  kCC3TargettingConstraintGlobalUnconstrained, kCC3TargettingConstraintGlobalXAxis, kCC3TargettingConstraintGlobalYAxis, kCC3TargettingConstraintGlobalZAxis,
  DEPRECATED_ATTRIBUTE = kCC3TargettingConstraintGlobalUnconstrained, DEPRECATED_ATTRIBUTE = kCC3TargettingConstraintGlobalUnconstrained, DEPRECATED_ATTRIBUTE = kCC3TargettingConstraintGlobalUnconstrained, DEPRECATED_ATTRIBUTE = kCC3TargettingConstraintGlobalUnconstrained
}

Detailed Description


Define Documentation

#define CC3TargettingAxisRestriction   CC3TargettingConstraint
Deprecated:
Renamed to CC3TargettingConstraint.

Enumeration Type Documentation

Enumeration of rotation types.

Enumerator:
kCC3RotationTypeUnknown 

Unknown rotation type.

kCC3RotationTypeEuler 

Rotation by Euler angles.

kCC3RotationTypeQuaternion 

Rotation by quaternion.

kCC3RotationTypeAxisAngle 

Rotation by angle around arbirary axis.

kCC3RotationTypeDirection 

Rotation by pointing in a specific direction.

kCC3RotationTypeLocation 

Rotation by looking at a particular location.

Enumeration of options for constraining the rotation of a CC3Node when attempting to point at a target node or targetLocation.

Targetting can be constrained to use either local or global coordinates, and can be further constrained to rotate only around a single axis.

Enumerator:
kCC3TargettingConstraintLocalUnconstrained 

Rotate around all axes in the local coordinate system.

kCC3TargettingConstraintLocalXAxis 

Rotate only around the X-axis in the local coordinate system.

kCC3TargettingConstraintLocalYAxis 

Rotate only around the Y-axis in the local coordinate system.

kCC3TargettingConstraintLocalZAxis 

Rotate only around the Z-axis in the local coordinate system.

kCC3TargettingConstraintGlobalUnconstrained 

Rotate around all axes in the global coordinate system.

kCC3TargettingConstraintGlobalXAxis 

Rotate only around the X-axis in the global coordinate system.

kCC3TargettingConstraintGlobalYAxis 

Rotate only around the Y-axis in the global coordinate system.

kCC3TargettingConstraintGlobalZAxis 

Rotate only around the Z-axis in the global coordinate system.

DEPRECATED_ATTRIBUTE 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.
DEPRECATED_ATTRIBUTE 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.
DEPRECATED_ATTRIBUTE 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.
DEPRECATED_ATTRIBUTE 
Deprecated:
Renamed to kCC3TargettingConstraintGlobalUnconstrained.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalXAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalYAxis.
Deprecated:
Renamed to kCC3TargettingConstraintGlobalZAxis.