Openholo  v4.2
Open Source Digital Holographic Library
oph::ivec3 Struct Reference

structure for 3-dimensional integer vector and its arithmetic. More...

#include <ivec.h>

Public Member Functions

 ivec3 ()
 
 ivec3 (int a)
 
 ivec3 (int v_1, int v_2, int v_3)
 
 ivec3 (const ivec3 &a)
 
ivec3operator= (const ivec3 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 
 ivec3 ()
 
 ivec3 (int a)
 
 ivec3 (int v_1, int v_2, int v_3)
 
 ivec3 (const ivec3 &a)
 
ivec3operator= (const ivec3 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 
 ivec3 ()
 
 ivec3 (int a)
 
 ivec3 (int v_1, int v_2, int v_3)
 
 ivec3 (const ivec3 &a)
 
ivec3operator= (const ivec3 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 
 ivec3 ()
 
 ivec3 (int a)
 
 ivec3 (int v_1, int v_2, int v_3)
 
 ivec3 (const ivec3 &a)
 
ivec3operator= (const ivec3 &a)
 
int & operator[] (int i)
 
const int & operator[] (int i) const
 
int & operator() (int i)
 
const int & operator() (int i) const
 

Public Attributes

int v [3]
 

Static Public Attributes

static const int n
 

Detailed Description

structure for 3-dimensional integer vector and its arithmetic.

Definition at line 386 of file ivec.h.

Constructor & Destructor Documentation

◆ ivec3() [1/16]

oph::ivec3::ivec3 ( )
inline

Definition at line 390 of file ivec.h.

◆ ivec3() [2/16]

oph::ivec3::ivec3 ( int  a)
inline

Definition at line 395 of file ivec.h.

◆ ivec3() [3/16]

oph::ivec3::ivec3 ( int  v_1,
int  v_2,
int  v_3 
)
inline

Definition at line 400 of file ivec.h.

◆ ivec3() [4/16]

oph::ivec3::ivec3 ( const ivec3 a)
inline

Definition at line 405 of file ivec.h.

◆ ivec3() [5/16]

oph::ivec3::ivec3 ( )
inline

Definition at line 390 of file ivec.h.

◆ ivec3() [6/16]

oph::ivec3::ivec3 ( int  a)
inline

Definition at line 395 of file ivec.h.

◆ ivec3() [7/16]

oph::ivec3::ivec3 ( int  v_1,
int  v_2,
int  v_3 
)
inline

Definition at line 400 of file ivec.h.

◆ ivec3() [8/16]

oph::ivec3::ivec3 ( const ivec3 a)
inline

Definition at line 405 of file ivec.h.

◆ ivec3() [9/16]

oph::ivec3::ivec3 ( )
inline

Definition at line 390 of file ivec.h.

◆ ivec3() [10/16]

oph::ivec3::ivec3 ( int  a)
inline

Definition at line 395 of file ivec.h.

◆ ivec3() [11/16]

oph::ivec3::ivec3 ( int  v_1,
int  v_2,
int  v_3 
)
inline

Definition at line 400 of file ivec.h.

◆ ivec3() [12/16]

oph::ivec3::ivec3 ( const ivec3 a)
inline

Definition at line 405 of file ivec.h.

◆ ivec3() [13/16]

oph::ivec3::ivec3 ( )
inline

Definition at line 390 of file ivec.h.

◆ ivec3() [14/16]

oph::ivec3::ivec3 ( int  a)
inline

Definition at line 395 of file ivec.h.

◆ ivec3() [15/16]

oph::ivec3::ivec3 ( int  v_1,
int  v_2,
int  v_3 
)
inline

Definition at line 400 of file ivec.h.

◆ ivec3() [16/16]

oph::ivec3::ivec3 ( const ivec3 a)
inline

Definition at line 405 of file ivec.h.

Member Function Documentation

◆ operator()() [1/8]

int& oph::ivec3::operator() ( int  i)
inline

Definition at line 419 of file ivec.h.

◆ operator()() [2/8]

int& oph::ivec3::operator() ( int  i)
inline

Definition at line 419 of file ivec.h.

◆ operator()() [3/8]

int& oph::ivec3::operator() ( int  i)
inline

Definition at line 419 of file ivec.h.

◆ operator()() [4/8]

int& oph::ivec3::operator() ( int  i)
inline

Definition at line 419 of file ivec.h.

◆ operator()() [5/8]

const int& oph::ivec3::operator() ( int  i) const
inline

Definition at line 420 of file ivec.h.

◆ operator()() [6/8]

const int& oph::ivec3::operator() ( int  i) const
inline

Definition at line 420 of file ivec.h.

◆ operator()() [7/8]

const int& oph::ivec3::operator() ( int  i) const
inline

Definition at line 420 of file ivec.h.

◆ operator()() [8/8]

const int& oph::ivec3::operator() ( int  i) const
inline

Definition at line 420 of file ivec.h.

◆ operator=() [1/4]

ivec3& oph::ivec3::operator= ( const ivec3 a)
inline

Definition at line 410 of file ivec.h.

◆ operator=() [2/4]

ivec3& oph::ivec3::operator= ( const ivec3 a)
inline

Definition at line 410 of file ivec.h.

◆ operator=() [3/4]

ivec3& oph::ivec3::operator= ( const ivec3 a)
inline

Definition at line 410 of file ivec.h.

◆ operator=() [4/4]

ivec3& oph::ivec3::operator= ( const ivec3 a)
inline

Definition at line 410 of file ivec.h.

◆ operator[]() [1/8]

int& oph::ivec3::operator[] ( int  i)
inline

Definition at line 417 of file ivec.h.

◆ operator[]() [2/8]

int& oph::ivec3::operator[] ( int  i)
inline

Definition at line 417 of file ivec.h.

◆ operator[]() [3/8]

int& oph::ivec3::operator[] ( int  i)
inline

Definition at line 417 of file ivec.h.

◆ operator[]() [4/8]

int& oph::ivec3::operator[] ( int  i)
inline

Definition at line 417 of file ivec.h.

◆ operator[]() [5/8]

const int& oph::ivec3::operator[] ( int  i) const
inline

Definition at line 418 of file ivec.h.

◆ operator[]() [6/8]

const int& oph::ivec3::operator[] ( int  i) const
inline

Definition at line 418 of file ivec.h.

◆ operator[]() [7/8]

const int& oph::ivec3::operator[] ( int  i) const
inline

Definition at line 418 of file ivec.h.

◆ operator[]() [8/8]

const int& oph::ivec3::operator[] ( int  i) const
inline

Definition at line 418 of file ivec.h.

Member Data Documentation

◆ n

static const int oph::ivec3::n
static

Definition at line 388 of file ivec.h.

◆ v

int oph::ivec3::v

Definition at line 387 of file ivec.h.


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