![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual real | CalculateImpostorAspectRatio ()=0 |
virtual const char * | GetClass () |
virtual CountedPointer< IGeometryData > | GetImpostorGeometry ()=0 |
virtual CountedPointer< IImpostorSettings > | GetImpostorSettings ()=0 |
virtual CountedPointer< IMappingImage > | GetMappingImage ()=0 |
virtual CountedPointer< IMappingImageSettings > | GetMappingImageSettings ()=0 |
virtual bool | IsA (const char *type) const |
virtual void | SetGeometry (IGeometryData *value)=0 |
virtual void | SetScene (IScene *value)=0 |
![]() | |
virtual void | Clear ()=0 |
virtual real | GetPercentDone ()=0 |
virtual void | RunProcessing ()=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 IImpostorProcessor * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IProcessingObject * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
The ImpostorProcessor generates a two-triangle billboard impostor geometry of an input geometry from a specific viewing angle, and casts textures and normals from the original geometry to the impostor.
Definition at line 19294 of file SimplygonSDK.h.
|
pure virtual |
Returns the aspect ratio that the impostor from a certain vector will generate, so the mapping setting can be set accordingly. TextureHeight * AspectRatio = TextureWidth
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IProcessingObject.
|
pure virtual |
The Impostor GeometryData.
|
pure virtual |
The settings for the ImpostorProcessor.
|
pure virtual |
The MappingImage for the Impostor geometry.
|
pure virtual |
The settings for the the MappingImage.
|
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::IProcessingObject.
|
inlinestatic |
The IsClassA function returns true if IImpostorProcessor 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 19315 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a IImpostorProcessor pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a IImpostorProcessor pointer |
Definition at line 19328 of file SimplygonSDK.h.
|
pure virtual |
Set the input geometry used for impostor processing.
value | is the input GeometryData |
|
pure virtual |
Set the scene for the impostor processing. Please note that internal refrences might be modified by the processor. The caller should refresh any reference that is cached outside the scene after running the processor.
value | is the scene |