You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
3.3 KiB
108 lines
3.3 KiB
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
//
|
|
// Copyright (C) Microsoft Corporation, 1998 - 1999
|
|
//
|
|
// File: d3drmviewportinterobj.h
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
// d3drmViewport2Obj.h : Declaration of the C_dxj_Direct3dRMViewportInterpolatorObject
|
|
|
|
#include "resource.h" // main symbols
|
|
//#include "d3drmObjectObj.h"
|
|
|
|
#define typedef__dxj_Direct3dRMViewportInterpolator LPDIRECT3DRMINTERPOLATOR
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Direct
|
|
|
|
//REVIEW -- using pointers to ID's is necessary because some compilers don't like
|
|
//references as template arguments.
|
|
|
|
class C_dxj_Direct3dRMViewportInterpolatorObject :
|
|
public I_dxj_Direct3dRMViewportInterpolator,
|
|
public I_dxj_Direct3dRMInterpolator,
|
|
//public I_dxj_Direct3dRMObject,
|
|
public CComObjectRoot
|
|
{
|
|
public:
|
|
C_dxj_Direct3dRMViewportInterpolatorObject() ;
|
|
virtual ~C_dxj_Direct3dRMViewportInterpolatorObject() ;
|
|
DWORD InternalAddRef();
|
|
DWORD InternalRelease();
|
|
|
|
BEGIN_COM_MAP(C_dxj_Direct3dRMViewportInterpolatorObject)
|
|
COM_INTERFACE_ENTRY(I_dxj_Direct3dRMViewportInterpolator)
|
|
COM_INTERFACE_ENTRY(I_dxj_Direct3dRMInterpolator)
|
|
//COM_INTERFACE_ENTRY(I_dxj_Direct3dRMObject)
|
|
END_COM_MAP()
|
|
|
|
|
|
|
|
DECLARE_AGGREGATABLE(C_dxj_Direct3dRMViewportInterpolatorObject)
|
|
|
|
// I_dxj_Direct3dRMViewport2
|
|
public:
|
|
|
|
/* [hidden] */ HRESULT STDMETHODCALLTYPE InternalSetObject(
|
|
/* [in] */ IUnknown __RPC_FAR *lpdd);
|
|
|
|
/* [hidden] */ HRESULT STDMETHODCALLTYPE InternalGetObject(
|
|
/* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *lpdd);
|
|
|
|
HRESULT STDMETHODCALLTYPE attachObject(
|
|
/* [in] */ I_dxj_Direct3dRMObject __RPC_FAR *rmObject);
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE detachObject(
|
|
/* [in] */ I_dxj_Direct3dRMObject __RPC_FAR *rmObject);
|
|
|
|
HRESULT STDMETHODCALLTYPE getAttachedObjects(
|
|
/* [retval][out] */ I_dxj_Direct3dRMObjectArray __RPC_FAR *__RPC_FAR *rmArray);
|
|
|
|
HRESULT STDMETHODCALLTYPE setIndex(
|
|
/* [in] */ float val);
|
|
|
|
HRESULT STDMETHODCALLTYPE getIndex(
|
|
/* [retval][out] */ float __RPC_FAR *val);
|
|
|
|
HRESULT STDMETHODCALLTYPE interpolate(
|
|
/* [in] */ float val,
|
|
/* [in] */ I_dxj_Direct3dRMObject __RPC_FAR *rmobject,
|
|
/* [in] */ long options);
|
|
|
|
HRESULT STDMETHODCALLTYPE setFront(
|
|
/* [in] */ float val);
|
|
|
|
HRESULT STDMETHODCALLTYPE setBack(
|
|
/* [in] */ float val);
|
|
|
|
HRESULT STDMETHODCALLTYPE setField(
|
|
/* [in] */ float val);
|
|
|
|
HRESULT STDMETHODCALLTYPE setPlane(
|
|
/* [in] */ float left,
|
|
/* [in] */ float right,
|
|
/* [in] */ float bottom,
|
|
/* [in] */ float top);
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// note: this is public for the callbacks
|
|
|
|
|
|
|
|
private:
|
|
DECL_VARIABLE(_dxj_Direct3dRMViewportInterpolator);
|
|
LPDIRECT3DRMVIEWPORT2 m__dxj_Direct3dRMViewport2;
|
|
|
|
|
|
public:
|
|
DX3J_GLOBAL_LINKS( _dxj_Direct3dRMViewportInterpolator )
|
|
};
|
|
|
|
|