![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual const char * | GetClass () |
virtual unsigned int | GetHeight ()=0 |
virtual CountedPointer< IChunkedImageData > | GetImageData ()=0 |
virtual unsigned int | GetLayerCount ()=0 |
virtual CountedPointer< IMappingImageMeshData > | GetMappingMeshData ()=0 |
virtual unsigned int | GetMultisamplingHeight ()=0 |
virtual unsigned int | GetMultisamplingWidth ()=0 |
virtual unsigned int | GetWidth ()=0 |
virtual bool | IsA (const char *type) const |
virtual CountedPointer< IMappingImage > | NewQuartersizeCopy ()=0 |
![]() | |
virtual rid | AddObserver (robserver *Observer, rid EventId)=0 |
virtual void | AddRef ()=0 |
virtual rstring | GetName ()=0 |
virtual void * | GetUserComponentArea (rid userid)=0 |
virtual void | PrintInfo ()=0 |
virtual void | Release ()=0 |
virtual void | RemoveObserver (rid ObserverId)=0 |
virtual void | SetName (const char *Name)=0 |
Static Public Member Functions | |
static bool | IsClassA (const char *type) |
static IMappingImage * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
IMappingImage stores the mapping between a processed geometry and the source geometry it is based on. The mapping image object also stores multisampling settings. It can be used to cast information from the original geometry to the processed geometry, such as surface transfer or calculating normal maps. See IMaterialCaster and subclasses for casting uses.
Definition at line 7630 of file SimplygonSDK.h.
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IObject.
|
pure virtual |
Get the height of the mapping texture.
|
pure virtual |
Get the ImageData object, which stores the mapping data
|
pure virtual |
Get the number of layers of the mapping texture.
|
pure virtual |
Get the IMappingImageMeshData Mesh data that is used to retrieve the triangle mapping to mesh information to map back to the original scene.
|
pure virtual |
Get the multi sampling height of the mapping texture.
|
pure virtual |
Get the multi sampling width of the mapping texture.
|
pure virtual |
Get the width of the mapping texture.
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the object is, or is a descendant of |
Reimplemented from SimplygonSDK::IObject.
|
inlinestatic |
The IsClassA function returns true if IMappingImage is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the class is, or is a descendant of |
Definition at line 7651 of file SimplygonSDK.h.
|
pure virtual |
Return a copy of the mapping image which is scaled in size by half, in width and height. The area covered is a quarter size of the original, hence it's name.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IMappingImage pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IMappingImage pointer |
Definition at line 7664 of file SimplygonSDK.h.