r3rawim

r3rawim

Class

real/dtype/r3rawim.h

Library

r3dtype

Description:

RawImage Class

See Also

real/dtype/r3image.h

See Also

real/dtype/r3raw.h

Super Class

r3Image

R3CLID_IMAGE

JavaScript

r3Rawimage

Class Identifier

R3CLID_RAWIMAGE - 558

Methods

ADDROWRAW, SCALEROWRAW,

Attributes

KeepImage, ShareImageData,

Registration

int R3RegisterRawImageClass(R3APP *app);

Multi-inherited from this virtual class

R3RAWIM_ADDROWRAW

Method

ADDROWRAW

Identifier

R3RAWIM_ADDROWRAW

Param 1:

R3INT, y position of target line (offsets are taken into account)

Param 3:

void*, ptr to a buffer of raw data

JavaScript

obj.ADDROWRAW(p1, p3);

Description

Adds a line of raw data of currently selected channel to previous values

R3RAWIM_SCALEROWRAW

Method

SCALEROWRAW

Identifier

R3RAWIM_SCALEROWRAW

Param 1:

R3INT, y position of scaled line (offsets are taken into account)

Param 3:

R3FLOAT, weighting value that defines the scaling

JavaScript

obj.SCALEROWRAW(p1, p3);

Description

Scales a line of data of currently selected channel

KeepImage

Attribute

KeepImage

Identifier

R3RAWIA_KeepImage

JavaScript type

Boolean

C type

R3BOOL

Description

if TRUE image memory is not deallocated in DTYPEM_END

Syntax


jsobj.SetKeepImage(value);
value = jsobj.GetKeepImage();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3RAWIA_KeepImage, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3RAWIA_KeepImage, &value, R3TAG_END);

ShareImageData

Attribute

ShareImageData

Identifier

R3RAWIA_ShareImageData

JavaScript type

Boolean

C type

R3BOOL

Description

if TRUE image memory is shared between copies

Syntax


jsobj.SetShareImageData(value);
value = jsobj.GetShareImageData();


R3BOOL value = ...;
R3SetAttrs(r3obj, R3RAWIA_ShareImageData, value, R3TAG_END);
R3BOOL value;
R3GetAttrs(r3obj, R3RAWIA_ShareImageData, &value, R3TAG_END);