r3iarttr

r3iarttr

Class

real/intact/r3iarttr.h

Library

r3ia

Description:

Interactor for constructor tools (such as rotator, aligner etc.).

See Also

real/intact/r3ianp.h

See Also

oops/r3vect.h

Super Class

r3Ianp

R3CLID_IANP

JavaScript

r3Iarotator

Class Identifier

R3CLID_IAROTATOR - 654

Methods

Attributes

Count, Angle, CopyMethod, Orientation, Translate, Rotate,

Registration

int R3RegisterIaRotatorClass(R3APP *app);

Count

Attribute

Count

Identifier

R3IARTTRA_Count

JavaScript type

Integer

C type

R3INT

Description

number of copies

Syntax


jsobj.SetCount(value);
value = jsobj.GetCount();


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

Angle

Attribute

Angle

Identifier

R3IARTTRA_Angle

JavaScript type

Number

C type

R3FLOAT

Description

rotation angle

Syntax


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


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

CopyMethod

Attribute

CopyMethod

Identifier

R3IARTTRA_CopyMethod

JavaScript type

Integer

C type

R3INT

Description

copymethod for rotator

Syntax


jsobj.SetCopyMethod(value);
value = jsobj.GetCopyMethod();


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

Orientation

Attribute

Orientation

Identifier

R3IARTTRA_Orientation

JavaScript type

Integer

C type

R3INT

Description

see define methods below, note if translation FRONT is not supported

Syntax


jsobj.SetOrientation(value);
value = jsobj.GetOrientation();


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

Translate

Attribute

Translate

Identifier

R3IARTTRA_Translate

JavaScript type

Boolean

C type

R3BOOL

Description

if true, translates along the given axis

Syntax


jsobj.SetTranslate(value);
value = jsobj.GetTranslate();


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

Rotate

Attribute

Rotate

Identifier

R3IARTTRA_Rotate

JavaScript type

Boolean

C type

R3BOOL

Description

if true, rotates about given axis

Syntax


jsobj.SetRotate(value);
value = jsobj.GetRotate();


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

R3IARTTRADM_FRONT
R3IARTTRADM_SIDE

R3IARTRCM_INSTANCE
R3IARTRCM_DUPLICATE


r3appobj *