|
Blender V4.3
|
#include <VecMat.h>
Public Types | |
| typedef T | value_type |
Public Member Functions | |
| Vec () | |
| ~Vec () | |
| template<class U > | |
| Vec (const U tab[N]) | |
| template<class U > | |
| Vec (const std::vector< U > &tab) | |
| template<class U > | |
| Vec (const Vec< U, N > &v) | |
| value_type | operator[] (const uint i) const |
| value_type & | operator[] (const uint i) |
| value_type | norm () const |
| value_type | squareNorm () const |
| Vec< T, N > & | normalize () |
| Vec< T, N > & | normalizeSafe () |
| Vec< T, N > | operator+ (const Vec< T, N > &v) const |
| Vec< T, N > | operator- (const Vec< T, N > &v) const |
| Vec< T, N > | operator* (const typename Vec< T, N >::value_type r) const |
| Vec< T, N > | operator/ (const typename Vec< T, N >::value_type r) const |
| value_type | operator* (const Vec< T, N > &v) const |
| template<class U > | |
| Vec< T, N > & | operator= (const Vec< U, N > &v) |
| template<class U > | |
| Vec< T, N > & | operator+= (const Vec< U, N > &v) |
| template<class U > | |
| Vec< T, N > & | operator-= (const Vec< U, N > &v) |
| template<class U > | |
| Vec< T, N > & | operator*= (const U r) |
| template<class U > | |
| Vec< T, N > & | operator/= (const U r) |
| bool | operator== (const Vec< T, N > &v) const |
| bool | operator!= (const Vec< T, N > &v) const |
| bool | operator< (const Vec< T, N > &v) const |
| bool | operator> (const Vec< T, N > &v) const |
Static Public Member Functions | |
| static uint | dim () |
Protected Types | |
| enum | { _dim = N } |
Protected Attributes | |
| value_type | _coord [N] |
|
inline |
Definition at line 44 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, and N.
|
inlineexplicit |
Definition at line 56 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and T.
|
inlineexplicit |
Definition at line 63 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and T.
|
inline |
Definition at line 94 of file VecMat.h.
References sqrt(), and Freestyle::VecMat::Vec< T, N >::squareNorm().
Referenced by Freestyle::OGF::NormalCycle::accumulate_dihedral_angle(), Freestyle::SteerableViewMap::AddFEdge(), Freestyle::Grid::castInfiniteRay(), Freestyle::Grid::castRayToFindFirstIntersection(), Freestyle::Strip::cleanUpSingularities(), Freestyle::Smoother::computeCurvature(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::Strip::computeTexCoordWithTips(), Freestyle::computeVisibility(), Freestyle::Strip::createStrip(), Freestyle::createStroke(), Freestyle::CurveInternal::__point_iterator< Traits >::decrement(), Freestyle::CurveInternal::CurvePointIterator::decrement(), Freestyle::firstIntersectionGridVisitor::examineOccluder(), Freestyle::ViewEdge::getLength2D(), Freestyle::SteerableViewMap::getSVMNumber(), Freestyle::gts_vertex_principal_directions(), Freestyle::CurveInternal::__point_iterator< Traits >::increment(), Freestyle::CurveInternal::CurvePointIterator::increment(), Freestyle::Grid::initRay(), Freestyle::BlenderFileLoader::insertShapeNode(), Freestyle::Smoother::iteration(), Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::VecMat::Vec< T, N >::normalizeSafe(), Freestyle::Functions0D::Curvature2DAngleF0D::operator()(), Freestyle::Functions0D::GetViewMapGradientNormF0D::operator()(), Freestyle::Functions0D::VertexOrientation2DF0D::operator()(), Freestyle::Functions0D::VertexOrientation3DF0D::operator()(), Freestyle::FEdgeXDetector::preProcessFace(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), Freestyle::Curve::push_vertex_back(), Freestyle::Curve::push_vertex_back(), Freestyle::Curve::push_vertex_front(), Freestyle::Curve::push_vertex_front(), Freestyle::Stroke::Resample(), Freestyle::Stroke::Resample(), Freestyle::WOEdge::setVecAndAngle(), Freestyle::Smoother::Smoother(), and Freestyle::FEdge::z_discontinuity().
Definition at line 104 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and Freestyle::VecMat::Vec< T, N >::norm().
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::CalligraphicShader::CalligraphicShader(), Freestyle::Strip::cleanUpSingularities(), Freestyle::FEdgeXDetector::computeCurvatures(), Freestyle::ViewMapBuilder::computeCusps(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::computeVisibility(), Freestyle::Strip::createStrip(), Freestyle::createStroke(), Freestyle::OGF::NormalCycle::end(), Freestyle::ViewMapBuilder::FindOccludee(), Freestyle::findOccludee(), Freestyle::gts_vertex_principal_directions(), Freestyle::Grid::initInfiniteRay(), Freestyle::Functions0D::Curvature2DAngleF0D::operator()(), Freestyle::Functions0D::Normal2DF0D::operator()(), Freestyle::Functions0D::VertexOrientation2DF0D::operator()(), Freestyle::Functions0D::VertexOrientation3DF0D::operator()(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), Freestyle::GeomUtils::rotateVector(), Freestyle::StrokeShaders::BackboneStretcherShader::shade(), Freestyle::StrokeShaders::GuidingLinesShader::shade(), Freestyle::StrokeShaders::PolygonalizationShader::shade(), and Freestyle::ViewEdgeComp().
Definition at line 113 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and Freestyle::VecMat::Vec< T, N >::norm().
Referenced by Freestyle::Smoother::computeCurvature(), Freestyle::BlenderFileLoader::insertShapeNode(), Freestyle::CalligraphicShader::shade(), and Freestyle::SpatialNoiseShader::shade().
Definition at line 219 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and v.
|
inline |
|
inline |
Definition at line 191 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, and N.
|
inline |
Definition at line 199 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, and N.
Definition at line 229 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and v.
Definition at line 209 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and v.
Definition at line 245 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord, N, and v.
|
inline |
Definition at line 83 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord.
|
inline |
Definition at line 78 of file VecMat.h.
References Freestyle::VecMat::Vec< T, N >::_coord.
|
inline |
Definition at line 99 of file VecMat.h.
Referenced by Freestyle::angle_from_cotan(), Freestyle::cotan(), Freestyle::gts_vertex_principal_directions(), and Freestyle::VecMat::Vec< T, N >::norm().
|
protected |
Definition at line 262 of file VecMat.h.
Referenced by Freestyle::VecMat::Vec< T, N >::normalize(), Freestyle::VecMat::Vec< T, N >::normalizeSafe(), Freestyle::VecMat::Vec< T, N >::operator!=(), Freestyle::VecMat::Vec< T, N >::operator*=(), Freestyle::VecMat::Vec< T, N >::operator+=(), Freestyle::VecMat::Vec< T, N >::operator-=(), Freestyle::VecMat::Vec< T, N >::operator/=(), Freestyle::VecMat::Vec< T, N >::operator<(), Freestyle::VecMat::Vec< T, N >::operator=(), Freestyle::VecMat::Vec< T, N >::operator==(), Freestyle::VecMat::Vec< T, N >::operator>(), Freestyle::VecMat::Vec< T, N >::operator[](), Freestyle::VecMat::Vec< T, N >::operator[](), Freestyle::VecMat::Vec< T, N >::Vec(), Freestyle::VecMat::Vec< T, N >::Vec(), Freestyle::VecMat::Vec< T, N >::Vec(), and Freestyle::VecMat::Vec< T, N >::Vec().