Blender  V3.3
Public Types | Public Member Functions | List of all members
Freestyle::VecMat::HVec3< T > Class Template Reference

#include <VecMat.h>

Inheritance diagram for Freestyle::VecMat::HVec3< T >:
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 unsigned i) const
 
value_typeoperator[] (const unsigned 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 unsigned 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 383 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 385 of file VecMat.h.

Constructor & Destructor Documentation

◆ HVec3() [1/6]

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

Definition at line 387 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 391 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 395 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 399 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 414 of file VecMat.h.

References Freestyle::VecMat::HVec3< T >::s(), and T.

Member Function Documentation

◆ s() [1/2]

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

Definition at line 457 of file VecMat.h.

◆ s() [2/2]

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

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

◆ sx() [2/2]

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

Definition at line 422 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 437 of file VecMat.h.

◆ sy() [2/2]

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

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

◆ sz() [2/2]

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

Definition at line 442 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 463 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 468 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 473 of file VecMat.h.

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


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