Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Mewakili vektor pendek dari tiga angka normal.
Sintaks
class norm_3;
Anggota
Typedef Publik
| Nama | Deskripsi |
|---|---|
value_type |
Konstruktor Publik
| Nama | Deskripsi |
|---|---|
| Konstruktor norm_3 | Kelebihan beban. Konstruktor default, menginisialisasi semua elemen dengan 0. |
Metode Publik
| Nama | Deskripsi |
|---|---|
| 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 |
Operator Publik
| Nama | Deskripsi |
|---|---|
| norm_3::operator- | |
| norm_3::operator-- | |
| norm_3::operator*= | |
| norm_3::operator/= | |
| norm_3::operator++ | |
| norm_3::operator+= | |
| norm_3::operator= | |
| norm_3::operator-= |
Konstanta Publik
| Nama | Deskripsi |
|---|---|
| konstanta ukuran |
Anggota Data Publik
| Nama | Deskripsi |
|---|---|
| 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 |
Hierarki Warisan
norm_3
Persyaratan
Header: amp_short_vectors.h
Namespace: Konkurensi::grafis
Konstruktor norm_3
Konstruktor default, menginisialisasi semua elemen dengan 0.
Sintaks
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);
Parameter
_V0
Nilai untuk menginisialisasi elemen 0.
_V1
Nilai untuk menginisialisasi elemen 1.
_V2
Nilai untuk menginisialisasi elemen 2.
_V
Nilai untuk inisialisasi.
_Other
Objek yang digunakan untuk menginisialisasi.
konstanta ukuran
Sintaks
static const int size = 3;