#include "mlib/global.H"
#include "mlib/point2.H"
#include "mlib/point3.H"
#include "mlib/plane.H"
#include "mlib/mat4.H"
#include "mlib/quat.H"
#include "mlib/nearest_pt.H"
Include dependency graph for points.H:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | mlib |
Classes | |
class | mlib::Wvec |
A vector in World coordinates. More... | |
class | mlib::Wpt |
A point in World coordinates. More... | |
class | mlib::Wline |
A line in World coordinates. More... | |
class | mlib::Wtransf |
A tranform (or matrix) in World coordinates. More... | |
class | mlib::Wplane |
A plane in World coordinates. More... | |
class | mlib::Wpt_list |
A list of points in World coordinates. More... | |
class | mlib::Wquat |
A quaternion in World coordinates. More... | |
class | mlib::XYvec |
A vector in XY coordinates. More... | |
class | mlib::XYpt |
A point in XY coordinates. More... | |
class | mlib::XYline |
A line in XY coordinates. More... | |
class | mlib::XYpt_list |
A list of points in XY coordinates. More... | |
class | mlib::NDCZvec |
A vector in NDCZ coordinates. More... | |
class | mlib::NDCZpt |
A point in NDCZ coordinates. More... | |
class | mlib::NDCZpt_list |
A list of points in NDCZ coordinates. More... | |
class | mlib::NDCZvec_list |
A list of vectors in NDCZ coordinates. More... | |
class | mlib::NDCvec |
A vector in NDC coordinates. More... | |
class | mlib::NDCpt |
A point in NDC coordinates. More... | |
class | mlib::NDCline |
A line in NDC coordinates. More... | |
class | mlib::NDCpt_list |
A list of points in NDC coordinates. More... | |
class | mlib::VEXEL |
A vector in pixel coordinates. More... | |
class | mlib::PIXEL |
A point in pixel coordinates. More... | |
class | mlib::PIXELline |
A line in pixel coordinates. More... | |
class | mlib::PIXEL_list |
A list of points in pixel coordinates. More... | |
class | mlib::UVvec |
A vector in UV coordinates. More... | |
class | mlib::UVpt |
A point in UV coordinates. More... | |
class | mlib::UVline |
A line in UV coordinates. More... | |
class | mlib::UVpt_list |
A list of points in UV coordinates. More... | |
class | mlib::EDGElist |
A list of edges in World coordinates. More... | |
Typedefs | |
typedef const class Wvec | mlib::CWvec |
typedef const class Wpt | mlib::CWpt |
typedef const class Wpt_list | mlib::CWpt_list |
typedef const class Wtransf | mlib::CWtransf |
typedef const class Wplane | mlib::CWplane |
typedef const class Wline | mlib::CWline |
typedef const class Wquat | mlib::CWquat |
typedef const class XYvec | mlib::CXYvec |
typedef const class XYpt | mlib::CXYpt |
typedef const class XYpt_list | mlib::CXYpt_list |
typedef const class XYline | mlib::CXYline |
typedef const class NDCvec | mlib::CNDCvec |
typedef const class NDCpt | mlib::CNDCpt |
typedef const class NDCpt_list | mlib::CNDCpt_list |
typedef const class NDCZvec | mlib::CNDCZvec |
typedef const class NDCZvec_list | mlib::CNDCZvec_list |
typedef const class NDCZpt | mlib::CNDCZpt |
typedef const class NDCZpt_list | mlib::CNDCZpt_list |
typedef const class VEXEL | mlib::CVEXEL |
typedef const class PIXEL | mlib::CPIXEL |
typedef const class PIXEL_list | mlib::CPIXEL_list |
typedef const class UVvec | mlib::CUVvec |
typedef const class UVpt | mlib::CUVpt |
typedef const class UVpt_list | mlib::CUVpt_list |
typedef const class UVline | mlib::CUVline |
Functions | |
Wvec | mlib::operator * (double s, const Wvec &p) |
Wpt | mlib::operator * (double s, const Wpt &p) |
XYvec | mlib::operator * (double s, const XYvec &p) |
XYpt | mlib::operator * (double s, const XYpt &p) |
NDCZvec | mlib::operator * (double s, const NDCZvec &p) |
NDCZvec | mlib::normal_to_ndcz (CWpt &p, CWvec &world_normal) |
NDCvec | mlib::operator * (double s, const NDCvec &p) |
VEXEL | mlib::operator * (double s, const VEXEL &p) |
UVvec | mlib::operator * (double s, const UVvec &p) |
UVpt | mlib::operator * (double s, const UVpt &p) |
double | mlib::world_length (CWpt &p, double r) |
Given point p in world space and pixel length r, return the world space length of a segment passing through p, parallel to the film plane, with pixel length r. | |
double | mlib::obj_length (CWpt &o, double r, CWtransf &M, CWtransf &I) |
Same as world_length(CWpt& p, double r), but for object-space point o, with transform M from object to world and its inverse I. | |
Variables | |
CWtransf | mlib::Identity |
mlib::Wpt(* | XYtoW_1 )(mlib::CXYpt &, mlib::CWpt &) |
mlib::Wpt(* | XYtoW_2 )(mlib::CXYpt &, double) |
mlib::Wpt(* | XYtoW_3 )(mlib::CXYpt &) |
mlib::Wvec(* | XYtoWvec )(mlib::CXYpt &) |
mlib::XYpt(* | WtoXY )(mlib::CWpt &) |
void(* | VIEW_SIZE )(int &, int &) |
void(* | VIEW_PIXELS )(double &, mlib::NDCpt &) |
double(* | VIEW_ASPECT )() |
mlib::CWtransf &(* | VIEW_NDC_TRANS )() |
mlib::CWtransf &(* | VIEW_NDC_TRANS_INV )() |
Definition in file points.H.
|
Definition at line 1971 of file view.C. Referenced by mlib::NDCpt::NDCpt(), mlib::NDCvec::NDCvec(), mlib::NDCZpt::NDCZpt(), mlib::NDCZvec::NDCZvec(), mlib::VEXEL::VEXEL(), mlib::XYpt::XYpt(), and mlib::XYvec::XYvec(). |
|
Definition at line 1973 of file view.C. Referenced by mlib::NDCZpt::NDCZpt(), mlib::normal_to_ndcz(), and mlib::Wpt::Wpt(). |
|
|
|
Definition at line 1972 of file view.C. Referenced by mlib::PIXEL::PIXEL(), and mlib::XYpt::XYpt(). |
|
|
Definition at line 1969 of file view.C. Referenced by mlib::XYpt::XYpt(). |
|
Definition at line 1965 of file view.C. Referenced by mlib::Wpt::Wpt(). |
|
Definition at line 1966 of file view.C. Referenced by mlib::Wpt::Wpt(). |
|
Definition at line 1967 of file view.C. Referenced by mlib::Wpt::Wpt(). |
|
Definition at line 1968 of file view.C. Referenced by mlib::Wvec::Wvec(). |