Quick start
Porous Microstructure Analysis (PuMA)
Python API
pumapy.experimental
pumapy.filters
pumapy.generation
pumapy.io
pumapy.material_properties
pumapy.physics_models.finite_element
pumapy.physics_models.finite_volume
pumapy.physics_models.particle
pumapy.physics_models
pumapy.physics_models.utils
pumapy
pumapy.segmentation
pumapy.utilities
pumapy.visualization
Tutorial
How to run the PuMA tutorial
Elasticity
Image Filters
Microstructure Generation
Data Import and Export
Multi-phase Material
Orientation Detection
Permeability
Porespace Identification
Surface Area
Thermal Conductivity
Continuum Tortuosity
3D Visualization
Workspace Manipulations
PuMA
Template Class Vec4
Edit on GitHub
Template Class Vec4
Defined in
File vector.h
Class Documentation
template
<
class
T
>
class
Vec4
Public Functions
inline
Vec4
(
)
inline
Vec4
(
T
xVal
,
T
yVal
,
T
zVal
)
inline
Vec4
(
T
xVal
,
T
yVal
,
T
zVal
,
T
vVal
)
inline
Vec4
(
const
Vec4
&
other
)
void
operator
()
(
T
xVal
,
T
yVal
,
T
zVal
)
void
operator
()
(
T
xVal
,
T
yVal
,
T
zVal
,
T
vVal
)
void
operator
=
(
const
Vec4
&
other
)
Vec4
<
T
>
operator
-
(
const
Vec4
&
other
)
Vec4
<
T
>
operator
+
(
const
Vec4
&
other
)
Vec4
<
T
>
operator
*
(
const
T
val
)
Vec4
<
T
>
operator
/
(
const
T
val
)
bool
operator
<
(
const
Vec4
&
other
)
Vec4
<
T
>
cross
(
const
Vec4
&
other
)
T
dot
(
const
Vec4
&
other
)
Vec4
<
T
>
norm
(
)
T
magnitude
(
)
std
::
string
toString
(
)
std
::
string
print
(
)
operator
Vec3
<
T
>
(
)
Public Members
T
x
T
y
T
z
T
v
Read the Docs
v: latest
Versions
latest
v3.2.2
v3.2.1
v3.2.0
v3.1.7
v3.1.6
v3.1.5_a
v3.1.5
v3.1.4
v3.1.3
v3.1.0
v3.0.1
v3.0.0
v.3.2.1
Downloads
On Read the Docs
Project Home
Builds