norm_3 — Klasa
Reprezentuje krótki wektor trzech normalnych liczb.
Składnia
class norm_3;
Członkowie
Definicje typów publicznych
Nazwa/nazwisko | opis |
---|---|
value_type |
Konstruktory publiczne
Nazwa/nazwisko | opis |
---|---|
konstruktor norm_3 | Przeciążone. Domyślny konstruktor inicjuje wszystkie elementy z wartością 0. |
Metody publiczne
Nazwa/nazwisko | opis |
---|---|
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 |
Operatory publiczne
Nazwa/nazwisko | opis |
---|---|
norm_3::operator— | |
norm_3::operator- | |
norm_3::operator*= | |
norm_3::operator/= | |
norm_3::operator++ | |
norm_3::operator+= | |
norm_3::operator= | |
norm_3::operator-= |
Stałe publiczne
Nazwa/nazwisko | opis |
---|---|
size, stała |
Publiczne elementy członkowskie danych
Nazwa/nazwisko | opis |
---|---|
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 |
Hierarchia dziedziczenia
norm_3
Wymagania
Nagłówek: amp_short_vectors.h
Przestrzeń nazw: Concurrency::graphics
konstruktor norm_3
Domyślny konstruktor inicjuje wszystkie elementy z wartością 0.
Składnia
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);
Parametry
_V0
Wartość inicjowania elementu 0.
_V1
Wartość inicjowania elementu 1.
_V2
Wartość inicjowania elementu 2.
_V
Wartość inicjowania.
_Innych
Obiekt używany do inicjowania.
size, stała
Składnia
static const int size = 3;
Zobacz też
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla