Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

CXImplFile Class Reference

#include <hyp.file.implx.h>

Inheritance diagram for CXImplFile::

ID3DMeshObject IFileObject List of all members.

Common Functions

See the Hyperion Pattern.

 CXImplFile (hyp_ker::IUnknown *)
virtual ~CXImplFile ()
virtual hyp_DECLARE_IUNKNOWN
hyp_ker::com_result 
NondelegatingQueryInterface (const hyp_ker::hypIID &, void **)
hyp_ker::com_result Init (void)
void FinalRelease (void)
hyp_ker::com_result CreateInstance (hyp_ker::IUnknown *,hyp_ker::CUnknown **)

IFileObject

virtual void SetObject (hyp_ker::IUnknown *pObject)

IShowMeshObject Interface

virtual void InitializeD3DMeshBuilder (LPDIRECT3DRMMESHBUILDER3)
virtual void SaveD3DMeshBuilder (const std::string &)
virtual void SaveD3DHypMesh (const std::string &)
virtual void LoadD3DHypMesh (const std::string &)

Detailed Description

This is the default implementation of the interface ID3DMeshObject.
CLSID
Here are the Class Indetifiers (CLSID) supported by the class:
Supported Interfaces
Here is the interfaces which are supported by the component.

    hyp_ker::com_result CXImplFile::NondelegatingQueryInterface(const hyp_ker::hypIID& iid,void** ppv)
    {
            if(iid==IID_hypID3DMeshObject) {
                    return FinishQI(static_cast<ID3DMeshObject*>(this),ppv);
            } else {
                    return CUnknown::NondelegatingQueryInterface(iid,ppv);
            }
    }
    //DOXYTAG
Implementation Details


Member Function Documentation

void CXImplFile::InitializeD3DMeshBuilder LPDIRECT3DRMMESHBUILDER3   pComObject [virtual]
 

Initialize the Component-Document with a LPDIRECT3DRMMESHBUILDER3 component.

Parameters:
pComObject   DirectX component which support the LPDIRECT3DRMMESHBUILDER3 interface.

Reimplemented from ID3DMeshObject.

void CXImplFile::LoadD3DHypMesh const std::string &   FileName [virtual]
 

Loads the Component-File from a file. This file has bee generated with the SaveD3DHypMesh function.

Parameters:
FileName   Name of the file

Reimplemented from ID3DMeshObject.

void CXImplFile::SaveD3DHypMesh const std::string &   FileName [virtual]
 

Saves the Component-Document into a file. The saved data include :

  • the geometry of the Component-Document
  • the matrix associated
  • the descriptions of the elements
    Parameters:
    FileName   Name of the file

Reimplemented from ID3DMeshObject.

void CXImplFile::SaveD3DMeshBuilder const std::string &   FileName [virtual]
 

Saves the Component-Document into a file. The saved data are only relates to the geometry of the Component-Document.

Parameters:
FileName   Name of the file

Reimplemented from ID3DMeshObject.

virtual void CXImplFile::SetObject hyp_ker::IUnknown *   pObject [inline, virtual]
 

Associates a Component-Document to the component.

Parameters:
pObject   Component-Document

Reimplemented from IFileObject.


The documentation for this class was generated from the following files:
Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.