Blender V4.3
Freestyle::VecMat::HVec3< T > Class Template Reference

#include <VecMat.h>

Inherits Freestyle::VecMat::Vec< T, 4 >.

Public Types

typedef Vec< T, 4 >::value_type value_type
 
- Public Types inherited from Freestyle::VecMat::Vec< T, 4 >
typedef T value_type
 

Public Member Functions

 HVec3 ()
 
template<class U >
 HVec3 (const U tab[4])
 
template<class U >
 HVec3 (const std::vector< U > &tab)
 
template<class U >
 HVec3 (const Vec< U, 4 > &v)
 
 HVec3 (const value_type sx, const value_type sy=0, const value_type sz=0, const value_type s=1)
 
template<class U >
 HVec3 (const Vec< U, 3 > &sv, const U s=1)
 
value_type sx () const
 
value_typesx ()
 
value_type sy () const
 
value_typesy ()
 
value_type sz () const
 
value_typesz ()
 
value_type s () const
 
value_types ()
 
value_type x () const
 
value_type y () const
 
value_type z () const
 
- Public Member Functions inherited from Freestyle::VecMat::Vec< T, 4 >
 Vec ()
 
 Vec (const U tab[N])
 
 Vec (const std::vector< U > &tab)
 
 Vec (const Vec< U, N > &v)
 
 ~Vec ()
 
value_type operator[] (const uint i) const
 
value_typeoperator[] (const uint i)
 
value_type norm () const
 
value_type squareNorm () const
 
Vec< T, N > & normalize ()
 
Vec< T, N > & normalizeSafe ()
 
Vec< T, Noperator+ (const Vec< T, N > &v) const
 
Vec< T, Noperator- (const Vec< T, N > &v) const
 
Vec< T, Noperator* (const typename Vec< T, N >::value_type r) const
 
value_type operator* (const Vec< T, N > &v) const
 
Vec< T, Noperator/ (const typename Vec< T, N >::value_type r) const
 
Vec< T, N > & operator= (const Vec< U, N > &v)
 
Vec< T, N > & operator+= (const Vec< U, N > &v)
 
Vec< T, N > & operator-= (const Vec< U, N > &v)
 
Vec< T, N > & operator*= (const U r)
 
Vec< T, N > & operator/= (const U r)
 
bool operator== (const Vec< T, N > &v) const
 
bool operator!= (const Vec< T, N > &v) const
 
bool operator< (const Vec< T, N > &v) const
 
bool operator> (const Vec< T, N > &v) const
 

Additional Inherited Members

- Static Public Member Functions inherited from Freestyle::VecMat::Vec< T, 4 >
static uint dim ()
 
- Protected Types inherited from Freestyle::VecMat::Vec< T, 4 >
enum  
 
- Protected Attributes inherited from Freestyle::VecMat::Vec< T, 4 >
value_type _coord [N]
 

Detailed Description

template<class T>
class Freestyle::VecMat::HVec3< T >

Definition at line 374 of file VecMat.h.

Member Typedef Documentation

◆ value_type

template<class T >
typedef Vec<T,4>::value_type Freestyle::VecMat::HVec3< T >::value_type

Definition at line 376 of file VecMat.h.

Constructor & Destructor Documentation

◆ HVec3() [1/6]

template<class T >
Freestyle::VecMat::HVec3< T >::HVec3 ( )
inline

Definition at line 378 of file VecMat.h.

◆ HVec3() [2/6]

template<class T >
template<class U >
Freestyle::VecMat::HVec3< T >::HVec3 ( const U tab[4])
inlineexplicit

Definition at line 380 of file VecMat.h.

◆ HVec3() [3/6]

template<class T >
template<class U >
Freestyle::VecMat::HVec3< T >::HVec3 ( const std::vector< U > & tab)
inlineexplicit

Definition at line 382 of file VecMat.h.

◆ HVec3() [4/6]

template<class T >
template<class U >
Freestyle::VecMat::HVec3< T >::HVec3 ( const Vec< U, 4 > & v)
inline

Definition at line 384 of file VecMat.h.

◆ HVec3() [5/6]

template<class T >
Freestyle::VecMat::HVec3< T >::HVec3 ( const value_type sx,
const value_type sy = 0,
const value_type sz = 0,
const value_type s = 1 )
inline

◆ HVec3() [6/6]

template<class T >
template<class U >
Freestyle::VecMat::HVec3< T >::HVec3 ( const Vec< U, 3 > & sv,
const U s = 1 )
inline

Definition at line 397 of file VecMat.h.

References T.

Member Function Documentation

◆ s() [1/2]

template<class T >
value_type & Freestyle::VecMat::HVec3< T >::s ( )
inline

Definition at line 440 of file VecMat.h.

◆ s() [2/2]

template<class T >
value_type Freestyle::VecMat::HVec3< T >::s ( ) const
inline

Definition at line 435 of file VecMat.h.

Referenced by Freestyle::VecMat::HVec3< T >::HVec3().

◆ sx() [1/2]

template<class T >
value_type & Freestyle::VecMat::HVec3< T >::sx ( )
inline

Definition at line 410 of file VecMat.h.

◆ sx() [2/2]

template<class T >
value_type Freestyle::VecMat::HVec3< T >::sx ( ) const
inline

Definition at line 405 of file VecMat.h.

Referenced by Freestyle::VecMat::HVec3< T >::HVec3().

◆ sy() [1/2]

template<class T >
value_type & Freestyle::VecMat::HVec3< T >::sy ( )
inline

Definition at line 420 of file VecMat.h.

◆ sy() [2/2]

template<class T >
value_type Freestyle::VecMat::HVec3< T >::sy ( ) const
inline

Definition at line 415 of file VecMat.h.

Referenced by Freestyle::VecMat::HVec3< T >::HVec3().

◆ sz() [1/2]

template<class T >
value_type & Freestyle::VecMat::HVec3< T >::sz ( )
inline

Definition at line 430 of file VecMat.h.

◆ sz() [2/2]

template<class T >
value_type Freestyle::VecMat::HVec3< T >::sz ( ) const
inline

Definition at line 425 of file VecMat.h.

Referenced by Freestyle::VecMat::HVec3< T >::HVec3().

◆ x()

template<class T >
value_type Freestyle::VecMat::HVec3< T >::x ( ) const
inline

Definition at line 446 of file VecMat.h.

Referenced by Freestyle::GeomUtils::transformVertex().

◆ y()

template<class T >
value_type Freestyle::VecMat::HVec3< T >::y ( ) const
inline

Definition at line 451 of file VecMat.h.

Referenced by Freestyle::GeomUtils::transformVertex().

◆ z()

template<class T >
value_type Freestyle::VecMat::HVec3< T >::z ( ) const
inline

Definition at line 456 of file VecMat.h.

Referenced by Freestyle::GeomUtils::transformVertex().


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