libigl v2.5.0
Loading...
Searching...
No Matches
screen_space_selection.h File Reference
#include "igl/igl_inline.h"
#include <Eigen/Core>
#include <vector>
#include "screen_space_selection.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename DerivedV , typename DerivedF , typename DerivedM , typename DerivedN , typename DerivedO , typename Ltype , typename DerivedW , typename Deriveda >
void igl::screen_space_selection (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const igl::AABB< DerivedV, 3 > &tree, const Eigen::MatrixBase< DerivedM > &model, const Eigen::MatrixBase< DerivedN > &proj, const Eigen::MatrixBase< DerivedO > &viewport, const std::vector< Eigen::Matrix< Ltype, 1, 2 > > &L, Eigen::PlainObjectBase< DerivedW > &W, Eigen::PlainObjectBase< Deriveda > &and_visible)
 Given a mesh, a camera determine which points are inside of a given 2D screen space polygon culling points based on self-occlusion.
 
template<typename DerivedV , typename DerivedM , typename DerivedN , typename DerivedO , typename Ltype , typename DerivedW >
void igl::screen_space_selection (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedM > &model, const Eigen::MatrixBase< DerivedN > &proj, const Eigen::MatrixBase< DerivedO > &viewport, const std::vector< Eigen::Matrix< Ltype, 1, 2 > > &L, Eigen::PlainObjectBase< DerivedW > &W)
 Given a mesh, a camera determine which points are inside of a given 2D screen space polygon.
 
template<typename DerivedV , typename DerivedM , typename DerivedN , typename DerivedO , typename DerivedP , typename DerivedE , typename DerivedW >
void igl::screen_space_selection (const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedM > &model, const Eigen::MatrixBase< DerivedN > &proj, const Eigen::MatrixBase< DerivedO > &viewport, const Eigen::MatrixBase< DerivedP > &P, const Eigen::MatrixBase< DerivedE > &E, Eigen::PlainObjectBase< DerivedW > &W)
 Given a mesh, a camera determine which points are inside of a given 2D screen space polygon.