r3phasys

r3phcomm
r3phfilt
r3phfray
r3phfisu
r3phillu
r3phimpr
r3phinit
r3phligh
r3phpopr
r3phscan
r3phsurf
r3phsuge
r3phterm
r3phvolu
r3phvofi
r3phvill
r3phvosh

r3phasys

Class

real/raytr/r3phasys.h

Library

r3raytr

Description:

A general usage manager class. Handles shading phase registering. - New material phases, input and output channels which are valid in the phase can be registered using this class.

See Also

oops/r3root.h

Super Class

r3Root

R3CLID_ROOT

JavaScript

r3Phasesystem

Class Identifier

R3CLID_PHASESYSTEM - 488

Methods

INSTALLPHASE, ENUMPHASEINPUTCHAN, ENUMPHASEOUTPUTCHA, PRINTCHANNELLOG, REGISTERALLOUTPUTC, PHASEINDEXTOCLID,

Attributes

Registration

int R3RegisterPhaseSystemClass(R3APP *app);

R3PHSYSCM_INSTALLPHASE

Method

INSTALLPHASE

Identifier

R3PHSYSCM_INSTALLPHASE

JavaScript

obj.INSTALLPHASE();

Description

Installs a new phase to the material phase system.

R3PHSYSCM_ENUMPHASEINPUTCHAN

Method

ENUMPHASEINPUTCHAN

Identifier

R3PHSYSCM_ENUMPHASEINPUTCHAN

JavaScript

obj.ENUMPHASEINPUTCHAN();

Description

Enumerates all registered input channels in a phase * by R3SendMsgA3(targetobj, targetmth, phaseclid, raysampleselector, channelclid).

R3PHSYSCM_ENUMPHASEOUTPUTCHA

Method

ENUMPHASEOUTPUTCHA

Identifier

R3PHSYSCM_ENUMPHASEOUTPUTCHA

JavaScript

obj.ENUMPHASEOUTPUTCHA();

Description

Enumerates all registered output channels in a phase * by R3SendMsgA2(targetobj, targetmth, phaseclid, channelclid).

R3PHSYSCM_PRINTCHANNELLOG

Method

PRINTCHANNELLOG

Identifier

R3PHSYSCM_PRINTCHANNELLOG

JavaScript

obj.PRINTCHANNELLOG();

Description

R3PHSYSCM_REGISTERALLOUTPUTC

Method

REGISTERALLOUTPUTC

Identifier

R3PHSYSCM_REGISTERALLOUTPUTC

JavaScript

obj.REGISTERALLOUTPUTC();

Description

These two methods can be used to register all plugged channels as * input/output channels for a given phase and sample

R3PHSYSCM_PHASEINDEXTOCLID

Method

PHASEINDEXTOCLID

Identifier

R3PHSYSCM_PHASEINDEXTOCLID

JavaScript

obj.PHASEINDEXTOCLID();

Description

convert phase index to corresponding phase clid *

R3PHASYS_MAXRAYSAMPLES
R3PHASYS_MAXPHASES