Logo Search packages:      
Sourcecode: inkscape version File versions

NR Namespace Reference


Detailed Description

Implement NR functions and methods


Classes

class  ConvexHull
class  Eigen
class  IPoint
class  IRect
class  IsNothing
class  Matrix
class  Maybe
class  Maybe< T & >
class  MaybeStorage
struct  Nothing
class  Point
 Cartesian point. More...
class  Rect
struct  RGBA
struct  RGBAi
class  rotate
class  scale
class  translate

Typedefs

typedef double Coord
typedef gdouble Fvector [3]
typedef gint32 ICoord

Enumerations

enum  Dim2 { X = 0, Y }

Functions

 __attribute__ ((const)) inline static double sample(double const a
void _check_index (NRPixBlock const *const pb, int const location, int const line)
Point abs (Point const &b)
NR::Coord atan2 (Point const p)
void compute_surface_normal (Fvector &N, gdouble ss, NRPixBlock *in, int i, int j, int dx, int dy)
void convert_coord (gdouble &x, gdouble &y, gdouble &z, Geom::Matrix const &trans)
Coord cross (Point const &a, Point const &b)
Coord distance (Point const &a, Point const &b)
Coord dot (Point const &a, Point const &b)
Matrix elliptic_quadratic_form (Matrix const &m)
Rect expand (Rect const &r, NR::Point by)
Rect expand (Rect const &r, double by)
double expansion (Matrix const &m)
double expansionX (Matrix const &m)
double expansionY (Matrix const &m)
Matrix from_basis (const Point x_basis, const Point y_basis, const Point offset=Point(0, 0))
int get_carac (int i, int len, int delta)
translate get_translation (Matrix const &m)
Matrix identity ()
boost::optional< Rectintersection (boost::optional< Rect > const &a, boost::optional< Rect > const &b)
bool is_unit_vector (Point const &p)
bool is_zero (Point const &p)
Coord L1 (Point const &p)
Coord L2 (Point const &p)
Point Lerp (double const t, Point const a, Point const b)
NR::Coord LInfty (Point const &p)
bool matrix_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
void matrix_print (const gchar *say, Matrix const &m)
gdouble norm (const Fvector &v)
void normalize_vector (Fvector &v)
void normalized_sum (Fvector &r, const Fvector &a, const Fvector &b)
bool operator!= (translate const &a, translate const &b)
bool operator!= (Point const &a, Point const &b)
bool operator!= (Matrix const &a, Matrix const &b)
Point operator* (Point const &v, translate const &t)
translate operator* (translate const &a, translate const &b)
Matrix operator* (translate const &t, Matrix const &m)
scale operator* (scale const &a, scale const &b)
Point operator* (Point const &p, scale const &s)
rotate operator* (rotate const &a, rotate const &b)
Point operator* (Point const &v, rotate const &r)
Point operator* (double const s, Point const &b)
Point operator* (Point const &v, Matrix const &m)
Matrix operator* (Matrix const &m, translate const &t)
Matrix operator* (Matrix const &m, scale const &s)
Matrix operator* (Matrix const &a, Matrix const &b)
Matrixoperator*= (Matrix &m, translate const &t)
Matrixoperator*= (Matrix &m, scale const &s)
Matrixoperator*= (Matrix &a, Matrix const &b)
Point operator+ (Point const &a, Point const &b)
Point operator- (Point const &a)
Point operator- (Point const &a, Point const &b)
scale operator/ (scale const &numer, scale const &denom)
rotate operator/ (rotate const &numer, rotate const &denom)
Point operator/ (Point const &b, double const d)
Matrix operator/ (Matrix const &numer, translate const &denom)
Matrix operator/ (Matrix const &m, scale const &s)
Matrixoperator/= (Matrix &m, scale const &s)
std::ostream & operator<< (std::ostream &out_file, NR::Rect const &in_rect)
std::ostream & operator<< (std::ostream &out_file, const NR::Point &in_pnt)
std::ostream & operator<< (std::ostream &out_file, const NR::Matrix &m)
bool operator== (translate const &a, translate const &b)
bool operator== (Point const &a, Point const &b)
bool operator== (Matrix const &a, Matrix const &b)
Point operator^ (Point const &a, Point const &b)
bool point_equalp (Point const &a, Point const &b, double const eps)
Point rot90 (Point const &p)
gdouble scalar_product (const Fvector &a, const Fvector &b)
void scale_bicubic (NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &trans)
Matrix transform (Matrix const &m)
void transform_bicubic (NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &trans)
bool transform_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
void transform_nearest (NRPixBlock *to, NRPixBlock *from, Geom::Matrix const &trans)
bool translate_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
boost::optional< Rectunion_bounds (boost::optional< Rect > const &a, boost::optional< Rect > const &b)
Rect union_bounds (Rect const &a, boost::optional< Rect > const &b)
Rect union_bounds (boost::optional< Rect > const &a, Rect const &b)
Rect union_bounds (Rect const &a, Rect const &b)
Point unit_vector (Point const &a)

Variables

double const b
double const double const c
double const double const
double const 
d
static const Fvector EYE_VECTOR = {0, 0, 1}
gdouble FACTOR_X [3][3]
signed char K_X [3][3][3][3]


Generated by  Doxygen 1.6.0   Back to index