|
Blender V5.0
|
#include <VecMat.h>
Inherited by Freestyle::VecMat::HVec3< uint >, Freestyle::VecMat::HVec3< int >, Freestyle::VecMat::HVec3< float >, Freestyle::VecMat::HVec3< double >, Freestyle::VecMat::HVec3< real >, Freestyle::VecMat::Vec2< uint >, Freestyle::VecMat::Vec2< int >, Freestyle::VecMat::Vec2< float >, Freestyle::VecMat::Vec2< double >, Freestyle::VecMat::Vec2< real >, Freestyle::VecMat::Vec3< uint >, Freestyle::VecMat::Vec3< int >, Freestyle::VecMat::Vec3< float >, Freestyle::VecMat::Vec3< double >, and Freestyle::VecMat::Vec3< real >.
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 42 of file VecMat.h.
Referenced by Freestyle::VecMat::HVec3< uint >::HVec3(), Freestyle::VecMat::HVec3< uint >::HVec3(), Freestyle::VecMat::HVec3< uint >::HVec3(), Freestyle::VecMat::HVec3< uint >::HVec3(), Freestyle::VecMat::HVec3< uint >::HVec3(), Freestyle::VecMat::Vec3< uint >::operator^(), Freestyle::VecMat::Vec2< uint >::Vec2(), Freestyle::VecMat::Vec2< uint >::Vec2(), Freestyle::VecMat::Vec2< uint >::Vec2(), Freestyle::VecMat::Vec2< uint >::Vec2(), Freestyle::VecMat::Vec2< uint >::Vec2(), Freestyle::VecMat::Vec3< uint >::Vec3(), Freestyle::VecMat::Vec3< uint >::Vec3(), Freestyle::VecMat::Vec3< uint >::Vec3(), Freestyle::VecMat::Vec3< uint >::Vec3(), and Freestyle::VecMat::Vec3< uint >::Vec3().
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Definition at line 92 of file VecMat.h.
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< CurveInternal::CurvePoint_nonconst_traits >::decrement(), Freestyle::CurveInternal::CurvePointIterator::decrement(), Freestyle::ViewEdge::getLength2D(), Freestyle::SteerableViewMap::getSVMNumber(), Freestyle::gts_vertex_principal_directions(), Freestyle::CurveInternal::__point_iterator< CurveInternal::CurvePoint_nonconst_traits >::increment(), Freestyle::CurveInternal::CurvePointIterator::increment(), Freestyle::BlenderFileLoader::insertShapeNode(), Freestyle::Smoother::iteration(), Freestyle::WShape::MakeFace(), Freestyle::VecMat::value_type< T, 2 >::normalize(), Freestyle::VecMat::value_type< T, 2 >::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::Smoother::Smoother(), and Freestyle::FEdge::z_discontinuity().
Definition at line 102 of file VecMat.h.
Referenced by Freestyle::ViewEdgeXBuilder::BuildSmoothFEdge(), Freestyle::Strip::cleanUpSingularities(), Freestyle::FEdgeXDetector::computeCurvatures(), Freestyle::ViewMapBuilder::computeCusps(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::computeVisibility(), Freestyle::Strip::createStrip(), Freestyle::createStroke(), Freestyle::ViewMapBuilder::FindOccludee(), Freestyle::findOccludee(), Freestyle::gts_vertex_principal_directions(), Freestyle::WShape::MakeFace(), 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 111 of file VecMat.h.
Referenced by Freestyle::Smoother::computeCurvature(), Freestyle::BlenderFileLoader::insertShapeNode(), Freestyle::CalligraphicShader::shade(), and Freestyle::SpatialNoiseShader::shade().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 97 of file VecMat.h.
Referenced by Freestyle::angle_from_cotan(), Freestyle::cotan(), Freestyle::gts_vertex_principal_directions(), and Freestyle::VecMat::value_type< T, 2 >::norm().
|
protected |
Definition at line 260 of file VecMat.h.
Referenced by Freestyle::VecMat::HVec3< uint >::HVec3(), Freestyle::VecMat::HVec3< uint >::HVec3(), Freestyle::VecMat::HVec3< uint >::s(), Freestyle::VecMat::HVec3< uint >::s(), Freestyle::VecMat::Vec2< uint >::setX(), Freestyle::VecMat::Vec3< uint >::setX(), Freestyle::VecMat::Vec2< uint >::setY(), Freestyle::VecMat::Vec3< uint >::setY(), Freestyle::VecMat::Vec3< uint >::setZ(), Freestyle::VecMat::HVec3< uint >::sx(), Freestyle::VecMat::HVec3< uint >::sx(), Freestyle::VecMat::HVec3< uint >::sy(), Freestyle::VecMat::HVec3< uint >::sy(), Freestyle::VecMat::HVec3< uint >::sz(), Freestyle::VecMat::HVec3< uint >::sz(), Freestyle::VecMat::Vec2< uint >::Vec2(), Freestyle::VecMat::Vec3< uint >::Vec3(), Freestyle::VecMat::Vec3< uint >::Vec3(), Freestyle::VecMat::HVec3< uint >::x(), Freestyle::VecMat::Vec2< uint >::x(), Freestyle::VecMat::Vec2< uint >::x(), Freestyle::VecMat::Vec3< uint >::x(), Freestyle::VecMat::Vec3< uint >::x(), Freestyle::VecMat::HVec3< uint >::y(), Freestyle::VecMat::Vec2< uint >::y(), Freestyle::VecMat::Vec2< uint >::y(), Freestyle::VecMat::Vec3< uint >::y(), Freestyle::VecMat::Vec3< uint >::y(), Freestyle::VecMat::HVec3< uint >::z(), Freestyle::VecMat::Vec3< uint >::z(), and Freestyle::VecMat::Vec3< uint >::z().