23 #if !defined(OPENNURBS_TEXTURE_MAPPING_INC_)
24 #define OPENNURBS_TEXTURE_MAPPING_INC_
57 unsigned int SizeOf()
const;
78 bool RequiresVertexNormals()
const;
79 bool IsPeriodic(
void)
const;
86 bool SetSurfaceParameterMapping(
void);
126 bool SetPlaneMapping(
156 bool SetCylinderMapping(
174 bool SetSphereMapping(
255 bool GetMappingPlane(
276 bool GetMappingCylinder(
294 bool GetMappingSphere(
345 bool ReverseTextureCoordinate(
int dir );
358 bool SwapTextureCoordinate(
int i,
int j );
373 bool TileTextureCoordinate(
int dir,
double count,
double offset );
428 int EvaluatePlaneMapping(
434 int EvaluateSphereMapping(
440 int EvaluateCylinderMapping(
446 int EvaluateBoxMapping(
469 bool HasMatchingTextureCoordinates(
473 bool HasMatchingTextureCoordinates(
523 bool GetTextureCoordinates(
531 bool GetTextureCoordinates(
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
668 static TYPE TypeFromInt(
int i );
672 ON__UINT32 MappingCRC()
const;
675 #if defined(ON_DLL_TEMPLATE)
679 #pragma warning( push )
680 #pragma warning( disable : 4231 )
683 #pragma warning( pop )
virtual ON_BOOL32 IsValid(ON_TextLog *text_log=NULL) const =0
ON_Object * m_mapping_primitive
virtual unsigned int SizeOf() const
ON_wString m_mapping_name
virtual ON_UUID ModelObjectId() const
virtual ON_BOOL32 Read(ON_BinaryArchive &binary_archive)
virtual ON_BOOL32 Write(ON_BinaryArchive &binary_archive) const
ON_Object & operator=(const ON_Object &)
bool
Check if val1 and val2 are equals to an epsilon extent.
TEXTURE_SPACE m_texture_space
virtual void Dump(ON_TextLog &) const