r3iaangle

r3iaangle

Class

real/intact/r3iaangle.h

Library

r3ia

Description:

Angle based rotate interactor

See Also

real/intact/r3ianp.h

See Also

oops/r3vect.h

Super Class

r3Ianp

R3CLID_IANP

JavaScript

r3Iaangle

Class Identifier

R3CLID_IAANGLE - 1911

Attributes

Angle, RotateSpace, Dimension, Method, DisableConstraints,

Registration

int R3RegisterIaAngleClass(R3APP *app);

Angle

Attribute

Angle

Identifier

R3IAAA_Angle

JavaScript type

Number

C type

R3FLOAT

Description

rotation angle

Syntax


jsobj.SetAngle(value);
value = jsobj.GetAngle();


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3IAAA_Angle, value, R3TAG_END);
R3FLOAT value;
R3GetAttrs(r3obj, R3IAAA_Angle, &value, R3TAG_END);

RotateSpace

Attribute

RotateSpace

Identifier

R3IAAA_RotateSpace

Type

r3Coordsys

Description

rotation space, rotation is defined about 'hor' axis

Syntax


jsobj.SetRotateSpace(value);


R3COORDSYS* value = ...;
R3SetAttrs(r3obj, R3IAAA_RotateSpace, value, R3TAG_END);

Dimension

Attribute

Dimension

Identifier

R3IAAA_Dimension

JavaScript type

Integer

C type

R3INT

Description

ordnum of the dimension (0 = x, 1 = y, 2 = z)

Syntax


jsobj.SetDimension(value);
value = jsobj.GetDimension();


R3INT value = ...;
R3SetAttrs(r3obj, R3IAAA_Dimension, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3IAAA_Dimension, &value, R3TAG_END);

Method

Attribute

Method

Identifier

R3IAAA_Method

JavaScript type

Integer

C type

R3INT

Description

method to be used to control the angle

Syntax


jsobj.SetMethod(value);
value = jsobj.GetMethod();


R3INT value = ...;
R3SetAttrs(r3obj, R3IAAA_Method, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3IAAA_Method, &value, R3TAG_END);

DisableConstraints

Attribute

DisableConstraints

Identifier

R3IAAA_DisableConstraints

JavaScript type

Boolean

C type

R3BOOL

Description

don't let the interactor to touch skeleton's angle constraints

Syntax


jsobj.SetDisableConstraints(value);
value = jsobj.GetDisableConstraints();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3IAAA_DisableConstraints, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3IAAA_DisableConstraints, &value, R3TAG_END);


r3appobj *