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

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

#include <amp_short_vectors.h>

Public Types

typedef double value_type
 

Public Member Functions

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

Detailed Description

Represent a short vector of 3 double's.

Member Typedef Documentation

Constructor & Destructor Documentation

Concurrency::graphics::double_3::double_3 ( )
inline

Default constructor, initializes all elements with 0.

19100  {
19101  _M_x = 0;
19102  _M_y = 0;
19103  _M_z = 0;
19104  }
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
Concurrency::graphics::double_3::double_3 ( double  _V0,
double  _V1,
double  _V2 
)
inline

Constructor.

Parameters
_V0The value to initialize element 0.
_V1The value to initialize element 1.
_V2The value to initialize element 2.
19119  {
19120  _M_x = _V0;
19121  _M_y = _V1;
19122  _M_z = _V2;
19123  }
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
Concurrency::graphics::double_3::double_3 ( double  _V)
inline

Constructor.

Parameters
_VThe value for initialization.
19132  {
19133  _M_x = _V;
19134  _M_y = _V;
19135  _M_z = _V;
19136  }
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
Concurrency::graphics::double_3::double_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.
22709  {
22710  uint_3 _Value = _Other;
22711  _M_x = static_cast<value_type>(_Value.x);
22712  _M_y = static_cast<value_type>(_Value.y);
22713  _M_z = static_cast<value_type>(_Value.z);
22714  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
double value_type
Definition: amp_short_vectors.h:18935
value_type _M_z
Definition: amp_short_vectors.h:18942
Concurrency::graphics::double_3::double_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.
22717  {
22718  int_3 _Value = _Other;
22719  _M_x = static_cast<value_type>(_Value.x);
22720  _M_y = static_cast<value_type>(_Value.y);
22721  _M_z = static_cast<value_type>(_Value.z);
22722  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
double value_type
Definition: amp_short_vectors.h:18935
value_type _M_z
Definition: amp_short_vectors.h:18942
Concurrency::graphics::double_3::double_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.
22725  {
22726  float_3 _Value = _Other;
22727  _M_x = static_cast<value_type>(_Value.x);
22728  _M_y = static_cast<value_type>(_Value.y);
22729  _M_z = static_cast<value_type>(_Value.z);
22730  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
double value_type
Definition: amp_short_vectors.h:18935
value_type _M_z
Definition: amp_short_vectors.h:18942
Concurrency::graphics::double_3::double_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.
22733  {
22734  unorm_3 _Value = _Other;
22735  _M_x = static_cast<value_type>(_Value.x);
22736  _M_y = static_cast<value_type>(_Value.y);
22737  _M_z = static_cast<value_type>(_Value.z);
22738  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
double value_type
Definition: amp_short_vectors.h:18935
value_type _M_z
Definition: amp_short_vectors.h:18942
Concurrency::graphics::double_3::double_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.
22741  {
22742  norm_3 _Value = _Other;
22743  _M_x = static_cast<value_type>(_Value.x);
22744  _M_y = static_cast<value_type>(_Value.y);
22745  _M_z = static_cast<value_type>(_Value.z);
22746  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
double value_type
Definition: amp_short_vectors.h:18935
value_type _M_z
Definition: amp_short_vectors.h:18942

Member Function Documentation

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

Property for accessing element 0 of this double_3 as a double.

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

Property for accessing element 0 of this double_3 as a double.

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

Property for accessing element 1 of this double_3 as a double.

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

Property for accessing element 1 of this double_3 as a double.

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

Property for accessing element 2 of this double_3 as a double.

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

Property for accessing element 2 of this double_3 as a double.

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

Property for accessing element 0, and 1 of this double_3 as a double_2.

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

Property for accessing element 0, and 1 of this double_3 as a double_2.

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

Property for accessing element 0, and 2 of this double_3 as a double_2.

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

Property for accessing element 0, and 2 of this double_3 as a double_2.

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

Property for accessing element 1, and 0 of this double_3 as a double_2.

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

Property for accessing element 1, and 0 of this double_3 as a double_2.

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

Property for accessing element 1, and 2 of this double_3 as a double_2.

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

Property for accessing element 1, and 2 of this double_3 as a double_2.

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

Property for accessing element 2, and 0 of this double_3 as a double_2.

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

Property for accessing element 2, and 0 of this double_3 as a double_2.

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

Property for accessing element 2, and 1 of this double_3 as a double_2.

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

Property for accessing element 2, and 1 of this double_3 as a double_2.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

double Concurrency::graphics::double_3::get_x ( ) const
inline

Returns element 0 of this double_3.

Returns
Element 0 of this double_3.
18960  {
18961  return _M_x;
18962  }
value_type _M_x
Definition: amp_short_vectors.h:18940
double_2 Concurrency::graphics::double_3::get_xy ( ) const
inline

Returns a double_2 that is composed of element 0, and element 1 of this double_3.

Returns
a double_2.
19283  {
19284  return double_2(_M_x,_M_y);
19285  }
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
double_3 Concurrency::graphics::double_3::get_xyz ( ) const
inline

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

Returns
a double_3.
19475  {
19476  return double_3(_M_x,_M_y,_M_z);
19477  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double_2 Concurrency::graphics::double_3::get_xz ( ) const
inline

Returns a double_2 that is composed of element 0, and element 2 of this double_3.

Returns
a double_2.
19315  {
19316  return double_2(_M_x,_M_z);
19317  }
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double_3 Concurrency::graphics::double_3::get_xzy ( ) const
inline

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

Returns
a double_3.
19508  {
19509  return double_3(_M_x,_M_z,_M_y);
19510  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double Concurrency::graphics::double_3::get_y ( ) const
inline

Returns element 1 of this double_3.

Returns
Element 1 of this double_3.
19010  {
19011  return _M_y;
19012  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double_2 Concurrency::graphics::double_3::get_yx ( ) const
inline

Returns a double_2 that is composed of element 1, and element 0 of this double_3.

Returns
a double_2.
19347  {
19348  return double_2(_M_y,_M_x);
19349  }
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
double_3 Concurrency::graphics::double_3::get_yxz ( ) const
inline

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

Returns
a double_3.
19541  {
19542  return double_3(_M_y,_M_x,_M_z);
19543  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double_2 Concurrency::graphics::double_3::get_yz ( ) const
inline

Returns a double_2 that is composed of element 1, and element 2 of this double_3.

Returns
a double_2.
19379  {
19380  return double_2(_M_y,_M_z);
19381  }
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_z
Definition: amp_short_vectors.h:18942
double_3 Concurrency::graphics::double_3::get_yzx ( ) const
inline

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

Returns
a double_3.
19574  {
19575  return double_3(_M_y,_M_z,_M_x);
19576  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double Concurrency::graphics::double_3::get_z ( ) const
inline

Returns element 2 of this double_3.

Returns
Element 2 of this double_3.
19060  {
19061  return _M_z;
19062  }
value_type _M_z
Definition: amp_short_vectors.h:18942
double_2 Concurrency::graphics::double_3::get_zx ( ) const
inline

Returns a double_2 that is composed of element 2, and element 0 of this double_3.

Returns
a double_2.
19411  {
19412  return double_2(_M_z,_M_x);
19413  }
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double_3 Concurrency::graphics::double_3::get_zxy ( ) const
inline

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

Returns
a double_3.
19607  {
19608  return double_3(_M_z,_M_x,_M_y);
19609  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double_2 Concurrency::graphics::double_3::get_zy ( ) const
inline

Returns a double_2 that is composed of element 2, and element 1 of this double_3.

Returns
a double_2.
19443  {
19444  return double_2(_M_z,_M_y);
19445  }
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_z
Definition: amp_short_vectors.h:18942
double_3 Concurrency::graphics::double_3::get_zyx ( ) const
inline

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

Returns
a double_3.
19640  {
19641  return double_3(_M_z,_M_y,_M_x);
19642  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
value_type _M_z
Definition: amp_short_vectors.h:18942
double_3& Concurrency::graphics::double_3::operator*= ( const double_3 _Other)
inline
19246  {
19247  double_3 _Value1 = *this;
19248  double_3 _Value2 = _Other;
19249  _Value1.x *= _Value2.x;
19250  _Value1.y *= _Value2.y;
19251  _Value1.z *= _Value2.z;
19252  *this = _Value1;
19253  return *this;
19254  }
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3& Concurrency::graphics::double_3::operator++ ( )
inline
19190  {
19191  double_3 _Value = *this;
19192  ++_Value._M_x;
19193  ++_Value._M_y;
19194  ++_Value._M_z;
19195  *this = _Value;
19196  return *this;
19197  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3 Concurrency::graphics::double_3::operator++ ( int  )
inline
19200  {
19201  double_3 _Result = *this;
19202  ++(*this);
19203  return _Result;
19204  }
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3& Concurrency::graphics::double_3::operator+= ( const double_3 _Other)
inline
19224  {
19225  double_3 _Value1 = *this;
19226  double_3 _Value2 = _Other;
19227  _Value1.x += _Value2.x;
19228  _Value1.y += _Value2.y;
19229  _Value1.z += _Value2.z;
19230  *this = _Value1;
19231  return *this;
19232  }
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3 Concurrency::graphics::double_3::operator- ( void  ) const
inline
19184  {
19185  double_3 _Value = *this;
19186  return double_3(-_Value.x, -_Value.y, -_Value.z);
19187  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3& Concurrency::graphics::double_3::operator-- ( )
inline
19207  {
19208  double_3 _Value = *this;
19209  --_Value._M_x;
19210  --_Value._M_y;
19211  --_Value._M_z;
19212  *this = _Value;
19213  return *this;
19214  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3 Concurrency::graphics::double_3::operator-- ( int  )
inline
19217  {
19218  double_3 _Result = *this;
19219  --(*this);
19220  return _Result;
19221  }
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3& Concurrency::graphics::double_3::operator-= ( const double_3 _Other)
inline
19235  {
19236  double_3 _Value1 = *this;
19237  double_3 _Value2 = _Other;
19238  _Value1.x -= _Value2.x;
19239  _Value1.y -= _Value2.y;
19240  _Value1.z -= _Value2.z;
19241  *this = _Value1;
19242  return *this;
19243  }
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double_3& Concurrency::graphics::double_3::operator/= ( const double_3 _Other)
inline
19257  {
19258  double_3 _Value1 = *this;
19259  double_3 _Value2 = _Other;
19260  _Value1.x /= _Value2.x;
19261  _Value1.y /= _Value2.y;
19262  _Value1.z /= _Value2.z;
19263  *this = _Value1;
19264  return *this;
19265  }
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
double& Concurrency::graphics::double_3::ref_b ( )
inline

Returns reference to element 2 of this double_3.

Returns
Reference to element 2 of this double_3.
19080  {
19081  return _M_z;
19082  }
value_type _M_z
Definition: amp_short_vectors.h:18942
double& Concurrency::graphics::double_3::ref_g ( )
inline

Returns reference to element 1 of this double_3.

Returns
Reference to element 1 of this double_3.
19030  {
19031  return _M_y;
19032  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double& Concurrency::graphics::double_3::ref_r ( )
inline

Returns reference to element 0 of this double_3.

Returns
Reference to element 0 of this double_3.
18980  {
18981  return _M_x;
18982  }
value_type _M_x
Definition: amp_short_vectors.h:18940
double& Concurrency::graphics::double_3::ref_x ( )
inline

Returns reference to element 0 of this double_3.

Returns
Reference to element 0 of this double_3.
18970  {
18971  return _M_x;
18972  }
value_type _M_x
Definition: amp_short_vectors.h:18940
double& Concurrency::graphics::double_3::ref_y ( )
inline

Returns reference to element 1 of this double_3.

Returns
Reference to element 1 of this double_3.
19020  {
19021  return _M_y;
19022  }
value_type _M_y
Definition: amp_short_vectors.h:18941
double& Concurrency::graphics::double_3::ref_z ( )
inline

Returns reference to element 2 of this double_3.

Returns
Reference to element 2 of this double_3.
19070  {
19071  return _M_z;
19072  }
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_x ( double  _Value)
inline

Set element 0 of this double_3 with a double.

Parameters
_Valuea double value.
18991  {
18992  _M_x = _Value;
18993  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_x
Definition: amp_short_vectors.h:18940
void Concurrency::graphics::double_3::set_xy ( const double_2 _Value)
inline

Set element 0, and 1 of this double_3 with a double_2.

Parameters
_Valuea double_2 value.
19294  {
19295  double_2 _Val = _Value;
19296  _M_x = _Val.x;
19297  _M_y = _Val.y;
19298  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::double_3::set_xyz ( const double_3 _Value)
inline

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

Parameters
_Valuea double_3 value.
19486  {
19487  double_3 _Val = _Value;
19488  _M_x = _Val.x;
19489  _M_y = _Val.y;
19490  _M_z = _Val.z;
19491  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_xz ( const double_2 _Value)
inline

Set element 0, and 2 of this double_3 with a double_2.

Parameters
_Valuea double_2 value.
19326  {
19327  double_2 _Val = _Value;
19328  _M_x = _Val.x;
19329  _M_z = _Val.y;
19330  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_xzy ( const double_3 _Value)
inline

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

Parameters
_Valuea double_3 value.
19519  {
19520  double_3 _Val = _Value;
19521  _M_x = _Val.x;
19522  _M_z = _Val.y;
19523  _M_y = _Val.z;
19524  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_y ( double  _Value)
inline

Set element 1 of this double_3 with a double.

Parameters
_Valuea double value.
19041  {
19042  _M_y = _Value;
19043  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
void Concurrency::graphics::double_3::set_yx ( const double_2 _Value)
inline

Set element 1, and 0 of this double_3 with a double_2.

Parameters
_Valuea double_2 value.
19358  {
19359  double_2 _Val = _Value;
19360  _M_y = _Val.x;
19361  _M_x = _Val.y;
19362  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
void Concurrency::graphics::double_3::set_yxz ( const double_3 _Value)
inline

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

Parameters
_Valuea double_3 value.
19552  {
19553  double_3 _Val = _Value;
19554  _M_y = _Val.x;
19555  _M_x = _Val.y;
19556  _M_z = _Val.z;
19557  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_yz ( const double_2 _Value)
inline

Set element 1, and 2 of this double_3 with a double_2.

Parameters
_Valuea double_2 value.
19390  {
19391  double_2 _Val = _Value;
19392  _M_y = _Val.x;
19393  _M_z = _Val.y;
19394  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_yzx ( const double_3 _Value)
inline

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

Parameters
_Valuea double_3 value.
19585  {
19586  double_3 _Val = _Value;
19587  _M_y = _Val.x;
19588  _M_z = _Val.y;
19589  _M_x = _Val.z;
19590  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_z ( double  _Value)
inline

Set element 2 of this double_3 with a double.

Parameters
_Valuea double value.
19091  {
19092  _M_z = _Value;
19093  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_zx ( const double_2 _Value)
inline

Set element 2, and 0 of this double_3 with a double_2.

Parameters
_Valuea double_2 value.
19422  {
19423  double_2 _Val = _Value;
19424  _M_z = _Val.x;
19425  _M_x = _Val.y;
19426  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_zxy ( const double_3 _Value)
inline

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

Parameters
_Valuea double_3 value.
19618  {
19619  double_3 _Val = _Value;
19620  _M_z = _Val.x;
19621  _M_x = _Val.y;
19622  _M_y = _Val.z;
19623  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_zy ( const double_2 _Value)
inline

Set element 2, and 1 of this double_3 with a double_2.

Parameters
_Valuea double_2 value.
19454  {
19455  double_2 _Val = _Value;
19456  _M_z = _Val.x;
19457  _M_y = _Val.y;
19458  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942
void Concurrency::graphics::double_3::set_zyx ( const double_3 _Value)
inline

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

Parameters
_Valuea double_3 value.
19651  {
19652  double_3 _Val = _Value;
19653  _M_z = _Val.x;
19654  _M_y = _Val.y;
19655  _M_x = _Val.z;
19656  }
_CRTIMP _In_ int _Value
Definition: setjmp.h:190
value_type _M_y
Definition: amp_short_vectors.h:18941
double_3() __GPU
Default constructor, initializes all elements with 0.
Definition: amp_short_vectors.h:19099
value_type _M_x
Definition: amp_short_vectors.h:18940
_FwdIt const _Ty _Val
Definition: algorithm:1938
value_type _M_z
Definition: amp_short_vectors.h:18942

Member Data Documentation

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

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