fluidvis
Public Member Functions | List of all members
sx::UniformDMatrix Class Reference
Inheritance diagram for sx::UniformDMatrix:
sx::Uniform sx::DMatrix sx::SXResource

Public Member Functions

EX UniformDMatrix (const string &id)
 
EX DMatrixoperator= (const DMatrix &m)
 
EX void load ()
 
EX bool isLoaded () const
 
EX void use (Shader &shader, const string &id)
 
- Public Member Functions inherited from sx::Uniform
virtual EX ~Uniform ()
 
EX void setUniformName (const string &name, const string &id)
 
EX const string & getUniformName (const string &id) const
 
- Public Member Functions inherited from sx::SXResource
virtual EX ~SXResource ()
 
EX const string & getID () const
 
- Public Member Functions inherited from sx::DMatrix
EXPA DMatrix ()
 
EXPA DMatrix (double m)
 
EXPA DMatrix (double m00, double m01, double m10, double m11)
 
EXPA DMatrix (double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
 
EXPA DMatrix (double m00, double m01, double m02, double m03, double m10, double m11, double m12, double m13, double m20, double m21, double m22, double m23, double m30, double m31, double m32, double m33)
 
EXPA DMatrix (const DVector &m0, const DVector &m1, const DVector &m2, const DVector &m3)
 
EXPA DMatrix (const double *m)
 
EXPA DMatrix (const Matrix &m)
 
EXPA DMatrix (const DMatrix &m)
 
EXPA DMatrixoperator= (const DMatrix &m)
 
virtual EXPA ~DMatrix ()
 
EXPA double & operator[] (unsigned int index)
 
EXPA double operator[] (unsigned int index) const
 
EXPA DMatrixoperator<< (const DMatrix &m)
 
EXPA DMatrixoperator<< (const double *m)
 
EXPA const DMatrixoperator>> (DMatrix &m) const
 
EXPA const DMatrixoperator>> (double *m) const
 
EXPA DMatrixadd (const DMatrix &m)
 
EXPA DMatrixadd (double m)
 
EXPA DMatrixleftmult (const DMatrix &m)
 
EXPA DMatrixrightmult (const DMatrix &m)
 
EXPA DMatrixscalarmult (double s)
 
EXPA DMatrixtranspose ()
 
EXPA DMatrixidentity ()
 
EXPA DMatrixinverse ()
 
EXPA double determinant () const
 
EXPA double cofactor (unsigned int row, unsigned int column) const
 
EXPA DMatrixrandom ()
 
EXPA DMatrixrotate (const DVector &m, double angle)
 
EXPA DMatrixtranslate (const DVector &v)
 
EXPA DMatrixscale (const DVector &v)
 
EXPA DMatrixshear (const DVector &v)
 
EXPA DMatrixsubmatrix ()
 
EXPA DMatrixnormalMatrix ()
 
EXPA DMatrixviewMatrix (const DVector &position, const DVector &view, const DVector &up)
 
EXPA DMatrixperspectiveMatrix (double angle, double width, double height, double znear, double zfar)
 
EXPA DMatrixorthographicPerspeciveMatrix (double left, double right, double bottom, double top, double znear, double zfar)
 
EXPA bool equals (const DMatrix &m) const
 
EXPA bool equals (const DMatrix &m, double epsilon) const
 

Additional Inherited Members

- Public Attributes inherited from sx::DMatrix
double * elements
 
- Protected Member Functions inherited from sx::Uniform
EX Uniform (const string &id)
 
- Protected Attributes inherited from sx::Uniform
string idToken
 
unordered_map< string, string > uniformNames
 
- Protected Attributes inherited from sx::SXResource
string id
 

Constructor & Destructor Documentation

EX sx::UniformDMatrix::UniformDMatrix ( const string &  id)

constructor initializing this with identifier id

Member Function Documentation

EX bool sx::UniformDMatrix::isLoaded ( ) const
virtual

as this is always loaded, the return value is always true

Implements sx::SXResource.

EX void sx::UniformDMatrix::load ( )
virtual

as this is always loaded, this method has no effect on this

Implements sx::SXResource.

EX DMatrix& sx::UniformDMatrix::operator= ( const DMatrix m)

assignment operator

EX void sx::UniformDMatrix::use ( Shader shader,
const string &  id 
)
virtual

The documentation for this class was generated from the following file: