Classes | Functions | Variables
opennurbs_material.cpp File Reference
#include "pcl/surface/3rdparty/opennurbs/opennurbs.h"
Include dependency graph for opennurbs_material.cpp:

Go to the source code of this file.

Classes

class  ON__CChangeTextureCoordinateHelper
class  ON__CMeshFaceTC
class  ON__CNewMeshFace

Functions

static void AdjustMeshPeriodicTextureCoordinatesHelper (ON_Mesh &mesh, const ON_Xform *mesh_xform, float *mesh_T, int mesh_T_stride, const int *Tsd, double two_pi_tc, const ON_TextureMapping &mapping)
static void AdjustSingleBoxTextureCoordinatesHelper (ON_Mesh &mesh, const ON_Xform *mesh_xform, float *mesh_T, int mesh_T_stride, const int *Tsd, const ON_TextureMapping &box_mapping)
static int BestHitHelper (double t0, double t1)
static int CompareDouble (double a, double b)
static int CompareTextureDoubles (size_t count, const double *a, const double *b)
static int CompareXform (const ON_Xform &a, const ON_Xform &b)
static bool EvBoxSideTextureCoordinateHelper1 (const ON_Mesh &mesh, const ON_Xform *mesh_xform, int vi, int side, const ON_TextureMapping &box_mapping, float *Tx, float *Ty)
static bool EvBoxSideTextureCoordinateHelper2 (int side, const ON_TextureMapping &box_mapping, const ON_3dPoint &P, const ON_3dVector &N, ON_3dPoint *T)
static bool GetSPTCHelper (const ON_Mesh &mesh, const ON_TextureMapping &mapping, float *tc, int tc_stride)
static bool HasSharedVertices (const ON_Mesh &mesh)
static int IntersectBoxRayHelper (const ON_3dPoint &rst, const ON_3dVector &n, int dir, double *s)
static int IntersectBoxSideRayHelper (int side, const ON_3dPoint &rst, const ON_3dVector &n, double *s)
 ON_OBJECT_IMPLEMENT (ON_Material, ON_Object,"60B5DBBC-E660-11d3-BFE4-0010830122F0")
 ON_OBJECT_IMPLEMENT (ON_Texture, ON_Object,"D6FF106D-329B-4f29-97E2-FD282A618020")
 ON_OBJECT_IMPLEMENT (ON_TextureMapping, ON_Object,"32EC997A-C3BF-4ae5-AB19-FD572B8AD554")
static float PoleFix (float t0, float t1)
static bool SeamCheckHelper (const ON_TextureMapping &mp, double &two_pi_tc, ON_SimpleArray< int > &Tside, ON_SimpleArray< int > *&Tsd)
static float TcDistanceHelper (const ON_2fPoint &tc)
static void ThreeToTwoHelper (const ON_SimpleArray< ON_3fPoint > &T3, ON_SimpleArray< ON_2fPoint > &T2)

Variables

static const double on__overflow_tol = 1.0e100

Function Documentation

static void AdjustMeshPeriodicTextureCoordinatesHelper ( ON_Mesh mesh,
const ON_Xform mesh_xform,
float *  mesh_T,
int  mesh_T_stride,
const int *  Tsd,
double  two_pi_tc,
const ON_TextureMapping mapping 
) [static]

Definition at line 3611 of file opennurbs_material.cpp.

static void AdjustSingleBoxTextureCoordinatesHelper ( ON_Mesh mesh,
const ON_Xform mesh_xform,
float *  mesh_T,
int  mesh_T_stride,
const int *  Tsd,
const ON_TextureMapping box_mapping 
) [static]

Definition at line 3497 of file opennurbs_material.cpp.

static int BestHitHelper ( double  t0,
double  t1 
) [static]

Definition at line 1669 of file opennurbs_material.cpp.

static int CompareDouble ( double  a,
double  b 
) [static]

Definition at line 712 of file opennurbs_material.cpp.

static int CompareTextureDoubles ( size_t  count,
const double *  a,
const double *  b 
) [static]

Definition at line 732 of file opennurbs_material.cpp.

static int CompareXform ( const ON_Xform a,
const ON_Xform b 
) [static]

Definition at line 717 of file opennurbs_material.cpp.

static bool EvBoxSideTextureCoordinateHelper1 ( const ON_Mesh mesh,
const ON_Xform mesh_xform,
int  vi,
int  side,
const ON_TextureMapping box_mapping,
float *  Tx,
float *  Ty 
) [static]

Definition at line 3373 of file opennurbs_material.cpp.

static bool EvBoxSideTextureCoordinateHelper2 ( int  side,
const ON_TextureMapping box_mapping,
const ON_3dPoint P,
const ON_3dVector N,
ON_3dPoint T 
) [static]

Definition at line 3271 of file opennurbs_material.cpp.

static bool GetSPTCHelper ( const ON_Mesh mesh,
const ON_TextureMapping mapping,
float *  tc,
int  tc_stride 
) [static]

Definition at line 2453 of file opennurbs_material.cpp.

static bool HasSharedVertices ( const ON_Mesh mesh) [inline, static]

Definition at line 3971 of file opennurbs_material.cpp.

static int IntersectBoxRayHelper ( const ON_3dPoint rst,
const ON_3dVector n,
int  dir,
double *  s 
) [static]

Definition at line 1675 of file opennurbs_material.cpp.

static int IntersectBoxSideRayHelper ( int  side,
const ON_3dPoint rst,
const ON_3dVector n,
double *  s 
) [static]

Definition at line 3192 of file opennurbs_material.cpp.

ON_OBJECT_IMPLEMENT ( ON_Material  ,
ON_Object  ,
"60B5DBBC-E660-11d3-BFE4-0010830122F0"   
)
ON_OBJECT_IMPLEMENT ( ON_Texture  ,
ON_Object  ,
"D6FF106D-329B-4f29-97E2-FD282A618020"   
)
ON_OBJECT_IMPLEMENT ( ON_TextureMapping  ,
ON_Object  ,
"32EC997A-C3BF-4ae5-AB19-FD572B8AD554"   
)
static float PoleFix ( float  t0,
float  t1 
) [static]

Definition at line 3183 of file opennurbs_material.cpp.

static bool SeamCheckHelper ( const ON_TextureMapping mp,
double &  two_pi_tc,
ON_SimpleArray< int > &  Tside,
ON_SimpleArray< int > *&  Tsd 
) [static]

Definition at line 3926 of file opennurbs_material.cpp.

static float TcDistanceHelper ( const ON_2fPoint tc) [static]

Definition at line 3485 of file opennurbs_material.cpp.

static void ThreeToTwoHelper ( const ON_SimpleArray< ON_3fPoint > &  T3,
ON_SimpleArray< ON_2fPoint > &  T2 
) [static]

Definition at line 2778 of file opennurbs_material.cpp.


Variable Documentation

const double on__overflow_tol = 1.0e100 [static]

Definition at line 1666 of file opennurbs_material.cpp.



pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:46