MAXViewConverter |
This class contains methods that are used to convert views (cameras).
When to use
This class is used by the MAXExporter class.
|
Interface Methods |
Description |
|
Class constructor |
|
|
Class destructor |
|
|
Extracts MAX camera data from a camera node and converts and links this data to Shockwave 3D§ view node |
|
|
Initializes MAXViewConverter |
|
|
Exports the defaultview camera as the default view |
This is the class constructor.
Parameters:
|
pMAXExporter |
Reference to the MAXExporter class |
Return Values:
None
This is the class destructor.
Parameters:
None
Return Values:
None
This method extracts MAX camera data from a camera node and converts and links this data to a Shockwave view node.
Parameters:
|
pInMAXNodeList |
This is a node list which contains only one MAX node. That node is a MAX camera node which is to be converted to a Shockwave 3D view node. |
|
pIFXView |
The Shockwave 3D node to which the camera information is added. NOTE: Shockwave 3D view nodes do not have corresponding resources, thus all pertinent data is stored at the node level. |
If a camera named "defaultview" (case insensitive) is found in the MAX scenegraph, then that camera will be exported as the default view. Otherwise, this method will construct a default view that is based on the active viewport in MAX, and that view will be exported.
Parameters:
|
uInXSize |
Width of the default view |
|
uInYSize |
Height of the default view |
This method initializes the MAXViewConverter.
Parameters:
|
pMAXExporter |
Reference to main exporter class |
§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.