r3imgeff

r3imgeff

Class

real/raytr/r3imgeff.h

Library

r3raytr

Description:

Image effect Class

See Also

real/raytr/r3postpr.h

Super Class

r3Postprocessor

R3CLID_POSTPROCESSOR

JavaScript

r3Imageeffect

Class Identifier

R3CLID_IMAGEEFFECT - 831

Methods

ADDINPUT, REMOVEINPUT, REMOVEALLINPUTS, ADDOUTPUT, REMOVEOUTPUT, REMOVEALLOUTPUTS,

Attributes

InputCount, OutputCount, InputList, OutputList,

Registration

int R3RegisterImageEffectClass(R3APP *app);

R3IMGEFFM_ADDINPUT

Method

ADDINPUT

Identifier

R3IMGEFFM_ADDINPUT

Return

R3BOOL, TRUE if succeeded.

Param 3:

R3OBJ*, image to add

JavaScript

rc = obj.ADDINPUT(p3);

Description

add an image as an input

R3IMGEFFM_REMOVEINPUT

Method

REMOVEINPUT

Identifier

R3IMGEFFM_REMOVEINPUT

Return

R3BOOL, TRUE if succeeded.

Param 3:

R3OBJ*, image to add

JavaScript

rc = obj.REMOVEINPUT(p3);

Description

remove an image from the input list

R3IMGEFFM_REMOVEALLINPUTS

Method

REMOVEALLINPUTS

Identifier

R3IMGEFFM_REMOVEALLINPUTS

Return

R3BOOL, TRUE if succeeded.

Param 3:

R3OBJ*, image to add

JavaScript

rc = obj.REMOVEALLINPUTS(p3);

Description

remove all images from the input list

R3IMGEFFM_ADDOUTPUT

Method

ADDOUTPUT

Identifier

R3IMGEFFM_ADDOUTPUT

Return

R3BOOL, TRUE if succeeded.

Param 3:

R3OBJ*, image to add

JavaScript

rc = obj.ADDOUTPUT(p3);

Description

add an image as an output

R3IMGEFFM_REMOVEOUTPUT

Method

REMOVEOUTPUT

Identifier

R3IMGEFFM_REMOVEOUTPUT

Return

R3BOOL, TRUE if succeeded.

Param 3:

R3OBJ*, image to add

JavaScript

rc = obj.REMOVEOUTPUT(p3);

Description

remove an image from the output list

R3IMGEFFM_REMOVEALLOUTPUTS

Method

REMOVEALLOUTPUTS

Identifier

R3IMGEFFM_REMOVEALLOUTPUTS

Return

R3BOOL, TRUE if succeeded.

Param 3:

R3OBJ*, image to add

JavaScript

rc = obj.REMOVEALLOUTPUTS(p3);

Description

remove all images from the output list

InputCount

Attribute

InputCount

Identifier

R3IMGEFFA_InputCount

JavaScript type

Integer

C type

R3INT

Description

number of input images, read-only

Syntax


value = jsobj.GetInputCount();


R3INT value;
R3GetAttrs(r3obj, R3IMGEFFA_InputCount, &value, R3TAG_END);

OutputCount

Attribute

OutputCount

Identifier

R3IMGEFFA_OutputCount

JavaScript type

Integer

C type

R3INT

Description

number of output images, read-only

Syntax


value = jsobj.GetOutputCount();


R3INT value;
R3GetAttrs(r3obj, R3IMGEFFA_OutputCount, &value, R3TAG_END);

InputList

Attribute

InputList

Identifier

R3IMGEFFA_InputList

JavaScript type

r3List

C type

R3LIST*

Description

list of input images, each node is of type R3IMAGENODE, read-only

Syntax


value = jsobj.GetInputList();


R3LIST* value;
R3GetAttrs(r3obj, R3IMGEFFA_InputList, &value, R3TAG_END);

OutputList

Attribute

OutputList

Identifier

R3IMGEFFA_OutputList

JavaScript type

r3List

C type

R3LIST*

Description

list of output images, each node is of type R3IMAGENODE, read-only

Syntax


value = jsobj.GetOutputList();


R3LIST* value;
R3GetAttrs(r3obj, R3IMGEFFA_OutputList, &value, R3TAG_END);

Nodes for input and output lists