r3oraw
real/frio/r3oraw.h
r3frio
Raw output setting class - a multi-channel base class
r3Output
R3CLID_OUTPUT
r3Rawoutputsettings
R3CLID_RAWOUTPUTSETTINGS - 757
ENABLECHANNEL, DTCALLBACKENABLEC, DISABLECHANNEL, DISABLEALLCHANNEL, SETCHANNELSTORAGE, CLEARSTORAGETYPES, INSERTCHANNELLIST, SETNORMALVALUE, RENAMECHANNEL, SIGNED,
ChannelList, ChannelCount, Channels, ChannelIndices, ChannelTypes, ChannelNormValues, ChannelSigns,
int R3RegisterRawOutputSettingsClass(R3APP *app);
R3RAWOSETM_ENABLECHANNEL
ENABLECHANNEL
R3RAWOSETM_ENABLECHANNEL
R3INT, storage type to use for the channel (if 0, default or previous value used)
char*, name of the channel. If NULL, default class defined channel name is used
R3INT, channel base class id
obj.ENABLECHANNEL(p1, p2, p3);
Attempts to enable a channel and optionally defines the storage type for it. * If the channel was already enabled, the method only checks the old storage type * and the new given one and selects the more accurate one (if variable storage type supported). * If no storage type is defined, the default storage type as defined by R3CHCA_NormalStorageType * will be used.
R3RAWOSETM_DTCALLBACKENABLEC
DTCALLBACKENABLEC
R3RAWOSETM_DTCALLBACKENABLEC
R3INT, channel index
R3INT, channel clid
R3TAG*, tag list. See r3raw.h and R3RAWM_ENUMCHANNELS for more information.
obj.DTCALLBACKENABLEC(p1, p2, p3);
Enables a channel using the parameters from RAWM_ENUMCHANNELS. * Can be used for building the channel list from an existing datatype object.
R3RAWOSETM_DISABLECHANNEL
DISABLECHANNEL
R3RAWOSETM_DISABLECHANNEL
char*, name of the channel
obj.DISABLECHANNEL(p3);
disables a channel enabled by the previous method.
R3RAWOSETM_DISABLEALLCHANNEL
DISABLEALLCHANNEL
R3RAWOSETM_DISABLEALLCHANNEL
obj.DISABLEALLCHANNEL();
disables all channels
R3RAWOSETM_SETCHANNELSTORAGE
SETCHANNELSTORAGE
R3RAWOSETM_SETCHANNELSTORAGE
char*, name of the channel
R3INT, storage type to use for the channel R3TID_BYTE-R3TID_FLOAT, see r3typids.h
obj.SETCHANNELSTORAGE(p1, p3);
sets the storage type for a channel
R3RAWOSETM_CLEARSTORAGETYPES
CLEARSTORAGETYPES
R3RAWOSETM_CLEARSTORAGETYPES
obj.CLEARSTORAGETYPES();
clears storage types of all channels. Storage types * of enabled channes must be then redefined before use !
R3RAWOSETM_INSERTCHANNELLIST
INSERTCHANNELLIST
R3RAWOSETM_INSERTCHANNELLIST
R3LIST, a list of R3RAYNODEs (see r3output.h)
obj.INSERTCHANNELLIST(p3);
Adds all channels of a R3RAYNODE list to the object
R3RAWOSETM_SETNORMALVALUE
SETNORMALVALUE
R3RAWOSETM_SETNORMALVALUE
char*, name of the channel
R3INT, normvalue.
obj.SETNORMALVALUE(p1, p3);
sets the 'normal value' for a channel
R3RAWOSETM_RENAMECHANNEL
RENAMECHANNEL
R3RAWOSETM_RENAMECHANNEL
char*, old name of the channel
char*, new name of the channel
obj.RENAMECHANNEL(p1, p3);
changes a channel name
R3RAWOSETM_SIGNED
SIGNED
R3RAWOSETM_SIGNED
char*, name of the channel
R3BOOL, if TRUE channel values are treated as signed units.
obj.SIGNED(p1, p3);
sets the signed/unsigned state for a channel
ChannelList
ChannelList
R3RAWOSETA_ChannelList
r3List
R3LIST*
see R3RAWCHANNEL node below
value = jsobj.GetChannelList();
R3LIST* value;
R3GetAttrs(r3obj, R3RAWOSETA_ChannelList, &value, R3TAG_END);
ChannelCount
ChannelCount
R3RAWOSETA_ChannelCount
Integer
R3INT
read only, number of channels included
jsobj.SetChannelCount(value);
value = jsobj.GetChannelCount();
R3INT value = ...;
R3SetAttrs(r3obj, R3RAWOSETA_ChannelCount, value, R3TAG_END);
R3INT value;
R3GetAttrs(r3obj, R3RAWOSETA_ChannelCount, &value, R3TAG_END);
Channels
Channels
R3RAWOSETA_Channels
Integer
R3INT*
read only attribute for reading the included channel clids to R3INT array
jsobj.SetChannels(value);
value = jsobj.GetChannels();
R3INT* value = ...;
R3SetAttrs(r3obj, R3RAWOSETA_Channels, value, R3TAG_END);
R3INT* value;
R3GetAttrs(r3obj, R3RAWOSETA_Channels, &value, R3TAG_END);
ChannelIndices
ChannelIndices
R3RAWOSETA_ChannelIndices
Integer
R3INT*
read only attribute for reading the included channel indices to R3INT array
value = jsobj.GetChannelIndices();
R3INT* value;
R3GetAttrs(r3obj, R3RAWOSETA_ChannelIndices, &value, R3TAG_END);
ChannelTypes
ChannelTypes
R3RAWOSETA_ChannelTypes
Integer
R3INT*
read only attribute for reading the included channel typeids to R3INT array
jsobj.SetChannelTypes(value);
value = jsobj.GetChannelTypes();
R3INT* value = ...;
R3SetAttrs(r3obj, R3RAWOSETA_ChannelTypes, value, R3TAG_END);
R3INT* value;
R3GetAttrs(r3obj, R3RAWOSETA_ChannelTypes, &value, R3TAG_END);
ChannelNormValues
ChannelNormValues
R3RAWOSETA_ChannelNormValues
Integer
R3INT*
read only attribute for reading the included channel norm values to R3INT array
value = jsobj.GetChannelNormValues();
R3INT* value;
R3GetAttrs(r3obj, R3RAWOSETA_ChannelNormValues, &value, R3TAG_END);
ChannelSigns
ChannelSigns
R3RAWOSETA_ChannelSigns
String
R3BYTE*
read only attribute for reading the included channel signs to R3BYTE array
value = jsobj.GetChannelSigns();
R3BYTE* value;
R3GetAttrs(r3obj, R3RAWOSETA_ChannelSigns, &value, R3TAG_END);
Channel clid
Unique identifier for OSETM_SELECTCHANNELS
Counter to separate multiple copies of same clid. tag & dtindex define the channel uniquely
Unused
image buffer, if given outside
For conversion between floating point and integer data types: intval = normvalue*floatval For example, for byte data type holding color values normvalue = 255. See also r3dtype.h
if TRUE channel values are treated as signed units