r3usrchn

r3colchn
r3fltchn
r3vecchn

r3usrchn

Class

real/code/r3usrchn.h

Library

r3code

Description:

User defined channel

See Also

oops/r3model.h

Super Class

r3Model

R3CLID_MODEL

JavaScript

r3Userchannel

Class Identifier

R3CLID_USERCHANNEL - 1307

Methods

RENDER, TOPOINTWISE, FROMPOINTWISE,

Attributes

UniqueId,

Registration

int R3RegisterUserChannelClass(R3APP *app);

R3USERCHNM_RENDER

Method

RENDER

Identifier

R3USERCHNM_RENDER

Param 3:

R3TAG*, R3USRCHNA_Renderer

JavaScript

obj.RENDER(p3);

Description

Render channels

R3USERCHNCM_TOPOINTWISE

Method

TOPOINTWISE

Identifier

R3USERCHNCM_TOPOINTWISE

Param 3:

R3INT, channel id to be mapped

JavaScript

obj.TOPOINTWISE(p3);

Description

map user channel tag to pointwise counterpart

R3USERCHNCM_FROMPOINTWISE

Method

FROMPOINTWISE

Identifier

R3USERCHNCM_FROMPOINTWISE

Param 3:

R3INT, pointwise channel id to be mapped

JavaScript

obj.FROMPOINTWISE(p3);

Description

inverse of above

UniqueId

Attribute

UniqueId

Identifier

R3USERCHNA_UniqueId

JavaScript type

Integer

C type

R3INT

Description

unique identifier, READ ONLY

Syntax


jsobj.SetUniqueId(value);
value = jsobj.GetUniqueId();


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

Unique ids are mapped to values starting from this

R3USERCHNA_DYNAMICATTRBASE

Pointwise counterparts

R3USERCHNA_POINTWISEATTRBASE

Tags

Tags

R3USERCHNA_Renderer