Walls And Holes  1
M2M::PreObject Class Reference

#include <m2mpartialmesh.h>

Public Member Functions

 PreObject (ImageInfo img)
 Creates the PreObject with the given texture image. More...
 
void addQuad (const Quad &q)
 Adds the quad to this object, but does not change this object's texture image. More...
 
void addTrig (const Trig &t)
 
void addPreObject (const PreObject &o)
 
QSharedPointer< SimpleTexturedObjecttoObject () const
 Compiles this PreObject into a SimpleTexturedObject. More...
 
ImageInfo imageInfo () const
 

Detailed Description

Struct that holds SimpleTexturedObject information. This exists because SimpleTexturedObject is not made for partial construction.

Constructor & Destructor Documentation

◆ PreObject()

PreObject::PreObject ( ImageInfo  img)

Creates the PreObject with the given texture image.

Member Function Documentation

◆ addPreObject()

void PreObject::addPreObject ( const PreObject o)
Here is the call graph for this function:

◆ addQuad()

void PreObject::addQuad ( const Quad q)

Adds the quad to this object, but does not change this object's texture image.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addTrig()

void PreObject::addTrig ( const Trig t)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ imageInfo()

ImageInfo M2M::PreObject::imageInfo ( ) const
inline

◆ toObject()

QSharedPointer< SimpleTexturedObject > PreObject::toObject ( ) const

Compiles this PreObject into a SimpleTexturedObject.


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