25#ifndef ODTRVISEXTENSIONOBJECT
26#define ODTRVISEXTENSIONOBJECT
40class OdTrVisMetafileWritersPool;
113 template <
OdUInt32 staticDataBufSize >
116 OdUInt8 staticBuffer[staticDataBufSize];
119 pBufIn->
getBytes(staticBuffer, nDataPart);
120 pBufOut->
putBytes(staticBuffer, nDataPart);
193 pObj->setup(pExternal);
const OdTrVisId kTrVisNullId
OdSmartPtr< OdTrVisExtensionObjectMtContext > OdTrVisExtensionObjectMtContextPtr
OdSmartPtr< OdTrVisExtensionModule > OdTrVisExtensionModulePtr
OdSmartPtr< OdTrVisExtensionObjectInvocation > OdTrVisExtensionObjectInvocationPtr
OdSmartPtr< OdTrVisExtensionGraphicObject > OdTrVisExtensionGraphicObjectPtr
OdSmartPtr< OdTrVisExtensionObject > OdTrVisExtensionObjectPtr
OdSmartPtr< OdTrVisExtensionObjectInternalInvocation > OdTrVisExtensionObjectInternalInvocationPtr
static OdSmartPtr< TInterface > createObject()
virtual OdUInt64 length()
virtual void getBytes(void *buffer, OdUInt32 numBytes)
virtual void putBytes(const void *buffer, OdUInt32 numBytes)
OdTrVisViewportId viewportId() const
OdTrVisOverlayId overlayId() const
void setup(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId)
virtual OdTrVisRenderDataInvoke * wrapInvoke(OdTrVisRenderDataInvokeHid *pInvoke) const
virtual bool receiveData(const OdTrVisExtensionObjectInternalInvocation *pInvocation, OdTrVisRenderDataInvoke *pReceiver)=0
ODRX_SEALED_VIRTUAL bool collectRenderData(const OdTrVisDirectRenderPartialUpdateInvocation *pInvocation, OdTrVisRenderDataInvokeHid *pInvoke) ODRX_SEALED
virtual void releaseData(const OdTrVisExtensionObjectInvocation *pInvocation, const OdTrVisRendition *pRendition=NULL)=0
virtual const OdTrVisExtensionObjectInternalInvocation * requestData(const OdTrVisExtensionObjectInvocation *pInvocation, OdTrVisExtensionObjectMtContext *pMtCtx=NULL)=0
virtual OdString moduleName() const =0
virtual OdUInt32 extensionVersion() const =0
virtual bool isProxyObject() const
virtual void deSerialize(OdStreamBuf *)
virtual OdUInt32 moduleObjectType() const =0
virtual void serialize(OdStreamBuf *) const
virtual const OdTrVisExtensionModule * extensionModule() const =0
virtual void setupSpecificData(OdUInt32, const OdTrVisPropertyDef &)
static OdSmartPtr< OdTrVisExtensionObjectInternalInvocation > createObject(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId)
OdTrVisExtensionObjectInvocationPtr m_pExternal
void setup(const OdTrVisExtensionObjectInvocation *pExternal=NULL)
static OdSmartPtr< OdTrVisExtensionObjectInternalInvocation > createObject(const OdTrVisExtensionObjectInvocation *pExternal=NULL)
TD_USING(OdTrVisDirectRenderPartialUpdateInvocation::setup)
const OdTrVisExtensionObjectInvocation * externalInvocation() const
static OdSmartPtr< OdTrVisExtensionObjectInvocation > createObject(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdTrRndLocalRenditionHost *pRenditionHost, const OdTrVisCamera &camera, const OdGeMatrix3d &modelXform)
OdGeMatrix3d m_modelXform
OdTrVisExtensionObjectInvocation()
const OdTrVisCamera * m_pCamera
const OdGeMatrix3d & modelXform() const
void setup(OdTrVisViewportId viewportId, OdTrVisOverlayId overlayId, OdTrRndLocalRenditionHost *pRenditionHost, const OdTrVisCamera &camera, const OdGeMatrix3d &modelXform)
TD_USING(OdTrVisDirectRenderPartialUpdateInvocation::setup)
void setup(OdTrRndLocalRenditionHost *pRenditionHost, const OdTrVisCamera &camera, const OdGeMatrix3d &modelXform)
const OdTrVisCamera & camera() const
OdTrRndLocalRenditionHost * m_pRenditionHost
OdTrRndLocalRenditionHost * renditionHost() const
static OdSmartPtr< OdTrVisExtensionObjectInvocation > createObject(OdTrVisViewportId viewportId=kTrVisNullId, OdTrVisOverlayId overlayId=kTrVisNullId)
virtual OdTrVisMetafileWritersPool & mfWritersPool()=0
virtual OdApcQueue & apcQueue()=0
virtual OdUInt32 extensionVersion() const
void setModuleVersion(OdUInt32 nVer)
virtual OdString moduleName() const
void setModuleName(const OdString &name)
virtual const OdTrVisExtensionModule * extensionModule() const
void setModuleVersion(OdUInt32 nVer)
OdTrVisExtensionObjectProxy()
virtual void deSerialize(OdStreamBuf *pDataStream)
void setObjectType(OdUInt32 nType)
virtual OdUInt32 moduleObjectType() const
static void copyStream(OdStreamBuf *pBufIn, OdStreamBuf *pBufOut)
OdStreamBuf * dataStreamForRead() const
virtual void serialize(OdStreamBuf *pDataStream) const
OdStreamBuf * dataStreamForWrite()
OdTrVisExtensionObjectProxy::ModuleProxy m_moduleProxy
void setModuleName(const OdString &name)
virtual bool isProxyObject() const
GLuint const GLchar * name
GLuint GLsizei GLsizei * length