PolyFEM
Loading...
Searching...
No Matches
raster.hpp File Reference
#include <Eigen/Core>
#include <Eigen/Dense>
#include <functional>
#include <vector>
Include dependency graph for raster.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  polyfem::renderer::Material
 
class  polyfem::renderer::VertexAttributes
 
class  polyfem::renderer::FragmentAttributes
 
class  polyfem::renderer::FrameBufferAttributes
 
class  polyfem::renderer::UniformAttributes
 
class  polyfem::renderer::Program
 

Namespaces

namespace  polyfem
 
namespace  polyfem::renderer
 

Functions

std::vector< uint8_t > polyfem::renderer::render (const Eigen::MatrixXd &vertices, const Eigen::MatrixXi &faces, const Eigen::MatrixXi &faces_id, int width, int height, const Eigen::Vector3d &camera_position, const double camera_fov, const double camera_near, const double camera_far, const bool is_perspective, const Eigen::Vector3d &lookat, const Eigen::Vector3d &up, const Eigen::Vector3d &ambient_light, const std::vector< std::pair< Eigen::MatrixXd, Eigen::MatrixXd > > &lights, std::vector< Material > &materials)