r3mapsrc

r3frmaba
r3frmat
r3frmale
r3popaef
r3pflare
ppeliren
r3rmprop
r3rmpbm
r3rmpcon
r3rmpcop
r3rmpcur
r3rmpdif
r3rmplev
r3rmplin
r3rmpope
r3rmppl
r3rmpcll
r3rmpvec

r3mapsrc

Class

real/raytr/r3mapsrc.h

Library

r3raytr

Description:

The base class of objects which act as targets for mappings (see r3frmapp.h). Materials, effects etc. can be associated with objects using mapping objects.

See Also

real/raytr/r3frlibo.h

See Also

oops/r3vect.h

Super Class

r3Frlibobject

R3CLID_FRLIBOBJECT

JavaScript

r3Frmapsource

Class Identifier

R3CLID_FRMAPSOURCE - 705

Methods

EVALUATE, ENUMOUTPUTCHANNELS, ENUMINPUTCHANNELS, PHASEQUERY, FILTERENUM,

Registration

int R3RegisterFrMappingSourceClass(R3APP *app);

R3FRMSRCM_EVALUATE

Method

EVALUATE

Identifier

R3FRMSRCM_EVALUATE

Param 1:

R3INT, phase to be evaluated

Param 2:

R3OBJ*, address of the parent map object

JavaScript

obj.EVALUATE(p1, p2, 0);

Description

evaluate the object at given phase

R3FRMSRCM_ENUMOUTPUTCHANNELS

Method

ENUMOUTPUTCHANNELS

Identifier

R3FRMSRCM_ENUMOUTPUTCHANNELS

Param 1:

R3OBJ*, callback object

Param 2:

R3INT, phase mask. Only channels in defined phases will be reported. A particular phase is * indicated by 1<<phaseindex. 0xFFFFFFFF includes all phases.

Param 3:

R3INT, callback method

JavaScript

obj.ENUMOUTPUTCHANNELS(p1, p2, p3);

Description

Report channels which this object affects by * R3SendMsgA3(msg, p1, phasebits, channelname) where phasebits is union of all bits * (1<<activephase), where activephase is the phase(s) where the object is operational

R3FRMSRCM_ENUMINPUTCHANNELS

Method

ENUMINPUTCHANNELS

Identifier

R3FRMSRCM_ENUMINPUTCHANNELS

JavaScript

obj.ENUMINPUTCHANNELS();

Description

Report input channels which this object affects, see ENUMOUTPUTCHANNELS above.

R3FRMSRCM_PHASEQUERY

Method

PHASEQUERY

Identifier

R3FRMSRCM_PHASEQUERY

Param 3:

R3INT*, integer whose bits corresponging each used phase index should be enabled. !!! Add the bits using OR operation !!! p3 |= mybits

JavaScript

obj.PHASEQUERY(p3);

Description

Asks which evaluation phases are being used

R3FRMSRCM_FILTERENUM

Method

FILTERENUM

Identifier

R3FRMSRCM_FILTERENUM

Param 1:

R3OBJ*, callback target

Param 2:

R3INT*, callback method

Param 3:

R3INT, phase bits to filter objects. Do callback only for objects evaluated in these phases

JavaScript

obj.FILTERENUM(p1, p2, p3);

Description

Enumerate objects hierarchically R3DoA(p1, p3, enumerated_obj)

CALLBACK SYSTEM IS NO LONGER IN USE typedef struct r3frmat_evalcallbackmsg { R3OBJ *obj; int method; } R3FRMSRC_EVALCALLBACKMSG;

/


r3appobj *