GUIDOLib  1.7.7
Guido Engine Internal Documentation
GRSpacingMatrix.h
1 #ifndef GRSpacingMatrix_H
2 #define GRSpacingMatrix_H
3 
4 /*
5  GUIDO Library
6  Copyright (C) 2002 Holger Hoos, Juergen Kilian, Kai Renz
7  Copyright (C) 2002-2017 Grame
8 
9  This Source Code Form is subject to the terms of the Mozilla Public
10  License, v. 2.0. If a copy of the MPL was not distributed with this
11  file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 
13  Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
14  research@grame.fr
15 
16 */
17 
18 class GRSpring;
19 
20 template <class T> class KF_IVector;
21 template <class T> class KF_List;
22 template <class T> class KF_IPointerList;
23 
24 typedef KF_List<int> intlist;
26 
28 
32 {
33  public:
35  virtual ~GRSpacingMatrix();
36 
38  int getMSCMatrixMemSize();
39  double * getMSCMatrix();
40 
41  double getMSCMatrix(int i,int j) const;
42  void setMSCMatrix(int i,int j, double value);
43 
44  double * resizeMSCMatrix( int newrealsize );
45 
46  void AddNeighbourList(KF_List<int> * nl);
47 
48  void CheckNeighbours(ISpringVector *sprvect, float spring);
49 
50  protected:
51 
54  double * mMatrix;
55 
58 
59  int mLastLeft;
61 
62 };
63 
64 #endif
GRSpring
Used with rods and space fore functions.
Definition: GRSpring.h:38
GRSpacingMatrix::GRSpacingMatrix
GRSpacingMatrix()
GRSpacingMatrix::mMatrix
double * mMatrix
Definition: GRSpacingMatrix.h:54
GRSpacingMatrix::mNeighbours
listofpointerstointlists * mNeighbours
Definition: GRSpacingMatrix.h:56
GRSpacingMatrix::mMatrixMemSize
int mMatrixMemSize
Definition: GRSpacingMatrix.h:52
GRSpacingMatrix::mNeighboursRight
listofpointerstointlists * mNeighboursRight
Definition: GRSpacingMatrix.h:57
GRSpacingMatrix::CheckNeighbours
void CheckNeighbours(ISpringVector *sprvect, float spring)
GRSpacingMatrix::getMSCMatrixMemSize
int getMSCMatrixMemSize()
KF_IPointerList
Definition: ARMusicalVoiceState.h:33
GRSpacingMatrix::getMSCMatrix
double * getMSCMatrix()
GRSpacingMatrix::resizeMSCMatrix
double * resizeMSCMatrix(int newrealsize)
GRSpacingMatrix
not yet documented
Definition: GRSpacingMatrix.h:31
GRSpacingMatrix::setMSCMatrix
void setMSCMatrix(int i, int j, double value)
GRSpacingMatrix::mLastLeft
int mLastLeft
Definition: GRSpacingMatrix.h:59
GRSpacingMatrix::mLastRight
int mLastRight
Definition: GRSpacingMatrix.h:60
KF_IVector
Definition: GRPossibleBreakState.h:20
GRSpacingMatrix::mMatrixRealSize
int mMatrixRealSize
Definition: GRSpacingMatrix.h:53
GRSpacingMatrix::getMSCMatrixRealSize
int getMSCMatrixRealSize()
GRSpacingMatrix::~GRSpacingMatrix
virtual ~GRSpacingMatrix()
GRSpacingMatrix::AddNeighbourList
void AddNeighbourList(KF_List< int > *nl)
KF_List
Definition: GRBreakMatrix.h:24

Guido Project Copyright © 2019 Grame-CNCM