Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btVectorX< T > Struct Template Reference

#include <btMatrixX.h>

Public Member Functions

 btVectorX ()
 
 btVectorX (int numRows)
 
void resize (int rows)
 
int cols () const
 
int rows () const
 
int size () const
 
T nrm2 () const
 
void setZero ()
 
const T & operator[] (int index) const
 
T & operator[] (int index)
 
T * getBufferPointerWritable ()
 
const T * getBufferPointer () const
 

Public Attributes

btAlignedObjectArray< T > m_storage
 

Detailed Description

template<typename T>
struct btVectorX< T >

Definition at line 40 of file btMatrixX.h.

Constructor & Destructor Documentation

template<typename T>
btVectorX< T >::btVectorX ( )
inline

Definition at line 44 of file btMatrixX.h.

template<typename T>
btVectorX< T >::btVectorX ( int  numRows)
inline

Definition at line 47 of file btMatrixX.h.

Member Function Documentation

template<typename T>
int btVectorX< T >::cols ( ) const
inline

Definition at line 56 of file btMatrixX.h.

template<typename T>
const T* btVectorX< T >::getBufferPointer ( ) const
inline

Definition at line 139 of file btMatrixX.h.

template<typename T>
T* btVectorX< T >::getBufferPointerWritable ( )
inline

Definition at line 134 of file btMatrixX.h.

template<typename T>
T btVectorX< T >::nrm2 ( ) const
inline

Definition at line 69 of file btMatrixX.h.

template<typename T>
const T& btVectorX< T >::operator[] ( int  index) const
inline

Definition at line 124 of file btMatrixX.h.

template<typename T>
T& btVectorX< T >::operator[] ( int  index)
inline

Definition at line 129 of file btMatrixX.h.

template<typename T>
void btVectorX< T >::resize ( int  rows)
inline

Definition at line 52 of file btMatrixX.h.

template<typename T>
int btVectorX< T >::rows ( ) const
inline

Definition at line 60 of file btMatrixX.h.

template<typename T>
void btVectorX< T >::setZero ( )
inline

Definition at line 114 of file btMatrixX.h.

template<typename T>
int btVectorX< T >::size ( ) const
inline

Definition at line 64 of file btMatrixX.h.

Member Data Documentation

template<typename T>
btAlignedObjectArray<T> btVectorX< T >::m_storage

Definition at line 42 of file btMatrixX.h.


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