STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
Concurrency::graphics::norm_3 Class Reference

Represent a short vector of 3 norm's. More...

#include <amp_short_vectors.h>

Public Types

typedef norm value_type
 

Public Member Functions

 __declspec (property(get=get_x, put=set_x)) norm x
 Property for accessing element 0 of this norm_3 as a norm. More...
 
 __declspec (property(get=get_x, put=set_x)) norm r
 Property for accessing element 0 of this norm_3 as a norm. More...
 
norm get_x () const __GPU
 Returns element 0 of this norm_3. More...
 
normref_x () __GPU
 Returns reference to element 0 of this norm_3. More...
 
normref_r () __GPU
 Returns reference to element 0 of this norm_3. More...
 
void set_x (norm _Value) __GPU
 Set element 0 of this norm_3 with a norm. More...
 
 __declspec (property(get=get_y, put=set_y)) norm y
 Property for accessing element 1 of this norm_3 as a norm. More...
 
 __declspec (property(get=get_y, put=set_y)) norm g
 Property for accessing element 1 of this norm_3 as a norm. More...
 
norm get_y () const __GPU
 Returns element 1 of this norm_3. More...
 
normref_y () __GPU
 Returns reference to element 1 of this norm_3. More...
 
normref_g () __GPU
 Returns reference to element 1 of this norm_3. More...
 
void set_y (norm _Value) __GPU
 Set element 1 of this norm_3 with a norm. More...
 
 __declspec (property(get=get_z, put=set_z)) norm z
 Property for accessing element 2 of this norm_3 as a norm. More...
 
 __declspec (property(get=get_z, put=set_z)) norm b
 Property for accessing element 2 of this norm_3 as a norm. More...
 
norm get_z () const __GPU
 Returns element 2 of this norm_3. More...
 
normref_z () __GPU
 Returns reference to element 2 of this norm_3. More...
 
normref_b () __GPU
 Returns reference to element 2 of this norm_3. More...
 
void set_z (norm _Value) __GPU
 Set element 2 of this norm_3 with a norm. More...
 
 norm_3 () __GPU
 Default constructor, initializes all elements with 0. More...
 
 norm_3 (norm _V0, norm _V1, norm _V2) __GPU
 Constructor. More...
 
 norm_3 (float _V0, float _V1, float _V2) __GPU
 Constructor. More...
 
 norm_3 (unorm _V0, unorm _V1, unorm _V2) __GPU
 Constructor. More...
 
 norm_3 (norm _V) __GPU
 Constructor. More...
 
 norm_3 (float _V) __GPU
 
 norm_3 (const norm_3 &_Other) __GPU
 Copy constructor. More...
 
norm_3operator= (const norm_3 &_Other) __GPU
 
 norm_3 (const uint_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 norm_3 (const int_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 norm_3 (const float_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 norm_3 (const unorm_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 norm_3 (const double_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
norm_3 operator- () const __GPU
 
norm_3operator++ () __GPU
 
norm_3 operator++ (int) __GPU
 
norm_3operator-- () __GPU
 
norm_3 operator-- (int) __GPU
 
norm_3operator+= (const norm_3 &_Other) __GPU
 
norm_3operator-= (const norm_3 &_Other) __GPU
 
norm_3operator*= (const norm_3 &_Other) __GPU
 
norm_3operator/= (const norm_3 &_Other) __GPU
 
 __declspec (property(get=get_xy, put=set_xy)) norm_2 xy
 Property for accessing element 0, and 1 of this norm_3 as a norm_2. More...
 
 __declspec (property(get=get_xy, put=set_xy)) norm_2 rg
 Property for accessing element 0, and 1 of this norm_3 as a norm_2. More...
 
norm_2 get_xy () const __GPU
 Returns a norm_2 that is composed of element 0, and element 1 of this norm_3. More...
 
void set_xy (const norm_2 &_Value) __GPU
 Set element 0, and 1 of this norm_3 with a norm_2. More...
 
 __declspec (property(get=get_xz, put=set_xz)) norm_2 xz
 Property for accessing element 0, and 2 of this norm_3 as a norm_2. More...
 
 __declspec (property(get=get_xz, put=set_xz)) norm_2 rb
 Property for accessing element 0, and 2 of this norm_3 as a norm_2. More...
 
norm_2 get_xz () const __GPU
 Returns a norm_2 that is composed of element 0, and element 2 of this norm_3. More...
 
void set_xz (const norm_2 &_Value) __GPU
 Set element 0, and 2 of this norm_3 with a norm_2. More...
 
 __declspec (property(get=get_yx, put=set_yx)) norm_2 yx
 Property for accessing element 1, and 0 of this norm_3 as a norm_2. More...
 
 __declspec (property(get=get_yx, put=set_yx)) norm_2 gr
 Property for accessing element 1, and 0 of this norm_3 as a norm_2. More...
 
norm_2 get_yx () const __GPU
 Returns a norm_2 that is composed of element 1, and element 0 of this norm_3. More...
 
void set_yx (const norm_2 &_Value) __GPU
 Set element 1, and 0 of this norm_3 with a norm_2. More...
 
 __declspec (property(get=get_yz, put=set_yz)) norm_2 yz
 Property for accessing element 1, and 2 of this norm_3 as a norm_2. More...
 
 __declspec (property(get=get_yz, put=set_yz)) norm_2 gb
 Property for accessing element 1, and 2 of this norm_3 as a norm_2. More...
 
norm_2 get_yz () const __GPU
 Returns a norm_2 that is composed of element 1, and element 2 of this norm_3. More...
 
void set_yz (const norm_2 &_Value) __GPU
 Set element 1, and 2 of this norm_3 with a norm_2. More...
 
 __declspec (property(get=get_zx, put=set_zx)) norm_2 zx
 Property for accessing element 2, and 0 of this norm_3 as a norm_2. More...
 
 __declspec (property(get=get_zx, put=set_zx)) norm_2 br
 Property for accessing element 2, and 0 of this norm_3 as a norm_2. More...
 
norm_2 get_zx () const __GPU
 Returns a norm_2 that is composed of element 2, and element 0 of this norm_3. More...
 
void set_zx (const norm_2 &_Value) __GPU
 Set element 2, and 0 of this norm_3 with a norm_2. More...
 
 __declspec (property(get=get_zy, put=set_zy)) norm_2 zy
 Property for accessing element 2, and 1 of this norm_3 as a norm_2. More...
 
 __declspec (property(get=get_zy, put=set_zy)) norm_2 bg
 Property for accessing element 2, and 1 of this norm_3 as a norm_2. More...
 
norm_2 get_zy () const __GPU
 Returns a norm_2 that is composed of element 2, and element 1 of this norm_3. More...
 
void set_zy (const norm_2 &_Value) __GPU
 Set element 2, and 1 of this norm_3 with a norm_2. More...
 
 __declspec (property(get=get_xyz, put=set_xyz)) norm_3 xyz
 Property for accessing element 0, 1, and 2 of this norm_3 as a norm_3. More...
 
 __declspec (property(get=get_xyz, put=set_xyz)) norm_3 rgb
 Property for accessing element 0, 1, and 2 of this norm_3 as a norm_3. More...
 
norm_3 get_xyz () const __GPU
 Returns a norm_3 that is composed of element 0, element 1, and element 2 of this norm_3. More...
 
void set_xyz (const norm_3 &_Value) __GPU
 Set element 0, 1, and 2 of this norm_3 with a norm_3. More...
 
 __declspec (property(get=get_xzy, put=set_xzy)) norm_3 xzy
 Property for accessing element 0, 2, and 1 of this norm_3 as a norm_3. More...
 
 __declspec (property(get=get_xzy, put=set_xzy)) norm_3 rbg
 Property for accessing element 0, 2, and 1 of this norm_3 as a norm_3. More...
 
norm_3 get_xzy () const __GPU
 Returns a norm_3 that is composed of element 0, element 2, and element 1 of this norm_3. More...
 
void set_xzy (const norm_3 &_Value) __GPU
 Set element 0, 2, and 1 of this norm_3 with a norm_3. More...
 
 __declspec (property(get=get_yxz, put=set_yxz)) norm_3 yxz
 Property for accessing element 1, 0, and 2 of this norm_3 as a norm_3. More...
 
 __declspec (property(get=get_yxz, put=set_yxz)) norm_3 grb
 Property for accessing element 1, 0, and 2 of this norm_3 as a norm_3. More...
 
norm_3 get_yxz () const __GPU
 Returns a norm_3 that is composed of element 1, element 0, and element 2 of this norm_3. More...
 
void set_yxz (const norm_3 &_Value) __GPU
 Set element 1, 0, and 2 of this norm_3 with a norm_3. More...
 
 __declspec (property(get=get_yzx, put=set_yzx)) norm_3 yzx
 Property for accessing element 1, 2, and 0 of this norm_3 as a norm_3. More...
 
 __declspec (property(get=get_yzx, put=set_yzx)) norm_3 gbr
 Property for accessing element 1, 2, and 0 of this norm_3 as a norm_3. More...
 
norm_3 get_yzx () const __GPU
 Returns a norm_3 that is composed of element 1, element 2, and element 0 of this norm_3. More...
 
void set_yzx (const norm_3 &_Value) __GPU
 Set element 1, 2, and 0 of this norm_3 with a norm_3. More...
 
 __declspec (property(get=get_zxy, put=set_zxy)) norm_3 zxy
 Property for accessing element 2, 0, and 1 of this norm_3 as a norm_3. More...
 
 __declspec (property(get=get_zxy, put=set_zxy)) norm_3 brg
 Property for accessing element 2, 0, and 1 of this norm_3 as a norm_3. More...
 
norm_3 get_zxy () const __GPU
 Returns a norm_3 that is composed of element 2, element 0, and element 1 of this norm_3. More...
 
void set_zxy (const norm_3 &_Value) __GPU
 Set element 2, 0, and 1 of this norm_3 with a norm_3. More...
 
 __declspec (property(get=get_zyx, put=set_zyx)) norm_3 zyx
 Property for accessing element 2, 1, and 0 of this norm_3 as a norm_3. More...
 
 __declspec (property(get=get_zyx, put=set_zyx)) norm_3 bgr
 Property for accessing element 2, 1, and 0 of this norm_3 as a norm_3. More...
 
norm_3 get_zyx () const __GPU
 Returns a norm_3 that is composed of element 2, element 1, and element 0 of this norm_3. More...
 
void set_zyx (const norm_3 &_Value) __GPU
 Set element 2, 1, and 0 of this norm_3 with a norm_3. More...
 

Static Public Attributes

static const int size = 3
 

Private Attributes

value_type _M_x
 
value_type _M_y
 
value_type _M_z
 

Static Private Attributes

static const _Short_vector_base_type_id _Base_type_id = _Norm_type
 

Detailed Description

Represent a short vector of 3 norm's.

Member Typedef Documentation

Constructor & Destructor Documentation

Concurrency::graphics::norm_3::norm_3 ( )
inline

Default constructor, initializes all elements with 0.

15493  {
15494  _M_x = norm(0.0f);
15495  _M_y = norm(0.0f);
15496  _M_z = norm(0.0f);
15497  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
_CRTIMP double __cdecl norm(_In_ _Dcomplex _Z)
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( norm  _V0,
norm  _V1,
norm  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
15512  {
15513  _M_x = _V0;
15514  _M_y = _V1;
15515  _M_z = _V2;
15516  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( float  _V0,
float  _V1,
float  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
15531  {
15532  _M_x = norm(_V0);
15533  _M_y = norm(_V1);
15534  _M_z = norm(_V2);
15535  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
_CRTIMP double __cdecl norm(_In_ _Dcomplex _Z)
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( unorm  _V0,
unorm  _V1,
unorm  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
15550  {
15551  _M_x = _V0;
15552  _M_y = _V1;
15553  _M_z = _V2;
15554  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( norm  _V)
inline

Constructor.

Parameters
_VThe value for initialization.
15563  {
15564  _M_x = _V;
15565  _M_y = _V;
15566  _M_z = _V;
15567  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( float  _V)
inlineexplicit
15570  {
15571  _M_x = norm(_V);
15572  _M_y = norm(_V);
15573  _M_z = norm(_V);
15574  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
_CRTIMP double __cdecl norm(_In_ _Dcomplex _Z)
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( const norm_3 _Other)
inline

Copy constructor.

Parameters
_OtherThe object to copy from.
15583  {
15584  *this = _Other;
15585  }
Concurrency::graphics::norm_3::norm_3 ( const uint_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22586  {
22587  uint_3 _Value = _Other;
22588  _M_x = static_cast<value_type>(_Value.x);
22589  _M_y = static_cast<value_type>(_Value.y);
22590  _M_z = static_cast<value_type>(_Value.z);
22591  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm value_type
Definition: amp_short_vectors.h:15328
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( const int_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22594  {
22595  int_3 _Value = _Other;
22596  _M_x = static_cast<value_type>(_Value.x);
22597  _M_y = static_cast<value_type>(_Value.y);
22598  _M_z = static_cast<value_type>(_Value.z);
22599  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm value_type
Definition: amp_short_vectors.h:15328
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( const float_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22602  {
22603  float_3 _Value = _Other;
22604  _M_x = static_cast<value_type>(_Value.x);
22605  _M_y = static_cast<value_type>(_Value.y);
22606  _M_z = static_cast<value_type>(_Value.z);
22607  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm value_type
Definition: amp_short_vectors.h:15328
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( const unorm_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22610  {
22611  unorm_3 _Value = _Other;
22612  _M_x = static_cast<value_type>(_Value.x);
22613  _M_y = static_cast<value_type>(_Value.y);
22614  _M_z = static_cast<value_type>(_Value.z);
22615  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm value_type
Definition: amp_short_vectors.h:15328
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
Concurrency::graphics::norm_3::norm_3 ( const double_3 _Other)
inlineexplicit

Constructor. Each element is initialized by casting from the corresponding element in _Other.

Parameters
_OtherThe object used to initialize.
22618  {
22619  double_3 _Value = _Other;
22620  _M_x = static_cast<value_type>(_Value.x);
22621  _M_y = static_cast<value_type>(_Value.y);
22622  _M_z = static_cast<value_type>(_Value.z);
22623  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm value_type
Definition: amp_short_vectors.h:15328
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335

Member Function Documentation

Concurrency::graphics::norm_3::__declspec ( property(get=get_x, put=set_x )

Property for accessing element 0 of this norm_3 as a norm.

Concurrency::graphics::norm_3::__declspec ( property(get=get_x, put=set_x )

Property for accessing element 0 of this norm_3 as a norm.

Concurrency::graphics::norm_3::__declspec ( property(get=get_y, put=set_y )

Property for accessing element 1 of this norm_3 as a norm.

Concurrency::graphics::norm_3::__declspec ( property(get=get_y, put=set_y )

Property for accessing element 1 of this norm_3 as a norm.

Concurrency::graphics::norm_3::__declspec ( property(get=get_z, put=set_z )

Property for accessing element 2 of this norm_3 as a norm.

Concurrency::graphics::norm_3::__declspec ( property(get=get_z, put=set_z )

Property for accessing element 2 of this norm_3 as a norm.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xy, put=set_xy )

Property for accessing element 0, and 1 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xy, put=set_xy )

Property for accessing element 0, and 1 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xz, put=set_xz )

Property for accessing element 0, and 2 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xz, put=set_xz )

Property for accessing element 0, and 2 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yx, put=set_yx )

Property for accessing element 1, and 0 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yx, put=set_yx )

Property for accessing element 1, and 0 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yz, put=set_yz )

Property for accessing element 1, and 2 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yz, put=set_yz )

Property for accessing element 1, and 2 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zx, put=set_zx )

Property for accessing element 2, and 0 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zx, put=set_zx )

Property for accessing element 2, and 0 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zy, put=set_zy )

Property for accessing element 2, and 1 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zy, put=set_zy )

Property for accessing element 2, and 1 of this norm_3 as a norm_2.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xyz, put=set_xyz )

Property for accessing element 0, 1, and 2 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xyz, put=set_xyz )

Property for accessing element 0, 1, and 2 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xzy, put=set_xzy )

Property for accessing element 0, 2, and 1 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_xzy, put=set_xzy )

Property for accessing element 0, 2, and 1 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yxz, put=set_yxz )

Property for accessing element 1, 0, and 2 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yxz, put=set_yxz )

Property for accessing element 1, 0, and 2 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yzx, put=set_yzx )

Property for accessing element 1, 2, and 0 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_yzx, put=set_yzx )

Property for accessing element 1, 2, and 0 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zxy, put=set_zxy )

Property for accessing element 2, 0, and 1 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zxy, put=set_zxy )

Property for accessing element 2, 0, and 1 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zyx, put=set_zyx )

Property for accessing element 2, 1, and 0 of this norm_3 as a norm_3.

Concurrency::graphics::norm_3::__declspec ( property(get=get_zyx, put=set_zyx )

Property for accessing element 2, 1, and 0 of this norm_3 as a norm_3.

norm Concurrency::graphics::norm_3::get_x ( ) const
inline

Returns element 0 of this norm_3.

Returns
Element 0 of this norm_3.
15353  {
15354  return _M_x;
15355  }
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_2 Concurrency::graphics::norm_3::get_xy ( ) const
inline

Returns a norm_2 that is composed of element 0, and element 1 of this norm_3.

Returns
a norm_2.
15740  {
15741  return norm_2(_M_x,_M_y);
15742  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3 Concurrency::graphics::norm_3::get_xyz ( ) const
inline

Returns a norm_3 that is composed of element 0, element 1, and element 2 of this norm_3.

Returns
a norm_3.
15932  {
15933  return norm_3(_M_x,_M_y,_M_z);
15934  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_2 Concurrency::graphics::norm_3::get_xz ( ) const
inline

Returns a norm_2 that is composed of element 0, and element 2 of this norm_3.

Returns
a norm_2.
15772  {
15773  return norm_2(_M_x,_M_z);
15774  }
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_3 Concurrency::graphics::norm_3::get_xzy ( ) const
inline

Returns a norm_3 that is composed of element 0, element 2, and element 1 of this norm_3.

Returns
a norm_3.
15965  {
15966  return norm_3(_M_x,_M_z,_M_y);
15967  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
norm Concurrency::graphics::norm_3::get_y ( ) const
inline

Returns element 1 of this norm_3.

Returns
Element 1 of this norm_3.
15403  {
15404  return _M_y;
15405  }
value_type _M_y
Definition: amp_short_vectors.h:15334
norm_2 Concurrency::graphics::norm_3::get_yx ( ) const
inline

Returns a norm_2 that is composed of element 1, and element 0 of this norm_3.

Returns
a norm_2.
15804  {
15805  return norm_2(_M_y,_M_x);
15806  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3 Concurrency::graphics::norm_3::get_yxz ( ) const
inline

Returns a norm_3 that is composed of element 1, element 0, and element 2 of this norm_3.

Returns
a norm_3.
15998  {
15999  return norm_3(_M_y,_M_x,_M_z);
16000  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_2 Concurrency::graphics::norm_3::get_yz ( ) const
inline

Returns a norm_2 that is composed of element 1, and element 2 of this norm_3.

Returns
a norm_2.
15836  {
15837  return norm_2(_M_y,_M_z);
15838  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_3 Concurrency::graphics::norm_3::get_yzx ( ) const
inline

Returns a norm_3 that is composed of element 1, element 2, and element 0 of this norm_3.

Returns
a norm_3.
16031  {
16032  return norm_3(_M_y,_M_z,_M_x);
16033  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
norm Concurrency::graphics::norm_3::get_z ( ) const
inline

Returns element 2 of this norm_3.

Returns
Element 2 of this norm_3.
15453  {
15454  return _M_z;
15455  }
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_2 Concurrency::graphics::norm_3::get_zx ( ) const
inline

Returns a norm_2 that is composed of element 2, and element 0 of this norm_3.

Returns
a norm_2.
15868  {
15869  return norm_2(_M_z,_M_x);
15870  }
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_3 Concurrency::graphics::norm_3::get_zxy ( ) const
inline

Returns a norm_3 that is composed of element 2, element 0, and element 1 of this norm_3.

Returns
a norm_3.
16064  {
16065  return norm_3(_M_z,_M_x,_M_y);
16066  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_2 Concurrency::graphics::norm_3::get_zy ( ) const
inline

Returns a norm_2 that is composed of element 2, and element 1 of this norm_3.

Returns
a norm_2.
15900  {
15901  return norm_2(_M_z,_M_y);
15902  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_3 Concurrency::graphics::norm_3::get_zyx ( ) const
inline

Returns a norm_3 that is composed of element 2, element 1, and element 0 of this norm_3.

Returns
a norm_3.
16097  {
16098  return norm_3(_M_z,_M_y,_M_x);
16099  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
norm_3& Concurrency::graphics::norm_3::operator*= ( const norm_3 _Other)
inline
15703  {
15704  norm_3 _Value1 = *this;
15705  norm_3 _Value2 = _Other;
15706  _Value1.x *= _Value2.x;
15707  _Value1.y *= _Value2.y;
15708  _Value1.z *= _Value2.z;
15709  *this = _Value1;
15710  return *this;
15711  }
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3& Concurrency::graphics::norm_3::operator++ ( )
inline
15647  {
15648  norm_3 _Value = *this;
15649  ++_Value._M_x;
15650  ++_Value._M_y;
15651  ++_Value._M_z;
15652  *this = _Value;
15653  return *this;
15654  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3 Concurrency::graphics::norm_3::operator++ ( int  )
inline
15657  {
15658  norm_3 _Result = *this;
15659  ++(*this);
15660  return _Result;
15661  }
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3& Concurrency::graphics::norm_3::operator+= ( const norm_3 _Other)
inline
15681  {
15682  norm_3 _Value1 = *this;
15683  norm_3 _Value2 = _Other;
15684  _Value1.x += _Value2.x;
15685  _Value1.y += _Value2.y;
15686  _Value1.z += _Value2.z;
15687  *this = _Value1;
15688  return *this;
15689  }
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3 Concurrency::graphics::norm_3::operator- ( void  ) const
inline
15641  {
15642  norm_3 _Value = *this;
15643  return norm_3(-_Value.x, -_Value.y, -_Value.z);
15644  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3& Concurrency::graphics::norm_3::operator-- ( )
inline
15664  {
15665  norm_3 _Value = *this;
15666  --_Value._M_x;
15667  --_Value._M_y;
15668  --_Value._M_z;
15669  *this = _Value;
15670  return *this;
15671  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3 Concurrency::graphics::norm_3::operator-- ( int  )
inline
15674  {
15675  norm_3 _Result = *this;
15676  --(*this);
15677  return _Result;
15678  }
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3& Concurrency::graphics::norm_3::operator-= ( const norm_3 _Other)
inline
15692  {
15693  norm_3 _Value1 = *this;
15694  norm_3 _Value2 = _Other;
15695  _Value1.x -= _Value2.x;
15696  _Value1.y -= _Value2.y;
15697  _Value1.z -= _Value2.z;
15698  *this = _Value1;
15699  return *this;
15700  }
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3& Concurrency::graphics::norm_3::operator/= ( const norm_3 _Other)
inline
15714  {
15715  norm_3 _Value1 = *this;
15716  norm_3 _Value2 = _Other;
15717  _Value1.x /= _Value2.x;
15718  _Value1.y /= _Value2.y;
15719  _Value1.z /= _Value2.z;
15720  *this = _Value1;
15721  return *this;
15722  }
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
norm_3& Concurrency::graphics::norm_3::operator= ( const norm_3 _Other)
inline
15588  {
15589  _M_x = _Other._M_x;
15590  _M_y = _Other._M_y;
15591  _M_z = _Other._M_z;
15592  return *this;
15593  }
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
norm& Concurrency::graphics::norm_3::ref_b ( )
inline

Returns reference to element 2 of this norm_3.

Returns
Reference to element 2 of this norm_3.
15473  {
15474  return _M_z;
15475  }
value_type _M_z
Definition: amp_short_vectors.h:15335
norm& Concurrency::graphics::norm_3::ref_g ( )
inline

Returns reference to element 1 of this norm_3.

Returns
Reference to element 1 of this norm_3.
15423  {
15424  return _M_y;
15425  }
value_type _M_y
Definition: amp_short_vectors.h:15334
norm& Concurrency::graphics::norm_3::ref_r ( )
inline

Returns reference to element 0 of this norm_3.

Returns
Reference to element 0 of this norm_3.
15373  {
15374  return _M_x;
15375  }
value_type _M_x
Definition: amp_short_vectors.h:15333
norm& Concurrency::graphics::norm_3::ref_x ( )
inline

Returns reference to element 0 of this norm_3.

Returns
Reference to element 0 of this norm_3.
15363  {
15364  return _M_x;
15365  }
value_type _M_x
Definition: amp_short_vectors.h:15333
norm& Concurrency::graphics::norm_3::ref_y ( )
inline

Returns reference to element 1 of this norm_3.

Returns
Reference to element 1 of this norm_3.
15413  {
15414  return _M_y;
15415  }
value_type _M_y
Definition: amp_short_vectors.h:15334
norm& Concurrency::graphics::norm_3::ref_z ( )
inline

Returns reference to element 2 of this norm_3.

Returns
Reference to element 2 of this norm_3.
15463  {
15464  return _M_z;
15465  }
value_type _M_z
Definition: amp_short_vectors.h:15335
void Concurrency::graphics::norm_3::set_x ( norm  _Value)
inline

Set element 0 of this norm_3 with a norm.

Parameters
_Valuea norm value.
15384  {
15385  _M_x = _Value;
15386  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_x
Definition: amp_short_vectors.h:15333
void Concurrency::graphics::norm_3::set_xy ( const norm_2 _Value)
inline

Set element 0, and 1 of this norm_3 with a norm_2.

Parameters
_Valuea norm_2 value.
15751  {
15752  norm_2 _Val = _Value;
15753  _M_x = _Val.x;
15754  _M_y = _Val.y;
15755  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_xyz ( const norm_3 _Value)
inline

Set element 0, 1, and 2 of this norm_3 with a norm_3.

Parameters
_Valuea norm_3 value.
15943  {
15944  norm_3 _Val = _Value;
15945  _M_x = _Val.x;
15946  _M_y = _Val.y;
15947  _M_z = _Val.z;
15948  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_xz ( const norm_2 _Value)
inline

Set element 0, and 2 of this norm_3 with a norm_2.

Parameters
_Valuea norm_2 value.
15783  {
15784  norm_2 _Val = _Value;
15785  _M_x = _Val.x;
15786  _M_z = _Val.y;
15787  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_xzy ( const norm_3 _Value)
inline

Set element 0, 2, and 1 of this norm_3 with a norm_3.

Parameters
_Valuea norm_3 value.
15976  {
15977  norm_3 _Val = _Value;
15978  _M_x = _Val.x;
15979  _M_z = _Val.y;
15980  _M_y = _Val.z;
15981  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_y ( norm  _Value)
inline

Set element 1 of this norm_3 with a norm.

Parameters
_Valuea norm value.
15434  {
15435  _M_y = _Value;
15436  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
void Concurrency::graphics::norm_3::set_yx ( const norm_2 _Value)
inline

Set element 1, and 0 of this norm_3 with a norm_2.

Parameters
_Valuea norm_2 value.
15815  {
15816  norm_2 _Val = _Value;
15817  _M_y = _Val.x;
15818  _M_x = _Val.y;
15819  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_yxz ( const norm_3 _Value)
inline

Set element 1, 0, and 2 of this norm_3 with a norm_3.

Parameters
_Valuea norm_3 value.
16009  {
16010  norm_3 _Val = _Value;
16011  _M_y = _Val.x;
16012  _M_x = _Val.y;
16013  _M_z = _Val.z;
16014  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_yz ( const norm_2 _Value)
inline

Set element 1, and 2 of this norm_3 with a norm_2.

Parameters
_Valuea norm_2 value.
15847  {
15848  norm_2 _Val = _Value;
15849  _M_y = _Val.x;
15850  _M_z = _Val.y;
15851  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_yzx ( const norm_3 _Value)
inline

Set element 1, 2, and 0 of this norm_3 with a norm_3.

Parameters
_Valuea norm_3 value.
16042  {
16043  norm_3 _Val = _Value;
16044  _M_y = _Val.x;
16045  _M_z = _Val.y;
16046  _M_x = _Val.z;
16047  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_z ( norm  _Value)
inline

Set element 2 of this norm_3 with a norm.

Parameters
_Valuea norm value.
15484  {
15485  _M_z = _Value;
15486  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_z
Definition: amp_short_vectors.h:15335
void Concurrency::graphics::norm_3::set_zx ( const norm_2 _Value)
inline

Set element 2, and 0 of this norm_3 with a norm_2.

Parameters
_Valuea norm_2 value.
15879  {
15880  norm_2 _Val = _Value;
15881  _M_z = _Val.x;
15882  _M_x = _Val.y;
15883  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_x
Definition: amp_short_vectors.h:15333
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_zxy ( const norm_3 _Value)
inline

Set element 2, 0, and 1 of this norm_3 with a norm_3.

Parameters
_Valuea norm_3 value.
16075  {
16076  norm_3 _Val = _Value;
16077  _M_z = _Val.x;
16078  _M_x = _Val.y;
16079  _M_y = _Val.z;
16080  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_zy ( const norm_2 _Value)
inline

Set element 2, and 1 of this norm_3 with a norm_2.

Parameters
_Valuea norm_2 value.
15911  {
15912  norm_2 _Val = _Value;
15913  _M_z = _Val.x;
15914  _M_y = _Val.y;
15915  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::norm_3::set_zyx ( const norm_3 _Value)
inline

Set element 2, 1, and 0 of this norm_3 with a norm_3.

Parameters
_Valuea norm_3 value.
16108  {
16109  norm_3 _Val = _Value;
16110  _M_z = _Val.x;
16111  _M_y = _Val.y;
16112  _M_x = _Val.z;
16113  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:15334
value_type _M_x
Definition: amp_short_vectors.h:15333
norm_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:15492
value_type _M_z
Definition: amp_short_vectors.h:15335
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Data Documentation

const _Short_vector_base_type_id Concurrency::graphics::norm_3::_Base_type_id = _Norm_type
staticprivate
value_type Concurrency::graphics::norm_3::_M_x
private
value_type Concurrency::graphics::norm_3::_M_y
private
value_type Concurrency::graphics::norm_3::_M_z
private
const int Concurrency::graphics::norm_3::size = 3
static

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