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::int_3 Class Reference

Represent a short vector of 3 ints. More...

#include <amp_short_vectors.h>

Public Types

typedef int value_type
 

Public Member Functions

 __declspec (property(get=get_x, put=set_x)) int x
 Property for accessing element 0 of this int_3 as an int. More...
 
 __declspec (property(get=get_x, put=set_x)) int r
 Property for accessing element 0 of this int_3 as an int. More...
 
int get_x () const __GPU
 Returns element 0 of this int_3. More...
 
intref_x () __GPU
 Returns reference to element 0 of this int_3. More...
 
intref_r () __GPU
 Returns reference to element 0 of this int_3. More...
 
void set_x (int _Value) __GPU
 Set element 0 of this int_3 with an int. More...
 
 __declspec (property(get=get_y, put=set_y)) int y
 Property for accessing element 1 of this int_3 as an int. More...
 
 __declspec (property(get=get_y, put=set_y)) int g
 Property for accessing element 1 of this int_3 as an int. More...
 
int get_y () const __GPU
 Returns element 1 of this int_3. More...
 
intref_y () __GPU
 Returns reference to element 1 of this int_3. More...
 
intref_g () __GPU
 Returns reference to element 1 of this int_3. More...
 
void set_y (int _Value) __GPU
 Set element 1 of this int_3 with an int. More...
 
 __declspec (property(get=get_z, put=set_z)) int z
 Property for accessing element 2 of this int_3 as an int. More...
 
 __declspec (property(get=get_z, put=set_z)) int b
 Property for accessing element 2 of this int_3 as an int. More...
 
int get_z () const __GPU
 Returns element 2 of this int_3. More...
 
intref_z () __GPU
 Returns reference to element 2 of this int_3. More...
 
intref_b () __GPU
 Returns reference to element 2 of this int_3. More...
 
void set_z (int _Value) __GPU
 Set element 2 of this int_3 with an int. More...
 
 int_3 () __GPU
 Default constructor, initializes all elements with 0. More...
 
 int_3 (int _V0, int _V1, int _V2) __GPU
 Constructor. More...
 
 int_3 (int _V) __GPU
 Constructor. More...
 
 int_3 (const uint_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 int_3 (const float_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 int_3 (const unorm_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 int_3 (const norm_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
 int_3 (const double_3 &_Other) __GPU
 Constructor. Each element is initialized by casting from the corresponding element in _Other. More...
 
int_3 operator~ () const __GPU
 
int_3 operator- () const __GPU
 
int_3operator++ () __GPU
 
int_3 operator++ (int) __GPU
 
int_3operator-- () __GPU
 
int_3 operator-- (int) __GPU
 
int_3operator+= (const int_3 &_Other) __GPU
 
int_3operator-= (const int_3 &_Other) __GPU
 
int_3operator*= (const int_3 &_Other) __GPU
 
int_3operator/= (const int_3 &_Other) __GPU
 
int_3operator%= (const int_3 &_Other) __GPU
 
int_3operator^= (const int_3 &_Other) __GPU
 
int_3operator|= (const int_3 &_Other) __GPU
 
int_3operator&= (const int_3 &_Other) __GPU
 
int_3operator>>= (const int_3 &_Other) __GPU
 
int_3operator<<= (const int_3 &_Other) __GPU
 
 __declspec (property(get=get_xy, put=set_xy)) int_2 xy
 Property for accessing element 0, and 1 of this int_3 as an int_2. More...
 
 __declspec (property(get=get_xy, put=set_xy)) int_2 rg
 Property for accessing element 0, and 1 of this int_3 as an int_2. More...
 
int_2 get_xy () const __GPU
 Returns an int_2 that is composed of element 0, and element 1 of this int_3. More...
 
void set_xy (const int_2 &_Value) __GPU
 Set element 0, and 1 of this int_3 with an int_2. More...
 
 __declspec (property(get=get_xz, put=set_xz)) int_2 xz
 Property for accessing element 0, and 2 of this int_3 as an int_2. More...
 
 __declspec (property(get=get_xz, put=set_xz)) int_2 rb
 Property for accessing element 0, and 2 of this int_3 as an int_2. More...
 
int_2 get_xz () const __GPU
 Returns an int_2 that is composed of element 0, and element 2 of this int_3. More...
 
void set_xz (const int_2 &_Value) __GPU
 Set element 0, and 2 of this int_3 with an int_2. More...
 
 __declspec (property(get=get_yx, put=set_yx)) int_2 yx
 Property for accessing element 1, and 0 of this int_3 as an int_2. More...
 
 __declspec (property(get=get_yx, put=set_yx)) int_2 gr
 Property for accessing element 1, and 0 of this int_3 as an int_2. More...
 
int_2 get_yx () const __GPU
 Returns an int_2 that is composed of element 1, and element 0 of this int_3. More...
 
void set_yx (const int_2 &_Value) __GPU
 Set element 1, and 0 of this int_3 with an int_2. More...
 
 __declspec (property(get=get_yz, put=set_yz)) int_2 yz
 Property for accessing element 1, and 2 of this int_3 as an int_2. More...
 
 __declspec (property(get=get_yz, put=set_yz)) int_2 gb
 Property for accessing element 1, and 2 of this int_3 as an int_2. More...
 
int_2 get_yz () const __GPU
 Returns an int_2 that is composed of element 1, and element 2 of this int_3. More...
 
void set_yz (const int_2 &_Value) __GPU
 Set element 1, and 2 of this int_3 with an int_2. More...
 
 __declspec (property(get=get_zx, put=set_zx)) int_2 zx
 Property for accessing element 2, and 0 of this int_3 as an int_2. More...
 
 __declspec (property(get=get_zx, put=set_zx)) int_2 br
 Property for accessing element 2, and 0 of this int_3 as an int_2. More...
 
int_2 get_zx () const __GPU
 Returns an int_2 that is composed of element 2, and element 0 of this int_3. More...
 
void set_zx (const int_2 &_Value) __GPU
 Set element 2, and 0 of this int_3 with an int_2. More...
 
 __declspec (property(get=get_zy, put=set_zy)) int_2 zy
 Property for accessing element 2, and 1 of this int_3 as an int_2. More...
 
 __declspec (property(get=get_zy, put=set_zy)) int_2 bg
 Property for accessing element 2, and 1 of this int_3 as an int_2. More...
 
int_2 get_zy () const __GPU
 Returns an int_2 that is composed of element 2, and element 1 of this int_3. More...
 
void set_zy (const int_2 &_Value) __GPU
 Set element 2, and 1 of this int_3 with an int_2. More...
 
 __declspec (property(get=get_xyz, put=set_xyz)) int_3 xyz
 Property for accessing element 0, 1, and 2 of this int_3 as an int_3. More...
 
 __declspec (property(get=get_xyz, put=set_xyz)) int_3 rgb
 Property for accessing element 0, 1, and 2 of this int_3 as an int_3. More...
 
int_3 get_xyz () const __GPU
 Returns an int_3 that is composed of element 0, element 1, and element 2 of this int_3. More...
 
void set_xyz (const int_3 &_Value) __GPU
 Set element 0, 1, and 2 of this int_3 with an int_3. More...
 
 __declspec (property(get=get_xzy, put=set_xzy)) int_3 xzy
 Property for accessing element 0, 2, and 1 of this int_3 as an int_3. More...
 
 __declspec (property(get=get_xzy, put=set_xzy)) int_3 rbg
 Property for accessing element 0, 2, and 1 of this int_3 as an int_3. More...
 
int_3 get_xzy () const __GPU
 Returns an int_3 that is composed of element 0, element 2, and element 1 of this int_3. More...
 
void set_xzy (const int_3 &_Value) __GPU
 Set element 0, 2, and 1 of this int_3 with an int_3. More...
 
 __declspec (property(get=get_yxz, put=set_yxz)) int_3 yxz
 Property for accessing element 1, 0, and 2 of this int_3 as an int_3. More...
 
 __declspec (property(get=get_yxz, put=set_yxz)) int_3 grb
 Property for accessing element 1, 0, and 2 of this int_3 as an int_3. More...
 
int_3 get_yxz () const __GPU
 Returns an int_3 that is composed of element 1, element 0, and element 2 of this int_3. More...
 
void set_yxz (const int_3 &_Value) __GPU
 Set element 1, 0, and 2 of this int_3 with an int_3. More...
 
 __declspec (property(get=get_yzx, put=set_yzx)) int_3 yzx
 Property for accessing element 1, 2, and 0 of this int_3 as an int_3. More...
 
 __declspec (property(get=get_yzx, put=set_yzx)) int_3 gbr
 Property for accessing element 1, 2, and 0 of this int_3 as an int_3. More...
 
int_3 get_yzx () const __GPU
 Returns an int_3 that is composed of element 1, element 2, and element 0 of this int_3. More...
 
void set_yzx (const int_3 &_Value) __GPU
 Set element 1, 2, and 0 of this int_3 with an int_3. More...
 
 __declspec (property(get=get_zxy, put=set_zxy)) int_3 zxy
 Property for accessing element 2, 0, and 1 of this int_3 as an int_3. More...
 
 __declspec (property(get=get_zxy, put=set_zxy)) int_3 brg
 Property for accessing element 2, 0, and 1 of this int_3 as an int_3. More...
 
int_3 get_zxy () const __GPU
 Returns an int_3 that is composed of element 2, element 0, and element 1 of this int_3. More...
 
void set_zxy (const int_3 &_Value) __GPU
 Set element 2, 0, and 1 of this int_3 with an int_3. More...
 
 __declspec (property(get=get_zyx, put=set_zyx)) int_3 zyx
 Property for accessing element 2, 1, and 0 of this int_3 as an int_3. More...
 
 __declspec (property(get=get_zyx, put=set_zyx)) int_3 bgr
 Property for accessing element 2, 1, and 0 of this int_3 as an int_3. More...
 
int_3 get_zyx () const __GPU
 Returns an int_3 that is composed of element 2, element 1, and element 0 of this int_3. More...
 
void set_zyx (const int_3 &_Value) __GPU
 Set element 2, 1, and 0 of this int_3 with an int_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 = _Int_type
 

Detailed Description

Represent a short vector of 3 ints.

Member Typedef Documentation

Constructor & Destructor Documentation

Concurrency::graphics::int_3::int_3 ( )
inline

Default constructor, initializes all elements with 0.

4765  {
4766  _M_x = 0;
4767  _M_y = 0;
4768  _M_z = 0;
4769  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
Concurrency::graphics::int_3::int_3 ( int  _V0,
int  _V1,
int  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
4784  {
4785  _M_x = _V0;
4786  _M_y = _V1;
4787  _M_z = _V2;
4788  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
Concurrency::graphics::int_3::int_3 ( int  _V)
inline

Constructor.

Parameters
_VThe value for initialization.
4797  {
4798  _M_x = _V;
4799  _M_y = _V;
4800  _M_z = _V;
4801  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
Concurrency::graphics::int_3::int_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.
22217  {
22218  uint_3 _Value = _Other;
22219  _M_x = static_cast<value_type>(_Value.x);
22220  _M_y = static_cast<value_type>(_Value.y);
22221  _M_z = static_cast<value_type>(_Value.z);
22222  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
int value_type
Definition: amp_short_vectors.h:4600
Concurrency::graphics::int_3::int_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.
22225  {
22226  float_3 _Value = _Other;
22227  _M_x = static_cast<value_type>(_Value.x);
22228  _M_y = static_cast<value_type>(_Value.y);
22229  _M_z = static_cast<value_type>(_Value.z);
22230  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
int value_type
Definition: amp_short_vectors.h:4600
Concurrency::graphics::int_3::int_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.
22233  {
22234  unorm_3 _Value = _Other;
22235  _M_x = static_cast<value_type>(_Value.x);
22236  _M_y = static_cast<value_type>(_Value.y);
22237  _M_z = static_cast<value_type>(_Value.z);
22238  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
int value_type
Definition: amp_short_vectors.h:4600
Concurrency::graphics::int_3::int_3 ( const norm_3 _Other)
inlineexplicit

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

Parameters
_OtherThe object used to initialize.
22241  {
22242  norm_3 _Value = _Other;
22243  _M_x = static_cast<value_type>(_Value.x);
22244  _M_y = static_cast<value_type>(_Value.y);
22245  _M_z = static_cast<value_type>(_Value.z);
22246  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
int value_type
Definition: amp_short_vectors.h:4600
Concurrency::graphics::int_3::int_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.
22249  {
22250  double_3 _Value = _Other;
22251  _M_x = static_cast<value_type>(_Value.x);
22252  _M_y = static_cast<value_type>(_Value.y);
22253  _M_z = static_cast<value_type>(_Value.z);
22254  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
int value_type
Definition: amp_short_vectors.h:4600

Member Function Documentation

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

Property for accessing element 0 of this int_3 as an int.

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

Property for accessing element 0 of this int_3 as an int.

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

Property for accessing element 1 of this int_3 as an int.

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

Property for accessing element 1 of this int_3 as an int.

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

Property for accessing element 2 of this int_3 as an int.

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

Property for accessing element 2 of this int_3 as an int.

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

Property for accessing element 0, and 1 of this int_3 as an int_2.

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

Property for accessing element 0, and 1 of this int_3 as an int_2.

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

Property for accessing element 0, and 2 of this int_3 as an int_2.

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

Property for accessing element 0, and 2 of this int_3 as an int_2.

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

Property for accessing element 1, and 0 of this int_3 as an int_2.

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

Property for accessing element 1, and 0 of this int_3 as an int_2.

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

Property for accessing element 1, and 2 of this int_3 as an int_2.

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

Property for accessing element 1, and 2 of this int_3 as an int_2.

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

Property for accessing element 2, and 0 of this int_3 as an int_2.

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

Property for accessing element 2, and 0 of this int_3 as an int_2.

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

Property for accessing element 2, and 1 of this int_3 as an int_2.

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

Property for accessing element 2, and 1 of this int_3 as an int_2.

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

Property for accessing element 0, 1, and 2 of this int_3 as an int_3.

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

Property for accessing element 0, 1, and 2 of this int_3 as an int_3.

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

Property for accessing element 0, 2, and 1 of this int_3 as an int_3.

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

Property for accessing element 0, 2, and 1 of this int_3 as an int_3.

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

Property for accessing element 1, 0, and 2 of this int_3 as an int_3.

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

Property for accessing element 1, 0, and 2 of this int_3 as an int_3.

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

Property for accessing element 1, 2, and 0 of this int_3 as an int_3.

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

Property for accessing element 1, 2, and 0 of this int_3 as an int_3.

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

Property for accessing element 2, 0, and 1 of this int_3 as an int_3.

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

Property for accessing element 2, 0, and 1 of this int_3 as an int_3.

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

Property for accessing element 2, 1, and 0 of this int_3 as an int_3.

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

Property for accessing element 2, 1, and 0 of this int_3 as an int_3.

int Concurrency::graphics::int_3::get_x ( ) const
inline

Returns element 0 of this int_3.

Returns
Element 0 of this int_3.
4625  {
4626  return _M_x;
4627  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_2 Concurrency::graphics::int_3::get_xy ( ) const
inline

Returns an int_2 that is composed of element 0, and element 1 of this int_3.

Returns
an int_2.
5020  {
5021  return int_2(_M_x, _M_y);
5022  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_y
Definition: amp_short_vectors.h:4606
int_3 Concurrency::graphics::int_3::get_xyz ( ) const
inline

Returns an int_3 that is composed of element 0, element 1, and element 2 of this int_3.

Returns
an int_3.
5212  {
5213  return int_3(_M_x, _M_y, _M_z);
5214  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int_2 Concurrency::graphics::int_3::get_xz ( ) const
inline

Returns an int_2 that is composed of element 0, and element 2 of this int_3.

Returns
an int_2.
5052  {
5053  return int_2(_M_x, _M_z);
5054  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
int_3 Concurrency::graphics::int_3::get_xzy ( ) const
inline

Returns an int_3 that is composed of element 0, element 2, and element 1 of this int_3.

Returns
an int_3.
5245  {
5246  return int_3(_M_x, _M_z, _M_y);
5247  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int Concurrency::graphics::int_3::get_y ( ) const
inline

Returns element 1 of this int_3.

Returns
Element 1 of this int_3.
4675  {
4676  return _M_y;
4677  }
value_type _M_y
Definition: amp_short_vectors.h:4606
int_2 Concurrency::graphics::int_3::get_yx ( ) const
inline

Returns an int_2 that is composed of element 1, and element 0 of this int_3.

Returns
an int_2.
5084  {
5085  return int_2(_M_y, _M_x);
5086  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_y
Definition: amp_short_vectors.h:4606
int_3 Concurrency::graphics::int_3::get_yxz ( ) const
inline

Returns an int_3 that is composed of element 1, element 0, and element 2 of this int_3.

Returns
an int_3.
5278  {
5279  return int_3(_M_y, _M_x, _M_z);
5280  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int_2 Concurrency::graphics::int_3::get_yz ( ) const
inline

Returns an int_2 that is composed of element 1, and element 2 of this int_3.

Returns
an int_2.
5116  {
5117  return int_2(_M_y, _M_z);
5118  }
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int_3 Concurrency::graphics::int_3::get_yzx ( ) const
inline

Returns an int_3 that is composed of element 1, element 2, and element 0 of this int_3.

Returns
an int_3.
5311  {
5312  return int_3(_M_y, _M_z, _M_x);
5313  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int Concurrency::graphics::int_3::get_z ( ) const
inline

Returns element 2 of this int_3.

Returns
Element 2 of this int_3.
4725  {
4726  return _M_z;
4727  }
value_type _M_z
Definition: amp_short_vectors.h:4607
int_2 Concurrency::graphics::int_3::get_zx ( ) const
inline

Returns an int_2 that is composed of element 2, and element 0 of this int_3.

Returns
an int_2.
5148  {
5149  return int_2(_M_z, _M_x);
5150  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
int_3 Concurrency::graphics::int_3::get_zxy ( ) const
inline

Returns an int_3 that is composed of element 2, element 0, and element 1 of this int_3.

Returns
an int_3.
5344  {
5345  return int_3(_M_z, _M_x, _M_y);
5346  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int_2 Concurrency::graphics::int_3::get_zy ( ) const
inline

Returns an int_2 that is composed of element 2, and element 1 of this int_3.

Returns
an int_2.
5180  {
5181  return int_2(_M_z, _M_y);
5182  }
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int_3 Concurrency::graphics::int_3::get_zyx ( ) const
inline

Returns an int_3 that is composed of element 2, element 1, and element 0 of this int_3.

Returns
an int_3.
5377  {
5378  return int_3(_M_z, _M_y, _M_x);
5379  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
int_3& Concurrency::graphics::int_3::operator%= ( const int_3 _Other)
inline
4939  {
4940  int_3 _Value1 = *this;
4941  int_3 _Value2 = _Other;
4942  _Value1.x %= _Value2.x;
4943  _Value1.y %= _Value2.y;
4944  _Value1.z %= _Value2.z;
4945  *this = _Value1;
4946  return *this;
4947  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator&= ( const int_3 _Other)
inline
4972  {
4973  int_3 _Value1 = *this;
4974  int_3 _Value2 = _Other;
4975  _Value1.x &= _Value2.x;
4976  _Value1.y &= _Value2.y;
4977  _Value1.z &= _Value2.z;
4978  *this = _Value1;
4979  return *this;
4980  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator*= ( const int_3 _Other)
inline
4917  {
4918  int_3 _Value1 = *this;
4919  int_3 _Value2 = _Other;
4920  _Value1.x *= _Value2.x;
4921  _Value1.y *= _Value2.y;
4922  _Value1.z *= _Value2.z;
4923  *this = _Value1;
4924  return *this;
4925  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator++ ( )
inline
4861  {
4862  int_3 _Value = *this;
4863  ++_Value._M_x;
4864  ++_Value._M_y;
4865  ++_Value._M_z;
4866  *this = _Value;
4867  return *this;
4868  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
_In_ _Value
Definition: corecrt_wstdlib.h:65
int_3 Concurrency::graphics::int_3::operator++ ( int  )
inline
4871  {
4872  int_3 _Result = *this;
4873  ++(*this);
4874  return _Result;
4875  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
_Result
Definition: corecrt_wconio.h:362
int_3& Concurrency::graphics::int_3::operator+= ( const int_3 _Other)
inline
4895  {
4896  int_3 _Value1 = *this;
4897  int_3 _Value2 = _Other;
4898  _Value1.x += _Value2.x;
4899  _Value1.y += _Value2.y;
4900  _Value1.z += _Value2.z;
4901  *this = _Value1;
4902  return *this;
4903  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3 Concurrency::graphics::int_3::operator- ( void  ) const
inline
4855  {
4856  int_3 _Value = *this;
4857  return int_3(-_Value.x, -_Value.y, -_Value.z);
4858  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
_In_ _Value
Definition: corecrt_wstdlib.h:65
int_3& Concurrency::graphics::int_3::operator-- ( )
inline
4878  {
4879  int_3 _Value = *this;
4880  --_Value._M_x;
4881  --_Value._M_y;
4882  --_Value._M_z;
4883  *this = _Value;
4884  return *this;
4885  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
_In_ _Value
Definition: corecrt_wstdlib.h:65
int_3 Concurrency::graphics::int_3::operator-- ( int  )
inline
4888  {
4889  int_3 _Result = *this;
4890  --(*this);
4891  return _Result;
4892  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
_Result
Definition: corecrt_wconio.h:362
int_3& Concurrency::graphics::int_3::operator-= ( const int_3 _Other)
inline
4906  {
4907  int_3 _Value1 = *this;
4908  int_3 _Value2 = _Other;
4909  _Value1.x -= _Value2.x;
4910  _Value1.y -= _Value2.y;
4911  _Value1.z -= _Value2.z;
4912  *this = _Value1;
4913  return *this;
4914  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator/= ( const int_3 _Other)
inline
4928  {
4929  int_3 _Value1 = *this;
4930  int_3 _Value2 = _Other;
4931  _Value1.x /= _Value2.x;
4932  _Value1.y /= _Value2.y;
4933  _Value1.z /= _Value2.z;
4934  *this = _Value1;
4935  return *this;
4936  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator<<= ( const int_3 _Other)
inline
4994  {
4995  int_3 _Value1 = *this;
4996  int_3 _Value2 = _Other;
4997  _Value1.x <<= _Value2.x;
4998  _Value1.y <<= _Value2.y;
4999  _Value1.z <<= _Value2.z;
5000  *this = _Value1;
5001  return *this;
5002  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator>>= ( const int_3 _Other)
inline
4983  {
4984  int_3 _Value1 = *this;
4985  int_3 _Value2 = _Other;
4986  _Value1.x >>= _Value2.x;
4987  _Value1.y >>= _Value2.y;
4988  _Value1.z >>= _Value2.z;
4989  *this = _Value1;
4990  return *this;
4991  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator^= ( const int_3 _Other)
inline
4950  {
4951  int_3 _Value1 = *this;
4952  int_3 _Value2 = _Other;
4953  _Value1.x ^= _Value2.x;
4954  _Value1.y ^= _Value2.y;
4955  _Value1.z ^= _Value2.z;
4956  *this = _Value1;
4957  return *this;
4958  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3& Concurrency::graphics::int_3::operator|= ( const int_3 _Other)
inline
4961  {
4962  int_3 _Value1 = *this;
4963  int_3 _Value2 = _Other;
4964  _Value1.x |= _Value2.x;
4965  _Value1.y |= _Value2.y;
4966  _Value1.z |= _Value2.z;
4967  *this = _Value1;
4968  return *this;
4969  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
int_3 Concurrency::graphics::int_3::operator~ ( ) const
inline
4849  {
4850  int_3 _Value = *this;
4851  return int_3(~_Value.x, ~_Value.y, ~_Value.z);
4852  }
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
_In_ _Value
Definition: corecrt_wstdlib.h:65
int& Concurrency::graphics::int_3::ref_b ( )
inline

Returns reference to element 2 of this int_3.

Returns
Reference to element 2 of this int_3.
4745  {
4746  return _M_z;
4747  }
value_type _M_z
Definition: amp_short_vectors.h:4607
int& Concurrency::graphics::int_3::ref_g ( )
inline

Returns reference to element 1 of this int_3.

Returns
Reference to element 1 of this int_3.
4695  {
4696  return _M_y;
4697  }
value_type _M_y
Definition: amp_short_vectors.h:4606
int& Concurrency::graphics::int_3::ref_r ( )
inline

Returns reference to element 0 of this int_3.

Returns
Reference to element 0 of this int_3.
4645  {
4646  return _M_x;
4647  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int& Concurrency::graphics::int_3::ref_x ( )
inline

Returns reference to element 0 of this int_3.

Returns
Reference to element 0 of this int_3.
4635  {
4636  return _M_x;
4637  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int& Concurrency::graphics::int_3::ref_y ( )
inline

Returns reference to element 1 of this int_3.

Returns
Reference to element 1 of this int_3.
4685  {
4686  return _M_y;
4687  }
value_type _M_y
Definition: amp_short_vectors.h:4606
int& Concurrency::graphics::int_3::ref_z ( )
inline

Returns reference to element 2 of this int_3.

Returns
Reference to element 2 of this int_3.
4735  {
4736  return _M_z;
4737  }
value_type _M_z
Definition: amp_short_vectors.h:4607
void Concurrency::graphics::int_3::set_x ( int  _Value)
inline

Set element 0 of this int_3 with an int.

Parameters
_Valuean int value.
4656  {
4657  _M_x = _Value;
4658  }
value_type _M_x
Definition: amp_short_vectors.h:4605
_In_ _Value
Definition: corecrt_wstdlib.h:65
void Concurrency::graphics::int_3::set_xy ( const int_2 _Value)
inline

Set element 0, and 1 of this int_3 with an int_2.

Parameters
_Valuean int_2 value.
5031  {
5032  int_2 _Val = _Value;
5033  _M_x = _Val.x;
5034  _M_y = _Val.y;
5035  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_xyz ( const int_3 _Value)
inline

Set element 0, 1, and 2 of this int_3 with an int_3.

Parameters
_Valuean int_3 value.
5223  {
5224  int_3 _Val = _Value;
5225  _M_x = _Val.x;
5226  _M_y = _Val.y;
5227  _M_z = _Val.z;
5228  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_xz ( const int_2 _Value)
inline

Set element 0, and 2 of this int_3 with an int_2.

Parameters
_Valuean int_2 value.
5063  {
5064  int_2 _Val = _Value;
5065  _M_x = _Val.x;
5066  _M_z = _Val.y;
5067  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_xzy ( const int_3 _Value)
inline

Set element 0, 2, and 1 of this int_3 with an int_3.

Parameters
_Valuean int_3 value.
5256  {
5257  int_3 _Val = _Value;
5258  _M_x = _Val.x;
5259  _M_z = _Val.y;
5260  _M_y = _Val.z;
5261  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_y ( int  _Value)
inline

Set element 1 of this int_3 with an int.

Parameters
_Valuean int value.
4706  {
4707  _M_y = _Value;
4708  }
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
void Concurrency::graphics::int_3::set_yx ( const int_2 _Value)
inline

Set element 1, and 0 of this int_3 with an int_2.

Parameters
_Valuean int_2 value.
5095  {
5096  int_2 _Val = _Value;
5097  _M_y = _Val.x;
5098  _M_x = _Val.y;
5099  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_yxz ( const int_3 _Value)
inline

Set element 1, 0, and 2 of this int_3 with an int_3.

Parameters
_Valuean int_3 value.
5289  {
5290  int_3 _Val = _Value;
5291  _M_y = _Val.x;
5292  _M_x = _Val.y;
5293  _M_z = _Val.z;
5294  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_yz ( const int_2 _Value)
inline

Set element 1, and 2 of this int_3 with an int_2.

Parameters
_Valuean int_2 value.
5127  {
5128  int_2 _Val = _Value;
5129  _M_y = _Val.x;
5130  _M_z = _Val.y;
5131  }
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_yzx ( const int_3 _Value)
inline

Set element 1, 2, and 0 of this int_3 with an int_3.

Parameters
_Valuean int_3 value.
5322  {
5323  int_3 _Val = _Value;
5324  _M_y = _Val.x;
5325  _M_z = _Val.y;
5326  _M_x = _Val.z;
5327  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_z ( int  _Value)
inline

Set element 2 of this int_3 with an int.

Parameters
_Valuean int value.
4756  {
4757  _M_z = _Value;
4758  }
value_type _M_z
Definition: amp_short_vectors.h:4607
_In_ _Value
Definition: corecrt_wstdlib.h:65
void Concurrency::graphics::int_3::set_zx ( const int_2 _Value)
inline

Set element 2, and 0 of this int_3 with an int_2.

Parameters
_Valuean int_2 value.
5159  {
5160  int_2 _Val = _Value;
5161  _M_z = _Val.x;
5162  _M_x = _Val.y;
5163  }
value_type _M_x
Definition: amp_short_vectors.h:4605
value_type _M_z
Definition: amp_short_vectors.h:4607
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_zxy ( const int_3 _Value)
inline

Set element 2, 0, and 1 of this int_3 with an int_3.

Parameters
_Valuean int_3 value.
5355  {
5356  int_3 _Val = _Value;
5357  _M_z = _Val.x;
5358  _M_x = _Val.y;
5359  _M_y = _Val.z;
5360  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_zy ( const int_2 _Value)
inline

Set element 2, and 1 of this int_3 with an int_2.

Parameters
_Valuean int_2 value.
5191  {
5192  int_2 _Val = _Value;
5193  _M_z = _Val.x;
5194  _M_y = _Val.y;
5195  }
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::int_3::set_zyx ( const int_3 _Value)
inline

Set element 2, 1, and 0 of this int_3 with an int_3.

Parameters
_Valuean int_3 value.
5388  {
5389  int_3 _Val = _Value;
5390  _M_z = _Val.x;
5391  _M_y = _Val.y;
5392  _M_x = _Val.z;
5393  }
value_type _M_x
Definition: amp_short_vectors.h:4605
int_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:4764
value_type _M_z
Definition: amp_short_vectors.h:4607
value_type _M_y
Definition: amp_short_vectors.h:4606
_In_ _Value
Definition: corecrt_wstdlib.h:65
_FwdIt const _Ty _Val
Definition: algorithm:1938

Member Data Documentation

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

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