Simplygon C++ API  8.3.35800.0
SimplygonSDK::IWavefrontExporter Class Referenceabstract

#include <SimplygonSDK.h>

Inheritance diagram for SimplygonSDK::IWavefrontExporter:
SimplygonSDK::IGraphicsExporter SimplygonSDK::IObject

Public Member Functions

virtual const char * GetClass ()
 
virtual rstring GetMaterialFilePath ()=0
 
virtual bool IsA (const char *type) const
 
virtual void SetMaterialFilePath (const char *value)=0
 
- Public Member Functions inherited from SimplygonSDK::IGraphicsExporter
virtual rstring GetExportFilePath ()=0
 
virtual rstring GetPrimaryTexCoordLevelName ()=0
 
virtual bool RunExport ()=0
 
virtual void SetExportFilePath (const char *value)=0
 
virtual void SetPrimaryTexCoordLevelName (const char *name)=0
 
virtual void SetScene (IScene *scene)=0
 
virtual void SetSelectionSet (int exportSelectionSetID)=0
 
- Public Member Functions inherited from SimplygonSDK::IObject
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 IWavefrontExporterSafeCast (IObject *ptr)
 
- Static Public Member Functions inherited from SimplygonSDK::IGraphicsExporter
static bool IsClassA (const char *type)
 
static IGraphicsExporterSafeCast (IObject *ptr)
 
- Static Public Member Functions inherited from SimplygonSDK::IObject
static bool IsClassA (const char *type)
 
static IObjectSafeCast (IObject *ptr)
 

Detailed Description

Wavefront .obj geometry exporter

Definition at line 8680 of file SimplygonSDK.h.

Member Function Documentation

◆ GetClass()

virtual const char* SimplygonSDK::IWavefrontExporter::GetClass ( )
virtual

GetClass returns the name of the class of the object.

Returns
the name of the actual class of the object, as a const char string

Reimplemented from SimplygonSDK::IGraphicsExporter.

◆ GetMaterialFilePath()

virtual rstring SimplygonSDK::IWavefrontExporter::GetMaterialFilePath ( )
pure virtual

Get the material file path. If the path is not set, it is assumed to equal the path of the main obj file, but with the extension '.mtl' instead of '.obj'.

Returns
the path to the material file

◆ IsA()

virtual bool SimplygonSDK::IWavefrontExporter::IsA ( const char *  type) const
virtual

The IsA function returns true if the object is a or is a descendant of the class named as the type parameter

Parameters
typeis the name of the class to check if the object is, or is a descendant of
Returns
true if the object is of the specified class, false if not

Reimplemented from SimplygonSDK::IGraphicsExporter.

◆ IsClassA()

static bool SimplygonSDK::IWavefrontExporter::IsClassA ( const char *  type)
inlinestatic

The IsClassA function returns true if IWavefrontExporter is a or is a descendant of the class named as the type parameter

Parameters
typeis the name of the class to check if the class is, or is a descendant of
Returns
true if the class is of the specified class, false if not

Definition at line 8701 of file SimplygonSDK.h.

◆ SafeCast()

static IWavefrontExporter* SimplygonSDK::IWavefrontExporter::SafeCast ( IObject ptr)
inlinestatic

SafeCast makes sure the pointer is of a class that can be cast into a IWavefrontExporter pointer, and if this is possible, returns the cast pointer.

Parameters
ptris the pointer to be cast into a IWavefrontExporter pointer
Returns
a pointer to the IWavefrontExporter object, if the cast can be made, and a NULL pointer otherwise

Definition at line 8714 of file SimplygonSDK.h.

◆ SetMaterialFilePath()

virtual void SimplygonSDK::IWavefrontExporter::SetMaterialFilePath ( const char *  value)
pure virtual

Set the material file path. If the path is not set, it is assumed to equal the path of the main obj file, but with the extension '.mtl' instead of '.obj'.

Parameters
valueis the path to the material file

The documentation for this class was generated from the following file: