Megjegyzés
Az oldalhoz való hozzáféréshez engedély szükséges. Megpróbálhat bejelentkezni vagy módosítani a címtárat.
Az oldalhoz való hozzáféréshez engedély szükséges. Megpróbálhatja módosítani a címtárat.
Három normál számból álló rövid vektort jelöl.
Szemantika
class norm_3;
Tagok
Nyilvános típustdefiníciók
| Név | Description |
|---|---|
value_type |
Nyilvános konstruktorok
| Név | Description |
|---|---|
| norm_3 Konstruktor | Túlterhelt. Az alapértelmezett konstruktor az összes elemet inicializálja 0-val. |
Nyilvános módszerek
| Név | Description |
|---|---|
| norm_3::get_x | |
| norm_3::get_xy | |
| norm_3::get_xyz | |
| norm_3::get_xz | |
| norm_3::get_xzy | |
| norm_3::get_y | |
| norm_3::get_yx | |
| norm_3::get_yxz | |
| norm_3::get_yz | |
| norm_3::get_yzx | |
| norm_3::get_z | |
| norm_3::get_zx | |
| norm_3::get_zxy | |
| norm_3::get_zy | |
| norm_3::get_zyx | |
| norm_3::ref_b | |
| norm_3::ref_g | |
| norm_3::ref_r | |
| norm_3::ref_x | |
| norm_3::ref_y | |
| norm_3::ref_z | |
| norm_3::set_x | |
| norm_3::set_xy | |
| norm_3::set_xyz | |
| norm_3::set_xz | |
| norm_3::set_xzy | |
| norm_3::set_y | |
| norm_3::set_yx | |
| norm_3::set_yxz | |
| norm_3::set_yz | |
| norm_3::set_yzx | |
| norm_3::set_z | |
| norm_3::set_zx | |
| norm_3::set_zxy | |
| norm_3::set_zy | |
| norm_3::set_zyx |
Nyilvános operátorok
| Név | Description |
|---|---|
| norm_3::operátor- | |
| norm_3::operátor-- | |
| norm_3::operátor*= | |
| norm_3::operátor/= | |
| norm_3::operator++ | |
| norm_3::operátor+= | |
| norm_3::operátor= | |
| norm_3::operator-= |
Nyilvános állandók
| Név | Description |
|---|---|
| méretállandó |
Nyilvános adatok tagjai
| Név | Description |
|---|---|
| norm_3::b | |
| norm_3::bg | |
| norm_3::bgr | |
| norm_3::br | |
| norm_3::brg | |
| norm_3::g | |
| norm_3::gb | |
| norm_3::gbr | |
| norm_3::gr | |
| norm_3::grb | |
| norm_3::r | |
| norm_3::rb | |
| norm_3::rbg | |
| norm_3::rg | |
| norm_3::rgb | |
| norm_3::x | |
| norm_3::xy | |
| norm_3::xyz | |
| norm_3::xz | |
| norm_3::xzy | |
| norm_3::y | |
| norm_3::yx | |
| norm_3::yxz | |
| norm_3::yz | |
| norm_3::yzx | |
| norm_3::z | |
| norm_3::zx | |
| norm_3::zxy | |
| norm_3::zy | |
| norm_3::zyx |
Öröklési hierarchia
norm_3
Requirements
Fejléc: amp_short_vectors.h
Namespace: Párhuzamosság::grafika
norm_3 Konstruktor
Az alapértelmezett konstruktor az összes elemet inicializálja 0-val.
Szemantika
norm_3() restrict(amp,cpu);
norm_3(
norm _V0,
norm _V1,
norm _V2
) restrict(amp,cpu);
norm_3(
float _V0,
float _V1,
float _V2
) restrict(amp,cpu);
norm_3(
unorm _V0,
unorm _V1,
unorm _V2
) restrict(amp,cpu);
norm_3(
norm _V
) restrict(amp,cpu);
explicit norm_3(
float _V
) restrict(amp,cpu);
norm_3(
const norm_3& _Other
) restrict(amp,cpu);
explicit inline norm_3(
const uint_3& _Other
) restrict(amp,cpu);
explicit inline norm_3(
const int_3& _Other
) restrict(amp,cpu);
explicit inline norm_3(
const float_3& _Other
) restrict(amp,cpu);
explicit inline norm_3(
const unorm_3& _Other
) restrict(amp,cpu);
explicit inline norm_3(
const double_3& _Other
) restrict(amp,cpu);
Paraméterek
_V0
A 0. elem inicializálandó értéke.
_V1
Az 1. elem inicializálandó értéke.
_V2
A 2. elem inicializálandó értéke.
_V
Az inicializálás értéke.
_Más
Az inicializáláshoz használt objektum.
méretállandó
Szemantika
static const int size = 3;