Blender V5.0
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 ()
value_type operator[] (const uint i) const
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
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 370 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 372 of file VecMat.h.

Constructor & Destructor Documentation

◆ HVec3() [1/6]

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

Definition at line 374 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 376 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 378 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 380 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

Definition at line 382 of file VecMat.h.

◆ 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 393 of file VecMat.h.

Member Function Documentation

◆ s() [1/2]

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

Definition at line 436 of file VecMat.h.

◆ s() [2/2]

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

Definition at line 431 of file VecMat.h.

◆ sx() [1/2]

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

Definition at line 406 of file VecMat.h.

◆ sx() [2/2]

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

Definition at line 401 of file VecMat.h.

◆ sy() [1/2]

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

Definition at line 416 of file VecMat.h.

◆ sy() [2/2]

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

Definition at line 411 of file VecMat.h.

◆ sz() [1/2]

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

Definition at line 426 of file VecMat.h.

◆ sz() [2/2]

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

Definition at line 421 of file VecMat.h.

◆ x()

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

Definition at line 442 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 447 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 452 of file VecMat.h.

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


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