NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
CVect4< T > Class Template Reference

Search Toolkit Book for CVect4

#include <gui/utils/vect4.hpp>

+ Inheritance diagram for CVect4< T >:
+ Collaboration diagram for CVect4< T >:

Public Types

typedef T TVecType
 

Public Member Functions

 CVect4 ()
 
 CVect4 (T val)
 
 CVect4 (T, T, T, T)
 
 CVect4 (const CVect3< T > &)
 
CVect4< T > & operator= (const CVect3< T > &)
 
const Toperator[] (size_t i) const
 
Toperator[] (size_t i)
 
CVect4< T > & operator+= (T)
 
CVect4< T > & operator+= (const CVect4< T > &)
 
CVect4< T > & operator-= (T)
 
CVect4< T > & operator-= (const CVect4< T > &)
 
CVect4< T > & operator*= (T)
 
CVect4< T > & operator*= (const CVect4< T > &)
 
CVect4< T > & operator/= (T)
 
void Set (T x, T y, T z, T w)
 
float Length () const
 
float Length2 () const
 
bool Vanishing () const
 
void Normalize ()
 
CVect4< TDirection () const
 
bool Parallel (const CVect4< T > &) const
 
bool Normal (const CVect4< T > &) const
 
T Dot (const CVect4< T > &) const
 
TX ()
 
const TX () const
 
TY ()
 
const TY () const
 
TZ ()
 
const TZ () const
 
TW ()
 
const TW () const
 
const TGetData () const
 

Private Attributes

T m_Xyzw [4]
 

Detailed Description

template<class T>
class CVect4< T >

Definition at line 48 of file vect4.hpp.


The documentation for this class was generated from the following files:
Modified on Mon Feb 26 04:05:40 2024 by modify_doxy.py rev. 669887