Detailed Description
- See also:
- Class ImpInterface, Class Interface.
- Description:
- This is a base class for creating file import plug-ins. The
plug-in implements methods of this class to describe the properties
of the import plug-in and a method that handles the actual import
process.
#include <impexp.h>
List of all
members.
Constructor & Destructor Documentation
Member Function Documentation
virtual int ExtCount |
( |
|
) |
[pure virtual] |
virtual const MCHAR* Ext |
( |
int |
n |
) |
[pure virtual] |
- Parameters:
- int i
The index of the file name extension to return.
virtual const MCHAR* LongDesc |
( |
|
) |
[pure virtual] |
virtual const MCHAR* ShortDesc |
( |
|
) |
[pure virtual] |
virtual const MCHAR* AuthorName |
( |
|
) |
[pure virtual] |
virtual const MCHAR* CopyrightMessage |
( |
|
) |
[pure virtual] |
virtual const MCHAR* OtherMessage1 |
( |
|
) |
[pure virtual] |
virtual const MCHAR* OtherMessage2 |
( |
|
) |
[pure virtual] |
virtual unsigned int Version |
( |
|
) |
[pure virtual] |
virtual void ShowAbout |
( |
HWND |
hWnd |
) |
[pure virtual] |
- Parameters:
- HWND hWnd
The parent window handle for the dialog.
virtual int DoImport |
( |
const MCHAR * |
name, |
|
|
ImpInterface * |
ii, |
|
|
Interface * |
i, |
|
|
BOOL |
suppressPrompts =
FALSE |
|
) |
|
[pure virtual] |
- Parameters:
- const MCHAR *name
The file name chosen by the user to import.
ImpInterface
*ii
An import interface pointer that may be used to create objects and
nodes in the scene.
Interface
*i
Pass the 3ds Max interface pointer here.
BOOL suppressPrompts=FALSE
This parameter is available in release 2.0 and later only.
When TRUE, the plug-in must not display any dialogs requiring user
input. It is up to the plug-in as to how to handle error conditions
or situations requiring user input. This is an option set up for
the 3ds Max API in order for plug-in developers to create batch
import plugins which operate unattended. See Interface::ImportFromFile().
- Returns:
- One of the following three values should be returned
#define IMPEXP_FAIL 0
#define IMPEXP_SUCCESS 1
#define IMPEXP_CANCEL 2
virtual int ZoomExtents |
( |
|
) |
[inline, virtual] |
- Returns:
- One of the following values:
ZOOMEXT_NOT_IMPLEMENTED
Indicates to use the preference setting.
ZOOMEXT_YES
Indicates to do a zoom extents after import regardless of the
preference setting.
ZOOMEXT_NO
Indicates to not do a zoom extents regardless of the
preference setting.
- Default Implementation:
- { return ZOOMEXT_NOT_IMPLEMENTED; }
{ return ZOOMEXT_NOT_IMPLEMENTED; }
SceneImport SceneImport SceneImport
SceneImport SceneImport SceneImport SceneImport SceneImport
SceneImport SceneImport
SceneImport SceneImport SceneImport
SceneImport SceneImport SceneImport SceneImport SceneImport
SceneImport SceneImport