CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
OdTrVisMetafilePlayback Class Reference

#include <TrVisMetafilePlayback.h>

Inheritance diagram for OdTrVisMetafilePlayback:
OdTrVisMetafileConveyorPlayback

Classes

struct  InprocRegisters
 

Public Types

enum  PlayType { kPlayTypeUndefined = 0 , kPlayForDisplaying , kPlayForSelection }
 
enum  PlayMode { kPlayModeUndefined = 0 , kPlayMode2d , kPlayMode3d }
 

Public Member Functions

 OdTrVisMetafilePlayback (OdTrVisMetafilePlaybackCallback *pCallback=NULL, PlayType playType=kPlayForSelection, bool bClientStream=false, PlayMode playMode=kPlayModeUndefined)
 
virtual ~OdTrVisMetafilePlayback ()
 
void setCallback (OdTrVisMetafilePlaybackCallback *pCallback)
 
OdTrVisMetafilePlaybackCallbackcallback () const
 
void setPlayType (PlayType playType)
 
PlayType playType () const
 
void setPlayMode (PlayMode playMode)
 
PlayMode playMode () const
 
void setFilterMetafile (OdTrVisMetafileId mfId)
 
void addFilterMetafile (OdTrVisMetafileId mfId)
 
void removeFilterMetafile (OdTrVisMetafileId mfId)
 
void setFilterMetafiles (const OdTrVisMetafileId *pMfIds, OdUInt32 nMfs)
 
void resetFilterMetafiles ()
 
bool hasFilterMetafiles () const
 
bool isMetafileFiltered (OdTrVisMetafileId mfId) const
 
bool play (const OdBaseMetafileContainer *pContainer, bool bCheckMarks=true, bool bHighlighted=false)
 

Protected Types

enum  ConfFlags {
  kIgnoreSelGeom = (1 << 0) , kIgnoreNonSelGeom = (1 << 1) , kClientStream = (1 << 2) , kIgnore2d = (1 << 3) ,
  kIgnore3d = (1 << 4)
}
 
typedef std::set< OdTrVisMetafileIdFilterMfsMap
 

Protected Member Functions

void annihilateInprocMarkers (InprocRegisters &inprocCtx, OdInt32 first, OdInt32 count)
 
bool canDrawablePerformSelectionItself (OdUInt64 *nMarkerBorder=NULL)
 
OdGsMarker getCurrentSelectionMarker ()
 

Protected Attributes

OdTrVisMetafilePlaybackCallbackm_pCallback
 
struct OdTrVisMetafilePlayback::InprocRegisters m_inprocContext
 
OdUInt32 m_configFlags
 
FilterMfsMap m_filterMfs
 
OdUInt64 m_nMarkerBorder
 

Friends

struct OdTrVisMetafilePlaybackMarkersIterator
 

Detailed Description

Library: Source code provided.

<group ExRender_Classes>

Definition at line 74 of file TrVisMetafilePlayback.h.

Member Typedef Documentation

◆ FilterMfsMap

Definition at line 127 of file TrVisMetafilePlayback.h.

Member Enumeration Documentation

◆ ConfFlags

Enumerator
kIgnoreSelGeom 
kIgnoreNonSelGeom 
kClientStream 
kIgnore2d 
kIgnore3d 

Definition at line 90 of file TrVisMetafilePlayback.h.

◆ PlayMode

Enumerator
kPlayModeUndefined 
kPlayMode2d 
kPlayMode3d 

Definition at line 83 of file TrVisMetafilePlayback.h.

◆ PlayType

Enumerator
kPlayTypeUndefined 
kPlayForDisplaying 
kPlayForSelection 

Definition at line 77 of file TrVisMetafilePlayback.h.

Constructor & Destructor Documentation

◆ OdTrVisMetafilePlayback()

OdTrVisMetafilePlayback::OdTrVisMetafilePlayback ( OdTrVisMetafilePlaybackCallback pCallback = NULL,
PlayType  playType = kPlayForSelection,
bool  bClientStream = false,
PlayMode  playMode = kPlayModeUndefined 
)
inline

Definition at line 132 of file TrVisMetafilePlayback.h.

◆ ~OdTrVisMetafilePlayback()

virtual OdTrVisMetafilePlayback::~OdTrVisMetafilePlayback ( )
inlinevirtual

Definition at line 138 of file TrVisMetafilePlayback.h.

Member Function Documentation

◆ addFilterMetafile()

void OdTrVisMetafilePlayback::addFilterMetafile ( OdTrVisMetafileId  mfId)
inline

Definition at line 180 of file TrVisMetafilePlayback.h.

◆ annihilateInprocMarkers()

void OdTrVisMetafilePlayback::annihilateInprocMarkers ( InprocRegisters inprocCtx,
OdInt32  first,
OdInt32  count 
)
protected

◆ callback()

OdTrVisMetafilePlaybackCallback * OdTrVisMetafilePlayback::callback ( ) const
inline

Definition at line 146 of file TrVisMetafilePlayback.h.

◆ canDrawablePerformSelectionItself()

bool OdTrVisMetafilePlayback::canDrawablePerformSelectionItself ( OdUInt64 nMarkerBorder = NULL)
protected

◆ getCurrentSelectionMarker()

OdGsMarker OdTrVisMetafilePlayback::getCurrentSelectionMarker ( )
protected

◆ hasFilterMetafiles()

bool OdTrVisMetafilePlayback::hasFilterMetafiles ( ) const
inline

Definition at line 187 of file TrVisMetafilePlayback.h.

◆ isMetafileFiltered()

bool OdTrVisMetafilePlayback::isMetafileFiltered ( OdTrVisMetafileId  mfId) const
inline

Definition at line 188 of file TrVisMetafilePlayback.h.

◆ play()

bool OdTrVisMetafilePlayback::play ( const OdBaseMetafileContainer *  pContainer,
bool  bCheckMarks = true,
bool  bHighlighted = false 
)

◆ playMode()

PlayMode OdTrVisMetafilePlayback::playMode ( ) const
inline

Definition at line 172 of file TrVisMetafilePlayback.h.

◆ playType()

PlayType OdTrVisMetafilePlayback::playType ( ) const
inline

Definition at line 159 of file TrVisMetafilePlayback.h.

◆ removeFilterMetafile()

void OdTrVisMetafilePlayback::removeFilterMetafile ( OdTrVisMetafileId  mfId)
inline

Definition at line 181 of file TrVisMetafilePlayback.h.

◆ resetFilterMetafiles()

void OdTrVisMetafilePlayback::resetFilterMetafiles ( )
inline

Definition at line 185 of file TrVisMetafilePlayback.h.

◆ setCallback()

void OdTrVisMetafilePlayback::setCallback ( OdTrVisMetafilePlaybackCallback pCallback)
inline

Definition at line 142 of file TrVisMetafilePlayback.h.

◆ setFilterMetafile()

void OdTrVisMetafilePlayback::setFilterMetafile ( OdTrVisMetafileId  mfId)
inline

Definition at line 179 of file TrVisMetafilePlayback.h.

◆ setFilterMetafiles()

void OdTrVisMetafilePlayback::setFilterMetafiles ( const OdTrVisMetafileId pMfIds,
OdUInt32  nMfs 
)
inline

Definition at line 183 of file TrVisMetafilePlayback.h.

◆ setPlayMode()

void OdTrVisMetafilePlayback::setPlayMode ( PlayMode  playMode)
inline

Definition at line 164 of file TrVisMetafilePlayback.h.

◆ setPlayType()

void OdTrVisMetafilePlayback::setPlayType ( PlayType  playType)
inline

Definition at line 151 of file TrVisMetafilePlayback.h.

Friends And Related Function Documentation

◆ OdTrVisMetafilePlaybackMarkersIterator

friend struct OdTrVisMetafilePlaybackMarkersIterator
friend

Definition at line 123 of file TrVisMetafilePlayback.h.

Member Data Documentation

◆ m_configFlags

OdUInt32 OdTrVisMetafilePlayback::m_configFlags
protected

Definition at line 125 of file TrVisMetafilePlayback.h.

◆ m_filterMfs

FilterMfsMap OdTrVisMetafilePlayback::m_filterMfs
protected

Definition at line 128 of file TrVisMetafilePlayback.h.

◆ m_inprocContext

struct OdTrVisMetafilePlayback::InprocRegisters OdTrVisMetafilePlayback::m_inprocContext
protected

◆ m_nMarkerBorder

OdUInt64 OdTrVisMetafilePlayback::m_nMarkerBorder
protected

Definition at line 130 of file TrVisMetafilePlayback.h.

◆ m_pCallback

OdTrVisMetafilePlaybackCallback* OdTrVisMetafilePlayback::m_pCallback
protected

Definition at line 100 of file TrVisMetafilePlayback.h.


The documentation for this class was generated from the following file: