This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
Bug 35 - API to create perspective transformation
Summary: API to create perspective transformation
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: Geometry (show other bugs)
Version: unspecified
Hardware: All All
: --- enhancement
Assignee: Gael Guennebaud
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 10:52 UTC by Gael Guennebaud
Modified: 2019-12-04 09:34 UTC (History)
3 users (show)



Attachments

Description Gael Guennebaud 2010-10-06 10:52:38 UTC
There is currently no easy way to create projective transformations, in particular perspective projection matrices are probably the most common one, we can think about others ones. Two options:

1 - add new methods to the class Transform, e.g.:
 Transform<float,3,Projective> P;
 p.setPerspective(a,b,c,d,e,f,....);

2 - add global functions, e.g.:
  Transform<float,3,Projective> p = Perspective<float,3>(a,b,c,d,e,f,....);

3 - add static functions to the class Transform:
  typedef Transform<float,3,Projective> Proj;
  Proj p = Proj::Perspective(a,b,c,d,e,f,....);


To be consistent with the rest of Eigen, I guess we should implement both 1 and 3.
Comment 1 Nobody 2019-12-04 09:34:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/35.

Note You need to log in before you can comment on or make changes to this bug.