|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.cycling74.jitter.JitterObject | +--com.cycling74.jitter.JitterMatrix
JitterMatrix
is a java wrapper for the Jitter Matrix object
Fields inherited from class com.cycling74.jitter.JitterObject |
_p_obj |
Constructor Summary | |
JitterMatrix()
creates a JitterMatrix with default planecount, type, dimensions
and auto-generated name |
|
JitterMatrix(com.cycling74.max.Atom[] args)
creates a JitterMatrix with atom arguments which
parallel those typed into a max object box |
|
JitterMatrix(java.awt.image.BufferedImage img)
creates a 4 plane char JitterMatrix with the data from a BufferedImage |
|
JitterMatrix(int planecount,
java.lang.String type,
int x_dim)
creates a JitterMatrix with auto-generated name |
|
JitterMatrix(int planecount,
java.lang.String type,
int[] dim)
creates a JitterMatrix with auto-generated name |
|
JitterMatrix(int planecount,
java.lang.String type,
int x_dim,
int y_dim)
creates a JitterMatrix with auto-generated name |
|
JitterMatrix(int planecount,
java.lang.String type,
int x_dim,
int y_dim,
int z_dim)
creates a JitterMatrix with auto-generated name |
|
JitterMatrix(java.lang.String name)
creates a JitterMatrix with a specific name and
default planecount, type, and dimensions if the named matrix
does not already exist |
|
JitterMatrix(java.lang.String name,
int planecount,
java.lang.String type,
int x_dim)
creates a JitterMatrix with a specific name |
|
JitterMatrix(java.lang.String name,
int planecount,
java.lang.String type,
int[] dim)
creates a JitterMatrix with a specific name |
|
JitterMatrix(java.lang.String name,
int planecount,
java.lang.String type,
int x_dim,
int y_dim)
creates a JitterMatrix with a specific name |
|
JitterMatrix(java.lang.String name,
int planecount,
java.lang.String type,
int x_dim,
int y_dim,
int z_dim)
creates a JitterMatrix with a specific name |
Method Summary | |
void |
clear()
clears the peer Jitter matrix |
int |
copyArrayToVector(int dim,
int[] offset,
double[] array,
int count,
int arrayoffset)
copies a double array to a vector in the JitterMatrix |
int |
copyArrayToVector(int dim,
int[] offset,
float[] array,
int count,
int arrayoffset)
copies a float array to a vector in the JitterMatrix |
int |
copyArrayToVector(int dim,
int[] offset,
int[] array,
int count,
int arrayoffset)
copies an integer array to a vector in the JitterMatrix |
int |
copyArrayToVectorPlanar(int plane,
int dim,
int[] offset,
double[] array,
int count,
int arrayoffset)
copies a double array to a single plane in a vector in the JitterMatrix |
int |
copyArrayToVectorPlanar(int plane,
int dim,
int[] offset,
float[] array,
int count,
int arrayoffset)
copies a float array to a single plane in a vector in the JitterMatrix |
int |
copyArrayToVectorPlanar(int plane,
int dim,
int[] offset,
int[] array,
int count,
int arrayoffset)
copies an integer array to a single plane in a vector in the JitterMatrix |
void |
copyBufferedImage(java.awt.image.BufferedImage img)
Copies data from a BufferedImage into a matrix, resizing the matrix if necessary |
int |
copyVectorToArray(int dim,
int[] offset,
double[] array,
int count,
int arrayoffset)
copies a vector from the JitterMatrix to a double array |
int |
copyVectorToArray(int dim,
int[] offset,
float[] array,
int count,
int arrayoffset)
copies a vector from the JitterMatrix to a float array |
int |
copyVectorToArray(int dim,
int[] offset,
int[] array,
int count,
int arrayoffset)
copies a vector from the JitterMatrix to an integer array |
int |
copyVectorToArrayPlanar(int plane,
int dim,
int[] offset,
double[] array,
int count,
int arrayoffset)
copies a single plane from a vector from the JitterMatrix to a double array |
int |
copyVectorToArrayPlanar(int plane,
int dim,
int[] offset,
float[] array,
int count,
int arrayoffset)
copies a single plane from a vector from the JitterMatrix to a float array |
int |
copyVectorToArrayPlanar(int plane,
int dim,
int[] offset,
int[] array,
int count,
int arrayoffset)
copies a single plane from a vector from the JitterMatrix to an integer array |
java.awt.image.BufferedImage |
createBufferedImage()
Creates a BufferedImage from the contents of the matrix. |
com.cycling74.max.Atom[] |
exportimage()
calls the exportimage method |
com.cycling74.max.Atom[] |
exportimage(com.cycling74.max.Atom[] args)
calls the exportimage method |
com.cycling74.max.Atom[] |
exportimage(java.lang.String filename)
calls the exportimage method |
com.cycling74.max.Atom[] |
exportmovie()
calls the exportmovie method |
com.cycling74.max.Atom[] |
exportmovie(com.cycling74.max.Atom[] args)
calls the exportmovie method |
com.cycling74.max.Atom[] |
exportmovie(java.lang.String filename)
calls the exportmovie method |
void |
frommatrix(JitterMatrix matrix)
sends the frommatrix message |
void |
frommatrix(java.lang.String matrixname)
sends the frommatrix message |
boolean |
getAdapt()
|
com.cycling74.max.Atom[] |
getcell(int[] position)
sends getcell message |
com.cycling74.max.Atom[] |
getcell1d(int x)
gets the value of a cell from a one-dimensional matrix |
double[] |
getcell1dDouble(int x)
gets the value of a cell from a one-dimensional double matrix |
float[] |
getcell1dFloat(int x)
gets the value of a cell from a one-dimensional float32 matrix |
int[] |
getcell1dInt(int x)
gets the value of a cell from a one-dimensional char or long matrix |
com.cycling74.max.Atom[] |
getcell2d(int x,
int y)
gets the value of a cell from a two-dimensional matrix |
double[] |
getcell2dDouble(int x,
int y)
gets the value of a cell from a two-dimensional double matrix |
float[] |
getcell2dFloat(int x,
int y)
gets the value of a cell from a two-dimensional float32 matrix |
int[] |
getcell2dInt(int x,
int y)
gets the value of a cell from a two-dimensional char or long matrix |
com.cycling74.max.Atom[] |
getcell3d(int x,
int y,
int z)
gets the value of a cell from a three-dimensional matrix |
double[] |
getcell3dDouble(int x,
int y,
int z)
gets the value of a cell from a three-dimensional double matrix |
float[] |
getcell3dFloat(int x,
int y,
int z)
gets the value of a cell from a three-dimensional float32 matrix |
int[] |
getcell3dInt(int x,
int y,
int z)
gets the value of a cell from a three-dimensional char or long matrix |
double[] |
getcellDouble(int[] position)
gets the value of a cell from a double matrix |
float[] |
getcellFloat(int[] position)
gets the value of a cell from a float32 matrix |
int[] |
getcellInt(int[] position)
gets the value of a cell from a char or long matrix |
int[] |
getDim()
|
int[] |
getDstdimend()
|
int[] |
getDstdimstart()
|
boolean |
getInterp()
|
java.lang.String |
getName()
|
int |
getPlanecount()
|
int[] |
getPlanemap()
|
int[] |
getSrcdimend()
|
int[] |
getSrcdimstart()
|
java.lang.String |
getType()
|
boolean |
getUsedstdim()
|
boolean |
getUsesrcdim()
|
java.lang.String |
importmovie()
sends the importmovie message without arguments |
java.lang.String |
importmovie(com.cycling74.max.Atom[] args)
sends the importmovie message with arguments |
java.lang.String |
importmovie(java.lang.String filename)
sends the importmovie message with a specified filename |
void |
op(java.lang.String op)
sends an op message with specified operator |
void |
op(java.lang.String op,
double val)
sends an op message with specified operator and double operand |
void |
op(java.lang.String op,
double[] vals)
sends an op message with specified operator, and double operands |
void |
op(java.lang.String op,
float val)
sends an op message with specified operator and float operand |
void |
op(java.lang.String op,
float[] vals)
sends an op message with specified operator, and float operands |
void |
op(java.lang.String op,
int val)
sends an op message with specified operator and integer operand |
void |
op(java.lang.String op,
int[] vals)
sends an op message with specified operator, and integer operands |
void |
op(java.lang.String op,
JitterMatrix matrix)
sends an op message with specified operator and operand JitterMatrix |
void |
op(java.lang.String op,
JitterMatrix matrix,
double val)
sends an op message with specified operator, operand JitterMatrix, and double operand |
void |
op(java.lang.String op,
JitterMatrix matrix,
double[] vals)
sends an op message with specified operator, a JitterMatrix operand, and double operands |
void |
op(java.lang.String op,
JitterMatrix matrix,
float val)
sends an op message with specified operator, operand JitterMatrix, and float operand |
void |
op(java.lang.String op,
JitterMatrix matrix,
float[] vals)
sends an op message with specified operator, a JitterMatrix operand, and float operands |
void |
op(java.lang.String op,
JitterMatrix matrix,
int val)
sends an op message with specified operator, operand JitterMatrix, and integer operand |
void |
op(java.lang.String op,
JitterMatrix matrix,
int[] vals)
sends an op message with specified operator, a JitterMatrix operand, and integer operands |
void |
op(java.lang.String op,
JitterMatrix a_matrix,
JitterMatrix b_matrix)
sends an op message with specified operator and two operand JitterMatrixs |
void |
op(java.lang.String op,
java.lang.String matrixname)
sends an op message with specified operator and operand matrix name |
void |
op(java.lang.String op,
java.lang.String matrixname,
double val)
sends an op message with specified operator, operand matrix name, and double operand |
void |
op(java.lang.String op,
java.lang.String matrixname,
double[] vals)
sends an op message with specified operator, named matrix operand, and double operands |
void |
op(java.lang.String op,
java.lang.String matrixname,
float val)
sends an op message with specified operator, operand matrix name, and float operand |
void |
op(java.lang.String op,
java.lang.String matrixname,
float[] vals)
sends an op message with specified operator, named matrix operand, and float operands |
void |
op(java.lang.String op,
java.lang.String matrixname,
int val)
sends an op message with specified operator, operand matrix name, and integer operand |
void |
op(java.lang.String op,
java.lang.String matrixname,
int[] vals)
sends an op message with specified operator, named matrix operand, and integer operands |
void |
op(java.lang.String op,
java.lang.String a_matrixname,
java.lang.String b_matrixname)
sends an op message with specified operator and two named operand matrices |
com.cycling74.max.Atom[] |
read()
sends a read message |
com.cycling74.max.Atom[] |
read(com.cycling74.max.Atom[] args)
sends a read message with arguments |
com.cycling74.max.Atom[] |
read(java.lang.String filename)
sends a read message with specified filename |
boolean |
setAdapt(boolean on)
|
boolean |
setAdapt(int on)
|
void |
setall(com.cycling74.max.Atom val)
sends a setall message |
void |
setall(com.cycling74.max.Atom[] vals)
sends a setall message |
void |
setall(double val)
sends a setall message |
void |
setall(double[] vals)
sends a setall message |
void |
setall(float val)
sends a setall message |
void |
setall(float[] vals)
sends a setall message |
void |
setall(int val)
sends a setall message |
void |
setall(int[] vals)
sends a setall message |
void |
setcell(com.cycling74.max.Atom[] args)
sends a setcell message |
void |
setcell(int[] position,
double[] vals)
sends a setcell message |
void |
setcell(int[] position,
float[] vals)
sends a setcell message |
void |
setcell(int[] position,
int[] vals)
sends a setcell message |
void |
setcell(int[] position,
int plane,
double val)
sends a setcell message |
void |
setcell(int[] position,
int plane,
float val)
sends a setcell message |
void |
setcell(int[] position,
int plane,
int val)
sends a setcell message |
void |
setcell1d(int x,
double[] vals)
sets the values of a cell in a one-dimensional matrix |
void |
setcell1d(int x,
float[] vals)
sets the values of a cell in a one-dimensional matrix |
void |
setcell1d(int x,
int[] vals)
sets the values of a cell in a one-dimensional matrix |
void |
setcell2d(int x,
int y,
double[] vals)
sets the values of a cell in a two-dimensional matrix |
void |
setcell2d(int x,
int y,
float[] vals)
sets the values of a cell in a two-dimensional matrix |
void |
setcell2d(int x,
int y,
int[] vals)
sets the values of a cell in a two-dimensional matrix |
void |
setcell3d(int x,
int y,
int z,
double[] vals)
sets the values of a cell in a three-dimensional matrix |
void |
setcell3d(int x,
int y,
int z,
float[] vals)
sets the values of a cell in a three-dimensional matrix |
void |
setcell3d(int x,
int y,
int z,
int[] vals)
sets the values of a cell in a three-dimensional matrix |
boolean |
setDim(int[] dim)
|
boolean |
setDstdimend(int[] dim)
|
boolean |
setDstdimstart(int[] dim)
sets the dstdimstart attribute for the peer Jitter matrix |
void |
setinfo(JitterMatrix matrix)
sends a setinfo message, which sets the matrix dimensions to those of the argument matrix |
void |
setinfo(java.lang.String matrixname)
sends a setinfo message, which sets the matrix dimensions to those of the argument matrix |
boolean |
setInterp(boolean on)
sets the interp attribute of the peer Jitter matrix |
boolean |
setInterp(int on)
sets the interp attribute of the peer Jitter matrix |
boolean |
setName(java.lang.String name)
sets the name attribute of the peer Jitter matrix |
boolean |
setPlanecount(int count)
sets the planecount attribute of the peer Jitter matrix |
boolean |
setPlanemap(int[] map)
sets the values of the planemap attribute of the peer Jitter matrix |
boolean |
setSrcdimend(int[] dim)
sets the values of the srcdimend attribute of the peer Jitter matrix |
boolean |
setSrcdimstart(int[] dim)
sets the values of the srcdimstart attribute of the peer Jitter matrix |
boolean |
setType(java.lang.String type)
sets the value of the type attribute of the peer Jitter matrix |
com.cycling74.max.Atom[] |
write()
sends a write message to save the matrix to disk |
com.cycling74.max.Atom[] |
write(com.cycling74.max.Atom[] args)
sends a write message to save the matrix to disk |
com.cycling74.max.Atom[] |
write(java.lang.String filename)
sends a write message to save the matrix to disk |
Methods inherited from class com.cycling74.jitter.JitterObject |
_new, bang, call, call, call, call, call, call, call, call, finalize, freePeer, getAttr, getAttrFloat, getAttrFloatArray, getAttrInt, getAttrIntArray, getAttrString, getAttrStringArray, getJitterClass, matrixcalc, send, send, send, send, send, send, send, send, send, send, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, understands |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JitterMatrix()
JitterMatrix
with default planecount, type, dimensions
and auto-generated namepublic JitterMatrix(java.lang.String name)
JitterMatrix
with a specific name and
default planecount, type, and dimensions if the named matrix
does not already existname
- the name of the peer Jitter matrix objectpublic JitterMatrix(com.cycling74.max.Atom[] args)
JitterMatrix
with atom arguments which
parallel those typed into a max object boxargs
- instantiation arguments for the peer Jitter matrixpublic JitterMatrix(int planecount, java.lang.String type, int[] dim)
JitterMatrix
with auto-generated nameplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"dim
- the size of the dimensionspublic JitterMatrix(java.lang.String name, int planecount, java.lang.String type, int[] dim)
JitterMatrix
with a specific namename
- the name of the peer Jitter matrix objectplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"dim
- the size of the dimensionspublic JitterMatrix(int planecount, java.lang.String type, int x_dim)
JitterMatrix
with auto-generated nameplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"x_dim
- the size of the dimensionpublic JitterMatrix(java.lang.String name, int planecount, java.lang.String type, int x_dim)
JitterMatrix
with a specific namename
- the name of the peer Jitter matrix objectplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"x_dim
- the size of the dimensionpublic JitterMatrix(int planecount, java.lang.String type, int x_dim, int y_dim)
JitterMatrix
with auto-generated nameplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"x_dim
- the size of dimension 0y_dim
- the size of dimension 1public JitterMatrix(java.lang.String name, int planecount, java.lang.String type, int x_dim, int y_dim)
JitterMatrix
with a specific namename
- the name of the peer Jitter matrix objectplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"x_dim
- the size of dimension 0y_dim
- the size of dimension 1public JitterMatrix(int planecount, java.lang.String type, int x_dim, int y_dim, int z_dim)
JitterMatrix
with auto-generated nameplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"x_dim
- the size of dimension 0y_dim
- the size of dimension 1z_dim
- the size of dimension 2public JitterMatrix(java.lang.String name, int planecount, java.lang.String type, int x_dim, int y_dim, int z_dim)
JitterMatrix
with a specific namename
- the name of the peer Jitter matrix objectplanecount
- the number of planestype
- the type of matrix: "char", "long", "float32", "float64"x_dim
- the size of dimension 0y_dim
- the size of dimension 1z_dim
- the size of dimension 2public JitterMatrix(java.awt.image.BufferedImage img)
JitterMatrix
with the data from a BufferedImageimg
- the BufferedImage to copy data fromMethod Detail |
public boolean getAdapt()
public int[] getDim()
public int[] getDstdimend()
public int[] getDstdimstart()
public boolean getInterp()
public java.lang.String getName()
public int getPlanecount()
public int[] getPlanemap()
public int[] getSrcdimend()
public int[] getSrcdimstart()
public java.lang.String getType()
public boolean getUsedstdim()
public boolean getUsesrcdim()
public boolean setAdapt(int on)
on
- the value of the adapt attribute to set for the peer Jitter matrixpublic boolean setAdapt(boolean on)
on
- the value of the adapt attribute to set for the peer Jitter matrixpublic boolean setDim(int[] dim)
dim
- the values of the dim attribute to set for the peer Jitter matrixpublic boolean setDstdimend(int[] dim)
dim
- the values of the dstdimend attribute to set for the peer Jitter matrixpublic boolean setDstdimstart(int[] dim)
dim
- the values of the dstdimstart attribute to setpublic boolean setName(java.lang.String name)
name
- the value of the name attribute to setpublic boolean setInterp(int on)
on
- the value of the interp attribute to setpublic boolean setInterp(boolean on)
on
- the value of the interp attribute to setpublic boolean setPlanecount(int count)
count
- the value of the count attribute to setpublic boolean setPlanemap(int[] map)
map
- the values of the map attribute to setpublic boolean setSrcdimend(int[] dim)
dim
- the values of the scrdimend attribute to setpublic boolean setSrcdimstart(int[] dim)
dim
- the values of the srcdimstart attribute to setpublic boolean setType(java.lang.String type)
type
- the value of the type attribute to setpublic void clear()
public com.cycling74.max.Atom[] exportimage()
public com.cycling74.max.Atom[] exportimage(java.lang.String filename)
filename
- the name of the file to export intopublic com.cycling74.max.Atom[] exportimage(com.cycling74.max.Atom[] args)
args
- arguments to the exportimage method: [filename (symbol)] { [file-type (symbol)] } { [use-dialog (int)] }public com.cycling74.max.Atom[] exportmovie()
public com.cycling74.max.Atom[] exportmovie(java.lang.String filename)
filename
- the name of the file to export intopublic com.cycling74.max.Atom[] exportmovie(com.cycling74.max.Atom[] args)
args
- arguments to the exportmovie method: { [filename (symbol)] } [FPS (float)] [codec (symbol)] [quality (symbol)] [timescale (int)]public void frommatrix(java.lang.String matrixname)
matrixname
- the name of the matrix to duplicatepublic void frommatrix(JitterMatrix matrix)
matrix
- the JitterMatrix to duplicatepublic void copyBufferedImage(java.awt.image.BufferedImage img)
img
- the BufferedImage to copy data frompublic java.awt.image.BufferedImage createBufferedImage()
j
- public com.cycling74.max.Atom[] getcell(int[] position)
position
- the indices of the cell to getpublic com.cycling74.max.Atom[] getcell1d(int x)
x
- the index of the cellpublic com.cycling74.max.Atom[] getcell2d(int x, int y)
x
- the x index of the celly
- th y index of the cellpublic com.cycling74.max.Atom[] getcell3d(int x, int y, int z)
x
- the x index of the celly
- the y index of the cellz
- the z index of the cellpublic int[] getcellInt(int[] position)
position
- an array that contains the indices of the cellpublic int[] getcell1dInt(int x)
x
- the index of the cellpublic int[] getcell2dInt(int x, int y)
x
- the x index of the celly
- the y index of the cellpublic int[] getcell3dInt(int x, int y, int z)
x
- the x index of the celly
- the y index of the cellz
- the z index of the cellpublic float[] getcellFloat(int[] position)
position
- an array that contains the indices of the cellpublic float[] getcell1dFloat(int x)
x
- the index of the cellpublic float[] getcell2dFloat(int x, int y)
x
- the x index of the celly
- the y index of the cellpublic float[] getcell3dFloat(int x, int y, int z)
x
- the x index of the celly
- the y index of the cellz
- the z index of the cellpublic double[] getcellDouble(int[] position)
position
- an array that contains the indices of the cellpublic double[] getcell1dDouble(int x)
x
- the x index of the cellpublic double[] getcell2dDouble(int x, int y)
x
- the x index of the celly
- the y index of the cellpublic double[] getcell3dDouble(int x, int y, int z)
x
- the x index of the celly
- the y index of the cellz
- the z index of the cellpublic java.lang.String importmovie()
public java.lang.String importmovie(java.lang.String filename)
filename
- the file name of the movie to importpublic java.lang.String importmovie(com.cycling74.max.Atom[] args)
args
- the arguments to append to the messagepublic void op(java.lang.String op)
op
- the operatorpublic void op(java.lang.String op, java.lang.String matrixname)
op
- the operatormatrixname
- the operand matrix namepublic void op(java.lang.String op, java.lang.String a_matrixname, java.lang.String b_matrixname)
op
- the operatora_matrixname
- operand A matrix nameb_matrixname
- operand B matrix namepublic void op(java.lang.String op, JitterMatrix matrix)
op
- the operatormatrix
- the operandpublic void op(java.lang.String op, JitterMatrix a_matrix, JitterMatrix b_matrix)
op
- the operatora_matrix
- operand Ab_matrix
- operand Bpublic void op(java.lang.String op, int val)
op
- the operatorval
- the operandpublic void op(java.lang.String op, float val)
op
- the operatorval
- the operandpublic void op(java.lang.String op, double val)
op
- the operatorval
- the operandpublic void op(java.lang.String op, java.lang.String matrixname, int val)
op
- the operatormatrixname
- the matrix name operandval
- the integer operandpublic void op(java.lang.String op, java.lang.String matrixname, float val)
op
- the operatormatrixname
- the matrix name operandval
- the float operandpublic void op(java.lang.String op, java.lang.String matrixname, double val)
op
- the operatormatrixname
- the matrix name operandval
- the double operandpublic void op(java.lang.String op, JitterMatrix matrix, int val)
op
- the operatormatrix
- the operand JitterMatrixval
- the integer operandpublic void op(java.lang.String op, JitterMatrix matrix, float val)
op
- the operatormatrix
- the operand JitterMatrixval
- the integer operandpublic void op(java.lang.String op, JitterMatrix matrix, double val)
op
- the operatormatrix
- the operand JitterMatrixval
- the integer operandpublic void op(java.lang.String op, int[] vals)
op
- the operatorvals
- the integer operandspublic void op(java.lang.String op, float[] vals)
op
- the operatorvals
- the float operandspublic void op(java.lang.String op, double[] vals)
op
- the operatorvals
- the double operandspublic void op(java.lang.String op, java.lang.String matrixname, int[] vals)
op
- the operatormatrixname
- the name of the matrix operandvals
- the integer operandspublic void op(java.lang.String op, java.lang.String matrixname, float[] vals)
op
- the operatormatrixname
- the name of the matrix operandvals
- the float operandspublic void op(java.lang.String op, java.lang.String matrixname, double[] vals)
op
- the operatormatrixname
- the name of the matrix operandvals
- the double operandspublic void op(java.lang.String op, JitterMatrix matrix, int[] vals)
op
- the operatormatrix
- the JitterMatrix operandvals
- the integer operandspublic void op(java.lang.String op, JitterMatrix matrix, float[] vals)
op
- the operatormatrix
- the JitterMatrix operandvals
- the float operandspublic void op(java.lang.String op, JitterMatrix matrix, double[] vals)
op
- the operatormatrix
- the JitterMatrix operandvals
- the double operandspublic com.cycling74.max.Atom[] read()
public com.cycling74.max.Atom[] read(java.lang.String filename)
filename
- the name of the filepublic com.cycling74.max.Atom[] read(com.cycling74.max.Atom[] args)
args
- the argumentspublic void setall(com.cycling74.max.Atom val)
val
- all elements will be set to his valuepublic void setall(com.cycling74.max.Atom[] vals)
vals
- the planes of every cell will be set to these valuespublic void setall(int val)
val
- all elements will be set to his valuepublic void setall(int[] vals)
vals
- the planes of every cell will be set to these valuespublic void setall(float val)
val
- all elements will be set to his valuepublic void setall(float[] vals)
vals
- the planes of every cell will be set to these valuespublic void setall(double val)
val
- all elements will be set to his valuepublic void setall(double[] vals)
vals
- the planes of every cell will be set to these valuespublic void setcell(com.cycling74.max.Atom[] args)
args
- arguments to the messagepublic void setcell(int[] position, int[] vals)
position
- the indices of the cell to setvals
- the planes of the cell will be set to these valuespublic void setcell(int[] position, float[] vals)
position
- the indices of the cell to setvals
- the planes of the cell will be set to these valuespublic void setcell(int[] position, double[] vals)
position
- the indices of the cell to setvals
- the planes of the cell will be set to these valuespublic void setcell(int[] position, int plane, int val)
position
- the indices of the cell to setplane
- the plane to setval
- the specified plane of the specified cell will be set to this valuepublic void setcell(int[] position, int plane, float val)
position
- the indices of the cell to setplane
- the plane to setval
- the specified plane of the specified cell will be set to this valuepublic void setcell(int[] position, int plane, double val)
position
- the indices of the cell to setplane
- the plane to setval
- the specified plane of the specified cell will be set to this valuepublic void setcell1d(int x, int[] vals)
x
- the x index of the cellvals
- the values to setpublic void setcell1d(int x, float[] vals)
x
- the x index of the cellvals
- the values to setpublic void setcell1d(int x, double[] vals)
x
- the x index of the cellvals
- the values to setpublic void setcell2d(int x, int y, int[] vals)
x
- the x index of the celly
- the y index of the cellvals
- the values to setpublic void setcell2d(int x, int y, float[] vals)
x
- the x index of the celly
- the y index of the cellvals
- the values to setpublic void setcell2d(int x, int y, double[] vals)
x
- the x index of the celly
- the y index of the cellvals
- the values to setpublic void setcell3d(int x, int y, int z, int[] vals)
x
- the x index of the celly
- the y index of the cellz
- the z index of the cellvals
- the values to setpublic void setcell3d(int x, int y, int z, float[] vals)
x
- the x index of the celly
- the y index of the cellz
- the z index of the cellvals
- the values to setpublic void setcell3d(int x, int y, int z, double[] vals)
x
- the x index of the celly
- the y index of the cellz
- the z index of the cellvals
- the values to setpublic void setinfo(java.lang.String matrixname)
matrixname
- the name of the matrixpublic void setinfo(JitterMatrix matrix)
matrix
- the JitterMatrixpublic com.cycling74.max.Atom[] write()
public com.cycling74.max.Atom[] write(java.lang.String filename)
filename
- the filename to writepublic com.cycling74.max.Atom[] write(com.cycling74.max.Atom[] args)
args
- arguments to send with the messagepublic int copyVectorToArray(int dim, int[] offset, int[] array, int count, int arrayoffset)
dim
- the dimension of the vector to copyoffset
- the offset into the matrix to start copying fromarray
- the array into which the values will be placedcount
- the number of values to copyarrayoffset
- where in the array to start placing the valuespublic int copyVectorToArray(int dim, int[] offset, float[] array, int count, int arrayoffset)
dim
- the dimension of the vector to copyoffset
- the offset into the matrix to start copying fromarray
- the array into which the values will be placedcount
- the number of values to copyarrayoffset
- where in the array to start placing the valuespublic int copyVectorToArray(int dim, int[] offset, double[] array, int count, int arrayoffset)
dim
- the dimension of the vector to copyoffset
- the offset into the matrix to start copying fromarray
- the array into which the values will be placedcount
- the number of values to copyarrayoffset
- where in the array to start placing the valuespublic int copyVectorToArrayPlanar(int plane, int dim, int[] offset, int[] array, int count, int arrayoffset)
plane
- the plane to copydim
- the dimension of the vector to copyoffset
- the offset into the matrix to start copying fromarray
- the array into which the values will be placedcount
- the number of values to copyarrayoffset
- where in the array to start placing the valuespublic int copyVectorToArrayPlanar(int plane, int dim, int[] offset, float[] array, int count, int arrayoffset)
plane
- the plane to copydim
- the dimension of the vector to copyoffset
- the offset into the matrix to start copying fromarray
- the array into which the values will be placedcount
- the number of values to copyarrayoffset
- where in the array to start placing the valuespublic int copyVectorToArrayPlanar(int plane, int dim, int[] offset, double[] array, int count, int arrayoffset)
plane
- the plane to copydim
- the dimension of the vector to copyoffset
- the offset into the matrix to start copying fromarray
- the array into which the values will be placedcount
- the number of values to copyarrayoffset
- where in the array to start placing the valuespublic int copyArrayToVector(int dim, int[] offset, int[] array, int count, int arrayoffset)
dim
- the dimension of the destination vectoroffset
- the offset into the destination matrixarray
- the array from which the values will be copiedcount
- the number of values to copyarrayoffset
- where in the array to start copying the valuespublic int copyArrayToVector(int dim, int[] offset, float[] array, int count, int arrayoffset)
dim
- the dimension of the destination vectoroffset
- the offset into the destination matrixarray
- the array from which the values will be copiedcount
- the number of values to copyarrayoffset
- where in the array to start copying the valuespublic int copyArrayToVector(int dim, int[] offset, double[] array, int count, int arrayoffset)
dim
- the dimension of the destination vectoroffset
- the offset into the destination matrixarray
- the array from which the values will be copiedcount
- the number of values to copyarrayoffset
- where in the array to start copying the valuespublic int copyArrayToVectorPlanar(int plane, int dim, int[] offset, int[] array, int count, int arrayoffset)
plane
- the destination planedim
- the dimension of the destination vectoroffset
- the offset into the destination matrixarray
- the array from which the values will be copiedcount
- the number of values to copyarrayoffset
- where in the array to start copying the valuespublic int copyArrayToVectorPlanar(int plane, int dim, int[] offset, float[] array, int count, int arrayoffset)
plane
- the destination planedim
- the dimension of the destination vectoroffset
- the offset into the destination matrixarray
- the array from which the values will be copiedcount
- the number of values to copyarrayoffset
- where in the array to start copying the valuespublic int copyArrayToVectorPlanar(int plane, int dim, int[] offset, double[] array, int count, int arrayoffset)
plane
- the destination planedim
- the dimension of the destination vectoroffset
- the offset into the destination matrixarray
- the array from which the values will be copiedcount
- the number of values to copyarrayoffset
- where in the array to start copying the values
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |