Classes


Last modified: 2013-2-27

Class JitterObject

Extends Maxobj.

Creates Jitter objects (use JitterMatrix for jit.matrix)

Class Summary
Constructor Attributes Constructor Name and Description
 
JitterObject(object_name, params)
Creates Jitter objects.
Fields borrowed from class Maxobj:
background, canhilite, colorindex, fontface, fontname, fontsize, hidden, hint, ignoreclick, js, maxclass, nextobject, patcher, rect, selected, valid, varname
Method Summary
Method Attributes Method Name and Description
void 
Deletes the JitterObject
String 
Methods borrowed from class Maxobj:
annotation, color, help, message, notify, subpatcher, understands
Class Detail

JitterObject

(object_name, params)
Creates Jitter objects. (use JitterMatrix for jit.matrix)

Most JitterObjects implement a function matrixcalc() to render/calculate their containig matrix;
Example:
var win = new JitterObject("jit.window", 800, 600, "@fsaa", 1);
var rend = new JitterObject("jit.gl.render",win.getregisteredname());

//example for matrixcalc()
var output_a = new JitterMatrix();
var output_r = new JitterMatrix();
var output_g = new JitterMatrix();
var output_b = new JitterMatrix();

function redtester(inname){
	var input = new JitterMatrix(inname);
	var unpacker = new JitterObject("jit.unpack");

	output_a.setinfo(1,input.type,input.dim);
	output_r.setinfo(1,input.type,input.dim);
	output_g.setinfo(1,input.type,input.dim);
	output_b.setinfo(1,input.type,input.dim);

	// note array for outputs
	unpacker.matrixcalc(input,[output_a,output_r,output_g,output_b]);
	outlet(0,"jit_matrix",output_r.name);
}
Parameters:
{String} object_name
Name of Jitter object
{mixed} params
Parameter and attributes
 
Method Detail
{void}

freepeer

()
Deletes the JitterObject

{String}

getregisteredname

()

©2012-2013
Max MSP Documentation copied to JsDoc by Tim Schenk SEO Frelancer Berlin. Some examples are by him. Some descriptions of classes, interfaces, properties, methods or events are by him. Until now, most of it is a copy. Published with permission of Cycling '74. This document might be wrong or incomplete. All informations without any warranty. All trademarks are the property of their respective owners. Documentation generated by JsDoc Toolkit on 2013-2-27