double_3-Klasse
Stellt einen kurzen Vektor aus drei Doubles dar.
Syntax
class double_3;
Member
Öffentliche Typedefs
Name | Beschreibung |
---|---|
value_type |
Öffentliche Konstruktoren
Name | Beschreibung |
---|---|
double_3-Konstruktor | Überladen. Standardkonstruktor, initialisiert alle Elemente mit 0. |
Öffentliche Methoden
Name | Beschreibung |
---|---|
double_3::get_x | |
double_3::get_xy | |
double_3::get_xyz | |
double_3::get_xz | |
double_3::get_xzy | |
double_3::get_y | |
double_3::get_yx | |
double_3::get_yxz | |
double_3::get_yz | |
double_3::get_yzx | |
double_3::get_z | |
double_3::get_zx | |
double_3::get_zxy | |
double_3::get_zy | |
double_3::get_zyx | |
double_3::ref_b | |
double_3::ref_g | |
double_3::ref_r | |
double_3::ref_x | |
double_3::ref_y | |
double_3::ref_z | |
double_3::set_x | |
double_3::set_xy | |
double_3::set_xyz | |
double_3::set_xz | |
double_3::set_xzy | |
double_3::set_y | |
double_3::set_yx | |
double_3::set_yxz | |
double_3::set_yz | |
double_3::set_yzx | |
double_3::set_z | |
double_3::set_zx | |
double_3::set_zxy | |
double_3::set_zy | |
double_3::set_zyx |
Öffentliche Operatoren
Name | Beschreibung |
---|---|
double_3::operator- | |
double_3::operator-- | |
double_3::operator*= | |
double_3::operator/= | |
double_3::operator++ | |
double_3::operator+= | |
double_3::operator= | |
double_3::operator-= |
Öffentliche Konstanten
Name | Beschreibung |
---|---|
Größenkonstante |
Öffentliche Datenmember
Name | Beschreibung |
---|---|
double_3::b | |
double_3::bg | |
double_3::bgr | |
double_3::br | |
double_3::brg | |
double_3::g | |
double_3::gb | |
double_3::gbr | |
double_3::gr | |
double_3::grb | |
double_3::r | |
double_3::rb | |
double_3::rbg | |
double_3::rg | |
double_3::rgb | |
double_3::x | |
double_3::xy | |
double_3::xyz | |
double_3::xz | |
double_3::xzy | |
double_3::y | |
double_3::yx | |
double_3::yxz | |
double_3::yz | |
double_3::yzx | |
double_3::z | |
double_3::zx | |
double_3::zxy | |
double_3::zy | |
double_3::zyx |
Vererbungshierarchie
double_3
Anforderungen
Kopfzeile: amp_short_vectors.h
Namespace: Parallelität::graphics
double_3
Standardkonstruktor, initialisiert alle Elemente mit 0.
double_3() restrict(amp,
cpu);
double_3(
double _V0,
double _V1,
double _V2) restrict(amp,
cpu);
double_3(
double _V) restrict(amp,
cpu);
double_3(
const double_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const uint_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const int_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const float_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const unorm_3& _Other) restrict(amp,
cpu);
explicit inline double_3(
const norm_3& _Other) restrict(amp,
cpu);
Parameter
_V0
Der Wert zum Initialisieren des Elements 0.
_V1
Der Wert zum Initialisieren des Elements 1.
_V2
Der Wert zum Initialisieren des Elements 2.
_V
Der Wert für die Initialisierung.
_Other
Das Objekt, das zum Initialisieren verwendet wird.
size
static const int size = 3;