r3line

r3line

Class

plugins/postproc/line/r3line.h

Library

r3line

Description:

Line rendering class.

See Also

real/raytr/r3postpr.h

Super Class

r3Postprocessor

R3CLID_POSTPROCESSOR

JavaScript

r3Linerender

Class Identifier

R3CLID_LINERENDER - 1537

Attributes

MinSize, MaxSize, Channel, TriggerChannel, WidthChannel, TriggerFrom, TriggerTo, FilterWidth,

Registration

int R3RegisterLineRenderClass(R3APP *app);

MinSize

Attribute

MinSize

Identifier

R3LINEA_MinSize

JavaScript type

Number

C type

R3FLOAT

Description

min. line width (relative to image)

Syntax


jsobj.SetMinSize(value);


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

MaxSize

Attribute

MaxSize

Identifier

R3LINEA_MaxSize

JavaScript type

Integer

C type

R3INT

Description

max. line width

Syntax


jsobj.SetMaxSize(value);


R3INT value = ...;
R3SetAttrs(r3obj, R3LINEA_MaxSize, value, R3TAG_END);

Channel

Attribute

Channel

Identifier

R3LINEA_Channel

JavaScript type

String

C type

char*

Description

name of channel where lines are drawn

Syntax


jsobj.SetChannel(value);


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

TriggerChannel

Attribute

TriggerChannel

Identifier

R3LINEA_TriggerChannel

JavaScript type

String

C type

char*

Description

name of channel triggering the line drawing

Syntax


jsobj.SetTriggerChannel(value);


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

WidthChannel

Attribute

WidthChannel

Identifier

R3LINEA_WidthChannel

JavaScript type

String

C type

char*

Description

optinal channel that controls line width

Syntax


jsobj.SetWidthChannel(value);


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

TriggerFrom

Attribute

TriggerFrom

Identifier

R3LINEA_TriggerFrom

JavaScript type

Number

C type

R3FLOAT

Description

min. triggering level

Syntax


jsobj.SetTriggerFrom(value);


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

TriggerTo

Attribute

TriggerTo

Identifier

R3LINEA_TriggerTo

JavaScript type

Number

C type

R3FLOAT

Description

max. triggering level

Syntax


jsobj.SetTriggerTo(value);


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

FilterWidth

Attribute

FilterWidth

Identifier

R3LINEA_FilterWidth

JavaScript type

Boolean

C type

R3BOOL

Description

apply dist. filter to find line width

Syntax


jsobj.SetFilterWidth(value);


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