libigl v2.5.0
Loading...
Searching...
No Matches
readBF.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2016 Alec Jacobson <alecjacobson@gmail.com>
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_READBF_H
9#define IGL_READBF_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12#include <string>
27namespace igl
28{
36 template <
37 typename DerivedWI,
38 typename DerivedP,
39 typename DerivedO>
41 const std::string & filename,
42 Eigen::PlainObjectBase<DerivedWI> & WI,
43 Eigen::PlainObjectBase<DerivedP> & P,
44 Eigen::PlainObjectBase<DerivedO> & O);
58 template <
59 typename DerivedWI,
60 typename DerivedbfP,
61 typename DerivedO,
62 typename DerivedC,
63 typename DerivedBE,
64 typename DerivedP>
66 const std::string & filename,
67 Eigen::PlainObjectBase<DerivedWI> & WI,
68 Eigen::PlainObjectBase<DerivedbfP> & bfP,
69 Eigen::PlainObjectBase<DerivedO> & O,
70 Eigen::PlainObjectBase<DerivedC> & C,
71 Eigen::PlainObjectBase<DerivedBE> & BE,
72 Eigen::PlainObjectBase<DerivedP> & P);
73}
74
75#ifndef IGL_STATIC_LIBRARY
76# include "readBF.cpp"
77#endif
78#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
bool readBF(const std::string &filename, Eigen::PlainObjectBase< DerivedWI > &WI, Eigen::PlainObjectBase< DerivedP > &P, Eigen::PlainObjectBase< DerivedO > &O)
Read a bones forest from a file, returns a list of bone roots.