Visualization Library 2.0.0-b3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
vl::Vector3< T_Scalar > Class Template Reference

The Vector3 class is a template class that implements a generic 3 components vector, see also vl::fvec3, vl::dvec3, vl::uvec3, vl::ivec3, vl::svec3, vl::usvec3, vl::bvec3, vl::ubvec3. More...

#include <Vector3.hpp>

Public Types

typedef T_Scalar scalar_type
 

Public Member Functions

 Vector3 (const Vector3 &other)
 
 Vector3 ()
 
template<class T >
 Vector3 (const T &other)
 
 Vector3 (T_Scalar val)
 
 Vector3 (T_Scalar x, T_Scalar y, T_Scalar z)
 
 Vector3 (const Vector2< T_Scalar > &v, T_Scalar z)
 
T_Scalar * ptr ()
 
const T_Scalar * ptr () const
 
const T_Scalar & x () const
 
const T_Scalar & y () const
 
const T_Scalar & z () const
 
T_Scalar & x ()
 
T_Scalar & y ()
 
T_Scalar & z ()
 
const T_Scalar & r () const
 
const T_Scalar & g () const
 
const T_Scalar & b () const
 
T_Scalar & r ()
 
T_Scalar & g ()
 
T_Scalar & b ()
 
const T_Scalar & s () const
 
const T_Scalar & t () const
 
const T_Scalar & p () const
 
T_Scalar & s ()
 
T_Scalar & t ()
 
T_Scalar & p ()
 
Vector2< T_Scalar > xy () const
 
Vector2< T_Scalar > st () const
 
Vector3 operator+ (const Vector3 &other) const
 
Vector3 operator- (const Vector3 &other) const
 
Vector3 operator* (const Vector3 &other) const
 
Vector3 operator/ (const Vector3 &other) const
 
Vector3 operator+ (T_Scalar val) const
 
Vector3 operator- (T_Scalar val) const
 
Vector3 operator* (T_Scalar val) const
 
Vector3 operator/ (T_Scalar val) const
 
Vector3 operator- () const
 
Vector3operator+= (const Vector3 &other)
 
Vector3operator-= (const Vector3 &other)
 
Vector3operator*= (const Vector3 &other)
 
Vector3operator/= (const Vector3 &other)
 
Vector3operator+= (T_Scalar val)
 
Vector3operator-= (T_Scalar val)
 
Vector3operator*= (T_Scalar val)
 
Vector3operator/= (T_Scalar val)
 
Vector3operator= (const Vector3 &other)
 
Vector3operator= (T_Scalar val)
 
bool operator== (const Vector3 &other) const
 
bool operator!= (const Vector3 &other) const
 
bool operator< (const Vector3 &other) const
 
T_Scalar & operator[] (unsigned i)
 
const T_Scalar & operator[] (unsigned i) const
 
T_Scalar length () const
 
T_Scalar lengthSquared () const
 
bool isNull () const
 
const Vector3normalize (T_Scalar *len=NULL)
 
template<>
half length () const
 
template<>
half lengthSquared () const
 

Static Public Attributes

static const int scalar_count = 3
 

Protected Attributes

T_Scalar mScalar [scalar_count]
 

Detailed Description

template<typename T_Scalar>
class vl::Vector3< T_Scalar >

The Vector3 class is a template class that implements a generic 3 components vector, see also vl::fvec3, vl::dvec3, vl::uvec3, vl::ivec3, vl::svec3, vl::usvec3, vl::bvec3, vl::ubvec3.

See also
Vector4, Vector2, Matrix4, Matrix3, Matrix2

Definition at line 44 of file Vector3.hpp.

Member Typedef Documentation

◆ scalar_type

template<typename T_Scalar>
typedef T_Scalar vl::Vector3< T_Scalar >::scalar_type

Definition at line 47 of file Vector3.hpp.

Constructor & Destructor Documentation

◆ Vector3() [1/6]

template<typename T_Scalar>
vl::Vector3< T_Scalar >::Vector3 ( const Vector3< T_Scalar > &  other)
inline

Definition at line 49 of file Vector3.hpp.

◆ Vector3() [2/6]

template<typename T_Scalar>
vl::Vector3< T_Scalar >::Vector3 ( )
inline

◆ Vector3() [3/6]

template<typename T_Scalar>
template<class T >
vl::Vector3< T_Scalar >::Vector3 ( const T &  other)
inlineexplicit

Definition at line 53 of file Vector3.hpp.

◆ Vector3() [4/6]

template<typename T_Scalar>
vl::Vector3< T_Scalar >::Vector3 ( T_Scalar  val)
inlineexplicit

Definition at line 60 of file Vector3.hpp.

◆ Vector3() [5/6]

template<typename T_Scalar>
vl::Vector3< T_Scalar >::Vector3 ( T_Scalar  x,
T_Scalar  y,
T_Scalar  z 
)
inlineexplicit

Definition at line 72 of file Vector3.hpp.

◆ Vector3() [6/6]

template<typename T_Scalar>
vl::Vector3< T_Scalar >::Vector3 ( const Vector2< T_Scalar > &  v,
T_Scalar  z 
)
inlineexplicit

Definition at line 79 of file Vector3.hpp.

Member Function Documentation

◆ b() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::b ( ) const
inline

◆ b() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::b ( )
inline

Definition at line 103 of file Vector3.hpp.

◆ g() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::g ( ) const
inline

◆ g() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::g ( )
inline

Definition at line 102 of file Vector3.hpp.

◆ isNull()

template<typename T_Scalar>
bool vl::Vector3< T_Scalar >::isNull ( ) const
inline

◆ length() [1/2]

template<typename T_Scalar>
T_Scalar vl::Vector3< T_Scalar >::length ( ) const
inline

◆ length() [2/2]

template<>
half vl::Vector3< half >::length ( ) const
inline

Definition at line 605 of file half.hpp.

◆ lengthSquared() [1/2]

template<typename T_Scalar>
T_Scalar vl::Vector3< T_Scalar >::lengthSquared ( ) const
inline

Definition at line 225 of file Vector3.hpp.

Referenced by vl::Geometry::computeBounds_Implementation().

◆ lengthSquared() [2/2]

template<>
half vl::Vector3< half >::lengthSquared ( ) const
inline

Definition at line 606 of file half.hpp.

◆ normalize()

template<typename T_Scalar>
const Vector3& vl::Vector3< T_Scalar >::normalize ( T_Scalar *  len = NULL)
inline

◆ operator!=()

template<typename T_Scalar>
bool vl::Vector3< T_Scalar >::operator!= ( const Vector3< T_Scalar > &  other) const
inline

Definition at line 208 of file Vector3.hpp.

◆ operator*() [1/2]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator* ( const Vector3< T_Scalar > &  other) const
inline

Definition at line 124 of file Vector3.hpp.

◆ operator*() [2/2]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator* ( T_Scalar  val) const
inline

Definition at line 140 of file Vector3.hpp.

◆ operator*=() [1/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator*= ( const Vector3< T_Scalar > &  other)
inline

Definition at line 162 of file Vector3.hpp.

◆ operator*=() [2/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator*= ( T_Scalar  val)
inline

Definition at line 182 of file Vector3.hpp.

◆ operator+() [1/2]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator+ ( const Vector3< T_Scalar > &  other) const
inline

Definition at line 116 of file Vector3.hpp.

◆ operator+() [2/2]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator+ ( T_Scalar  val) const
inline

Definition at line 132 of file Vector3.hpp.

◆ operator+=() [1/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator+= ( const Vector3< T_Scalar > &  other)
inline

Definition at line 152 of file Vector3.hpp.

◆ operator+=() [2/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator+= ( T_Scalar  val)
inline

Definition at line 172 of file Vector3.hpp.

◆ operator-() [1/3]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator- ( const Vector3< T_Scalar > &  other) const
inline

Definition at line 120 of file Vector3.hpp.

◆ operator-() [2/3]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator- ( T_Scalar  val) const
inline

Definition at line 136 of file Vector3.hpp.

◆ operator-() [3/3]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator- ( ) const
inline

Definition at line 148 of file Vector3.hpp.

◆ operator-=() [1/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator-= ( const Vector3< T_Scalar > &  other)
inline

Definition at line 157 of file Vector3.hpp.

◆ operator-=() [2/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator-= ( T_Scalar  val)
inline

Definition at line 177 of file Vector3.hpp.

◆ operator/() [1/2]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator/ ( const Vector3< T_Scalar > &  other) const
inline

Definition at line 128 of file Vector3.hpp.

◆ operator/() [2/2]

template<typename T_Scalar>
Vector3 vl::Vector3< T_Scalar >::operator/ ( T_Scalar  val) const
inline

Definition at line 144 of file Vector3.hpp.

◆ operator/=() [1/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator/= ( const Vector3< T_Scalar > &  other)
inline

Definition at line 167 of file Vector3.hpp.

◆ operator/=() [2/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator/= ( T_Scalar  val)
inline

Definition at line 187 of file Vector3.hpp.

◆ operator<()

template<typename T_Scalar>
bool vl::Vector3< T_Scalar >::operator< ( const Vector3< T_Scalar > &  other) const
inline

Definition at line 212 of file Vector3.hpp.

◆ operator=() [1/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator= ( const Vector3< T_Scalar > &  other)
inline

Definition at line 192 of file Vector3.hpp.

◆ operator=() [2/2]

template<typename T_Scalar>
Vector3& vl::Vector3< T_Scalar >::operator= ( T_Scalar  val)
inline

Definition at line 199 of file Vector3.hpp.

◆ operator==()

template<typename T_Scalar>
bool vl::Vector3< T_Scalar >::operator== ( const Vector3< T_Scalar > &  other) const
inline

Definition at line 204 of file Vector3.hpp.

Referenced by vl::Vector3< int >::operator!=().

◆ operator[]() [1/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::operator[] ( unsigned  i)
inline

Definition at line 222 of file Vector3.hpp.

◆ operator[]() [2/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::operator[] ( unsigned  i) const
inline

Definition at line 223 of file Vector3.hpp.

◆ p() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::p ( ) const
inline

Definition at line 107 of file Vector3.hpp.

◆ p() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::p ( )
inline

Definition at line 111 of file Vector3.hpp.

◆ ptr() [1/2]

template<typename T_Scalar>
T_Scalar* vl::Vector3< T_Scalar >::ptr ( )
inline

◆ ptr() [2/2]

template<typename T_Scalar>
const T_Scalar* vl::Vector3< T_Scalar >::ptr ( ) const
inline

Definition at line 87 of file Vector3.hpp.

◆ r() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::r ( ) const
inline

◆ r() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::r ( )
inline

Definition at line 101 of file Vector3.hpp.

◆ s() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::s ( ) const
inline

Definition at line 105 of file Vector3.hpp.

Referenced by vl::VectorGraphics::drawPoints(), and vl::VectorGraphics::popScissor().

◆ s() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::s ( )
inline

Definition at line 109 of file Vector3.hpp.

◆ st()

template<typename T_Scalar>
Vector2<T_Scalar> vl::Vector3< T_Scalar >::st ( ) const
inline

Definition at line 114 of file Vector3.hpp.

◆ t() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::t ( ) const
inline

◆ t() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::t ( )
inline

Definition at line 110 of file Vector3.hpp.

◆ x() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::x ( ) const
inline

Definition at line 89 of file Vector3.hpp.

Referenced by vl::AABB::AABB(), vl::abs(), vl::acos(), vl::acosh(), vl::AABB::addPoint(), vl::all(), vl::any(), vl::ClipPlane::apply(), vl::asin(), vl::asinh(), vl::atan(), vl::atanh(), vl::Text::boundingRect(), vl::CoreText::boundingRect(), vl::Text::boundingRectTransformed(), vl::ceil(), vl::Plane::classify(), vl::AABB::clip(), vl::MarchingCubes::computeEdges(), vl::Geometry::computeTangentSpace(), vl::TrackballManipulator::computeVector(), vl::cos(), vl::cosh(), vl::cross(), vl::Volume::cube(), vl::degrees(), vl::dot(), vl::equal(), vl::PixelLODEvaluator::evaluate(), vl::PolygonSimplifier::QErr::evaluate(), vl::VolumePlot::evaluateFunction(), vl::exp(), vl::exp2(), vl::extractPlanes(), vl::floor(), vl::RaycastVolume::generateTextureCoordinates(), vl::SlicedVolume::generateTextureCoordinates(), vl::genGradientNormals(), vl::Matrix4< float >::getLookAt(), vl::Matrix4< float >::getLookAtModeling(), vl::PlyLoader::PlyElement::getNormal(), vl::Matrix4< float >::getRotation(), vl::Matrix4< float >::getScaling(), vl::Matrix4< float >::getTranslation(), vl::PlyLoader::PlyElement::getVertex(), vl::greaterThan(), vl::greaterThanEqual(), vl::AABB::intersects(), vl::inversesqrt(), vl::isinf(), vl::AABB::isInside(), vl::isnan(), vl::Vector3< int >::isNull(), vl::Plane::isOutside(), vl::Vector3< int >::length(), vl::Vector3< int >::lengthSquared(), vl::lessThan(), vl::lessThanEqual(), vl::load3DS(), vl::STLLoader::loadAscii(), vl::loadMD2(), vl::loadMHD(), vl::log(), vl::log10(), vl::log2(), vl::makeBox(), vl::max(), vl::min(), vl::mix(), vl::modf(), vl::Volume::normalHQ(), vl::Volume::normalLQ(), vl::notEqual(), vl::Vector3< int >::operator*(), vl::operator*(), vl::Vector3< int >::operator+(), vl::Vector3< int >::operator-(), vl::Vector3< int >::operator/(), vl::A3DSVertex::operator<(), vl::Vector3< int >::operator<(), vl::Vector3< int >::operator=(), vl::Vector3< int >::operator==(), vl::VectorGraphics::popScissor(), vl::pow(), vl::MarchingCubes::processCube(), vl::PolygonSimplifier::QErr::QErr(), vl::radians(), vl::Text::rawboundingRect(), vl::CoreText::rawboundingRect(), vl::A3DSLoader::readVec3(), vl::OcclusionCullRenderer::render_pass2(), vl::CoreText::renderBackground(), vl::CoreText::renderBorder(), vl::Text::renderText(), vl::CoreText::renderText(), vl::Matrix4< float >::rotate(), vl::round(), vl::roundEven(), vl::Matrix4< float >::scale(), vl::RaycastVolume::setBox(), vl::Quaternion< T_Scalar >::setFromAxisAngle(), vl::Matrix4< float >::setT(), vl::Volume::setup(), vl::VolumePlot::setupLabels(), vl::Matrix4< float >::setX(), vl::Matrix4< float >::setY(), vl::Matrix4< float >::setZ(), vl::sign(), vl::sin(), vl::sinh(), vl::smoothstep(), vl::sqrt(), vl::Vector3< int >::st(), vl::step(), vl::tan(), vl::tanh(), vl::Tessellator::tessCombineData(), vl::Quaternion< T_Scalar >::toAxisAngle(), vl::trunc(), vl::Camera::unproject(), vl::GhostCameraManipulator::updateEvent(), vl::Vector3< int >::Vector3(), vl::Vector4< unsigned int >::Vector4(), vl::vlx_mat4(), vl::vlx_toValue(), vl::AABB::width(), and vl::Vector3< int >::xy().

◆ x() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::x ( )
inline

Definition at line 93 of file Vector3.hpp.

◆ xy()

template<typename T_Scalar>
Vector2<T_Scalar> vl::Vector3< T_Scalar >::xy ( ) const
inline

Definition at line 113 of file Vector3.hpp.

◆ y() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::y ( ) const
inline

Definition at line 90 of file Vector3.hpp.

Referenced by vl::AABB::AABB(), vl::abs(), vl::acos(), vl::acosh(), vl::AABB::addPoint(), vl::all(), vl::any(), vl::ClipPlane::apply(), vl::asin(), vl::asinh(), vl::atan(), vl::atanh(), vl::Text::boundingRect(), vl::CoreText::boundingRect(), vl::Text::boundingRectTransformed(), vl::ceil(), vl::Plane::classify(), vl::AABB::clip(), vl::MarchingCubes::computeEdges(), vl::Geometry::computeTangentSpace(), vl::TrackballManipulator::computeVector(), vl::cos(), vl::cosh(), vl::cross(), vl::Volume::cube(), vl::degrees(), vl::dot(), vl::equal(), vl::PixelLODEvaluator::evaluate(), vl::PolygonSimplifier::QErr::evaluate(), vl::VolumePlot::evaluateFunction(), vl::exp(), vl::exp2(), vl::extractPlanes(), vl::floor(), vl::RaycastVolume::generateTextureCoordinates(), vl::SlicedVolume::generateTextureCoordinates(), vl::genGradientNormals(), vl::Matrix4< float >::getLookAt(), vl::Matrix4< float >::getLookAtModeling(), vl::PlyLoader::PlyElement::getNormal(), vl::Matrix4< float >::getRotation(), vl::Matrix4< float >::getScaling(), vl::Matrix4< float >::getTranslation(), vl::PlyLoader::PlyElement::getVertex(), vl::greaterThan(), vl::greaterThanEqual(), vl::AABB::height(), vl::Terrain::init(), vl::inversesqrt(), vl::isinf(), vl::AABB::isInside(), vl::isnan(), vl::Vector3< int >::isNull(), vl::Plane::isOutside(), vl::Vector3< int >::length(), vl::Vector3< int >::lengthSquared(), vl::lessThan(), vl::lessThanEqual(), vl::load3DS(), vl::STLLoader::loadAscii(), vl::loadMD2(), vl::loadMHD(), vl::log(), vl::log10(), vl::log2(), vl::makeBox(), vl::max(), vl::min(), vl::mix(), vl::modf(), vl::Volume::normalHQ(), vl::Volume::normalLQ(), vl::notEqual(), vl::Vector3< int >::operator*(), vl::operator*(), vl::Vector3< int >::operator+(), vl::Vector3< int >::operator-(), vl::Vector3< int >::operator/(), vl::A3DSVertex::operator<(), vl::Vector3< int >::operator<(), vl::Vector3< int >::operator=(), vl::Vector3< int >::operator==(), vl::VectorGraphics::popScissor(), vl::pow(), vl::MarchingCubes::processCube(), vl::PolygonSimplifier::QErr::QErr(), vl::radians(), vl::Text::rawboundingRect(), vl::CoreText::rawboundingRect(), vl::A3DSLoader::readVec3(), vl::OcclusionCullRenderer::render_pass2(), vl::CoreText::renderBackground(), vl::CoreText::renderBorder(), vl::Text::renderText(), vl::CoreText::renderText(), vl::Matrix4< float >::rotate(), vl::round(), vl::roundEven(), vl::Matrix4< float >::scale(), vl::RaycastVolume::setBox(), vl::Quaternion< T_Scalar >::setFromAxisAngle(), vl::Matrix4< float >::setT(), vl::Volume::setup(), vl::VolumePlot::setupLabels(), vl::Matrix4< float >::setX(), vl::Matrix4< float >::setY(), vl::Matrix4< float >::setZ(), vl::sign(), vl::sin(), vl::sinh(), vl::smoothstep(), vl::sqrt(), vl::Vector3< int >::st(), vl::step(), vl::tan(), vl::tanh(), vl::Tessellator::tessCombineData(), vl::Quaternion< T_Scalar >::toAxisAngle(), vl::trunc(), vl::Camera::unproject(), vl::GhostCameraManipulator::updateEvent(), vl::Vector3< int >::Vector3(), vl::Vector4< unsigned int >::Vector4(), vl::vlx_mat4(), vl::vlx_toValue(), and vl::Vector3< int >::xy().

◆ y() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::y ( )
inline

Definition at line 94 of file Vector3.hpp.

◆ z() [1/2]

template<typename T_Scalar>
const T_Scalar& vl::Vector3< T_Scalar >::z ( ) const
inline

Definition at line 91 of file Vector3.hpp.

Referenced by vl::AABB::AABB(), vl::abs(), vl::acos(), vl::acosh(), vl::AABB::addPoint(), vl::all(), vl::any(), vl::ClipPlane::apply(), vl::asin(), vl::asinh(), vl::atan(), vl::atanh(), vl::Text::boundingRectTransformed(), vl::ceil(), vl::Plane::classify(), vl::AABB::clip(), vl::MarchingCubes::computeEdges(), vl::Camera::computeNearFarOptimizedProjMatrix(), vl::Geometry::computeTangentSpace(), vl::TrackballManipulator::computeVector(), vl::cos(), vl::cosh(), vl::cross(), vl::degrees(), vl::AABB::depth(), vl::dot(), vl::equal(), vl::PixelLODEvaluator::evaluate(), vl::PolygonSimplifier::QErr::evaluate(), vl::VolumePlot::evaluateFunction(), vl::exp(), vl::exp2(), vl::extractPlanes(), vl::floor(), vl::RaycastVolume::generateTextureCoordinates(), vl::SlicedVolume::generateTextureCoordinates(), vl::genGradientNormals(), vl::Matrix4< float >::getLookAt(), vl::Matrix4< float >::getLookAtModeling(), vl::PlyLoader::PlyElement::getNormal(), vl::Matrix4< float >::getRotation(), vl::Matrix4< float >::getScaling(), vl::Matrix4< float >::getTranslation(), vl::PlyLoader::PlyElement::getVertex(), vl::greaterThan(), vl::greaterThanEqual(), vl::AABB::intersects(), vl::inversesqrt(), vl::isinf(), vl::AABB::isInside(), vl::isnan(), vl::Vector3< int >::isNull(), vl::Plane::isOutside(), vl::Vector3< int >::length(), vl::Vector3< int >::lengthSquared(), vl::lessThan(), vl::lessThanEqual(), vl::load3DS(), vl::STLLoader::loadAscii(), vl::loadMD2(), vl::loadMHD(), vl::log(), vl::log10(), vl::log2(), vl::makeBox(), vl::max(), vl::min(), vl::mix(), vl::modf(), vl::Volume::normalHQ(), vl::Volume::normalLQ(), vl::notEqual(), vl::SlicedVolume::onActorRenderStarted(), vl::Vector3< int >::operator*(), vl::operator*(), vl::Vector3< int >::operator+(), vl::Vector3< int >::operator-(), vl::Vector3< int >::operator/(), vl::A3DSVertex::operator<(), vl::Vector3< int >::operator<(), vl::Vector3< int >::operator=(), vl::Vector3< int >::operator==(), vl::pow(), vl::PolygonSimplifier::QErr::QErr(), vl::radians(), vl::A3DSLoader::readVec3(), vl::OcclusionCullRenderer::render_pass2(), vl::CoreText::renderBackground(), vl::CoreText::renderBorder(), vl::Text::renderText(), vl::CoreText::renderText(), vl::Matrix4< float >::rotate(), vl::round(), vl::roundEven(), vl::Matrix4< float >::scale(), vl::RaycastVolume::setBox(), vl::Quaternion< T_Scalar >::setFromAxisAngle(), vl::Matrix4< float >::setT(), vl::Volume::setup(), vl::VolumePlot::setupLabels(), vl::Matrix4< float >::setX(), vl::Matrix4< float >::setY(), vl::Matrix4< float >::setZ(), vl::sign(), vl::sin(), vl::sinh(), vl::smoothstep(), vl::sqrt(), vl::step(), vl::tan(), vl::tanh(), vl::Tessellator::tessCombineData(), vl::Quaternion< T_Scalar >::toAxisAngle(), vl::trunc(), vl::Camera::unproject(), vl::GhostCameraManipulator::updateEvent(), vl::Vector3< int >::Vector3(), vl::Vector4< unsigned int >::Vector4(), vl::vlx_mat4(), and vl::vlx_toValue().

◆ z() [2/2]

template<typename T_Scalar>
T_Scalar& vl::Vector3< T_Scalar >::z ( )
inline

Definition at line 95 of file Vector3.hpp.

Member Data Documentation

◆ mScalar

template<typename T_Scalar>
T_Scalar vl::Vector3< T_Scalar >::mScalar[scalar_count]
protected

◆ scalar_count

template<typename T_Scalar>
const int vl::Vector3< T_Scalar >::scalar_count = 3
static

Definition at line 48 of file Vector3.hpp.


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