Point Cloud Library (PCL)
1.11.1
|
23 #if !defined(OPENNURBS_TEXTURE_MAPPING_INC_)
24 #define OPENNURBS_TEXTURE_MAPPING_INC_
575 cylinder_mapping = 3,
578 mesh_mapping_primitive = 6,
579 srf_mapping_primitive = 7,
580 brep_mapping_primitive = 8,
582 force_32bit_mapping_type = 0xFFFFFFFF
612 clspt_projection = 1,
614 force_32bit_mapping_projection = 0xFFFFFFFF
637 force_32bit_texture_space = 0xFFFFFFFF
675 #if defined(ON_DLL_TEMPLATE)
679 #pragma warning( push )
680 #pragma warning( disable : 4231 )
683 #pragma warning( pop )
bool SetBoxMapping(const ON_Plane &plane, ON_Interval dx, ON_Interval dy, ON_Interval dz, bool bIsCapped)
bool GetMappingSphere(ON_Sphere &sphere) const
ON_TextureMapping(const ON_TextureMapping &src)
ON__UINT32 MappingCRC() const
ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const
virtual int Evaluate(const ON_3dPoint &P, const ON_3dVector &N, ON_3dPoint *T) const
bool GetMappingBox(ON_Plane &plane, ON_Interval &dx, ON_Interval &dy, ON_Interval &dz) const
bool HasMatchingTextureCoordinates(const ON_Mesh &mesh, const ON_Xform *object_xform=0) const
int EvaluatePlaneMapping(const ON_3dPoint &P, const ON_3dVector &N, ON_3dPoint *T) const
void Dump(ON_TextLog &) const
ON_BOOL32 Read(ON_BinaryArchive &binary_archive)
bool GetMappingPlane(ON_Plane &plane, ON_Interval &dx, ON_Interval &dy, ON_Interval &dz) const
bool SetSurfaceParameterMapping(void)
static TEXTURE_SPACE TextureSpaceFromInt(int i)
ON_TextureMapping & operator=(const ON_TextureMapping &src)
TEXTURE_SPACE m_texture_space
ON_OBJECT_DECLARE(ON_TextureMapping)
virtual ON_UUID ModelObjectId() const
bool SwapTextureCoordinate(int i, int j)
bool RequiresVertexNormals() const
bool GetTextureCoordinates(const ON_Mesh &mesh, ON_SimpleArray< ON_2fPoint > &T, const ON_Xform *mesh_xform=0, bool bLazy=false, ON_SimpleArray< int > *Tside=0) const
bool GetTextureCoordinates(const ON_Mesh &mesh, ON_SimpleArray< ON_3fPoint > &T, const ON_Xform *mesh_xform=0, bool bLazy=false, ON_SimpleArray< int > *Tside=0) const
ON_Object * m_mapping_primitive
bool SetPlaneMapping(const ON_Plane &plane, const ON_Interval &dx, const ON_Interval &dy, const ON_Interval &dz)
static TYPE TypeFromInt(int i)
bool HasMatchingTextureCoordinates(const class ON_MappingTag &tag, const ON_Xform *object_xform=0) const
int EvaluateSphereMapping(const ON_3dPoint &P, const ON_3dVector &N, ON_3dPoint *T) const
ON_BOOL32 Write(ON_BinaryArchive &binary_archive) const
static PROJECTION ProjectionFromInt(int i)
int EvaluateBoxMapping(const ON_3dPoint &P, const ON_3dVector &N, ON_3dPoint *T) const
bool TileTextureCoordinate(int dir, double count, double offset)
ON_wString m_mapping_name
bool SetCylinderMapping(const ON_Cylinder &cylinder, bool bIsCapped)
unsigned int SizeOf() const
bool IsPeriodic(void) const
bool GetMappingCylinder(ON_Cylinder &cylinder) const
bool ReverseTextureCoordinate(int dir)
int EvaluateCylinderMapping(const ON_3dPoint &P, const ON_3dVector &N, ON_3dPoint *T) const
bool SetSphereMapping(const ON_Sphere &sphere)
virtual int Evaluate(const ON_3dPoint &P, const ON_3dVector &N, ON_3dPoint *T, const ON_Xform &P_xform, const ON_Xform &N_xform) const