r3detedr

r3detedr

Class

plugins/postproc/detedge/r3detedr.h

Library

r3detedg

Description:

Edge detection rendering class.

See Also

real/raytr/r3postpr.h

Super Class

r3Postprocessor

R3CLID_POSTPROCESSOR

JavaScript

r3Edgedetectionrender

Class Identifier

R3CLID_EDGEDETECTIONRENDER - 1501

Attributes

Threshold, InChannel, OutChannel, Geometric, NormalThreshold, TangentCorrection, RelativeDistance,

Registration

int R3RegisterEdgeDetectionRenderClass(R3APP *app);

Threshold

Attribute

Threshold

Identifier

R3EDETA_Threshold

JavaScript type

Number

C type

R3FLOAT

Description

edge threshold

Syntax


jsobj.SetThreshold(value);


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EDETA_Threshold, value, R3TAG_END);

InChannel

Attribute

InChannel

Identifier

R3EDETA_InChannel

JavaScript type

String

C type

char*

Description

name of examined channel

Syntax


jsobj.SetInChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3EDETA_InChannel, value, R3TAG_END);

OutChannel

Attribute

OutChannel

Identifier

R3EDETA_OutChannel

JavaScript type

String

C type

char*

Description

name of output channel

Syntax


jsobj.SetOutChannel(value);


char* value = ...;
R3SetAttrs(r3obj, R3EDETA_OutChannel, value, R3TAG_END);

Geometric

Attribute

Geometric

Identifier

R3EDETA_Geometric

JavaScript type

Boolean

C type

R3BOOL

Description

if true geometric continuity is used instead of InChannel

Syntax


jsobj.SetGeometric(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3EDETA_Geometric, value, R3TAG_END);

NormalThreshold

Attribute

NormalThreshold

Identifier

R3EDETA_NormalThreshold

JavaScript type

Number

C type

R3FLOAT

Description

Syntax


jsobj.SetNormalThreshold(value);


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EDETA_NormalThreshold, value, R3TAG_END);

TangentCorrection

Attribute

TangentCorrection

Identifier

R3EDETA_TangentCorrection

JavaScript type

Number

C type

R3FLOAT

Description

Syntax


jsobj.SetTangentCorrection(value);


R3FLOAT value = ...;
R3SetAttrs(r3obj, R3EDETA_TangentCorrection, value, R3TAG_END);

RelativeDistance

Attribute

RelativeDistance

Identifier

R3EDETA_RelativeDistance

JavaScript type

Boolean

C type

R3BOOL

Description

Syntax


jsobj.SetRelativeDistance(value);


R3BOOL value = ...;
R3SetAttrs(r3obj, R3EDETA_RelativeDistance, value, R3TAG_END);