3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
DrawStreamData Class Reference

Drawable objects, for 3D decoration. More...

#include <filter.h>

Inheritance diagram for DrawStreamData:
Inheritance graph
[legend]
Collaboration diagram for DrawStreamData:
Collaboration graph
[legend]

Public Member Functions

 DrawStreamData ()
 constructor More...
 
 DrawStreamData (const Filter *f)
 
 ~DrawStreamData ()
 Destructor. More...
 
size_t getNumBasicObjects () const
 Returns 0, as this does not store basic object types – i.e. is not for data storage per se. More...
 
void clear ()
 Erase the drawing vector, deleting its components. More...
 
- Public Member Functions inherited from FilterStreamData
 FilterStreamData ()
 
 FilterStreamData (const Filter *)
 
virtual ~FilterStreamData ()
 
virtual unsigned int getStreamType () const
 Returns an integer unique to the class to identify type (yes rttid...) More...
 

Public Attributes

std::vector< DrawableObj * > drawables
 Vector of 3D objects to draw. More...
 
- Public Attributes inherited from FilterStreamData
const Filterparent
 Parent filter pointer. More...
 
unsigned int cached
 Tells us if the filter has cached this data for later use. More...
 

Additional Inherited Members

- Protected Attributes inherited from FilterStreamData
unsigned int streamType
 

Detailed Description

Drawable objects, for 3D decoration.

Constructor & Destructor Documentation

◆ DrawStreamData() [1/2]

DrawStreamData::DrawStreamData ( )
inline

constructor

References STREAM_TYPE_DRAW, and FilterStreamData::streamType.

◆ DrawStreamData() [2/2]

DrawStreamData::DrawStreamData ( const Filter f)
inline

◆ ~DrawStreamData()

DrawStreamData::~DrawStreamData ( )

Destructor.

References ASSERT.

Member Function Documentation

◆ clear()

void DrawStreamData::clear ( )
virtual

Erase the drawing vector, deleting its components.

Implements FilterStreamData.

◆ getNumBasicObjects()

size_t DrawStreamData::getNumBasicObjects ( ) const
inlinevirtual

Returns 0, as this does not store basic object types – i.e. is not for data storage per se.

Implements FilterStreamData.

References FilterStreamData::clear().

Member Data Documentation

◆ drawables

std::vector<DrawableObj *> DrawStreamData::drawables

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