Assimp  v4.1. (December 2018)
Assimp::ScaleProcess Class Reference

ScaleProcess: Class to rescale the whole model. More...

Inherits Assimp::BaseProcess.

Public Member Functions

virtual void Execute (aiScene *pScene)
 Overwritten,. More...
 
ai_real getScale () const
 Returns the current scaling value. More...
 
virtual bool IsActive (unsigned int pFlags) const
 Overwritten,. More...
 
 ScaleProcess ()
 The default class constructor. More...
 
void setScale (ai_real scale)
 Will set the scale manually. More...
 
virtual void SetupProperties (const Importer *pImp)
 Overwritten,. More...
 
virtual ~ScaleProcess ()
 The class destructor. More...
 
- Public Member Functions inherited from Assimp::BaseProcess
 BaseProcess ()
 Constructor to be privately used by Importer. More...
 
void ExecuteOnScene (Importer *pImp)
 Executes the post processing step on the given imported data. More...
 
SharedPostProcessInfoGetSharedData ()
 Get the shared data that is assigned to the step. More...
 
virtual bool RequireVerboseFormat () const
 Check whether this step expects its input vertex data to be in verbose format. More...
 
void SetSharedData (SharedPostProcessInfo *sh)
 Assign a new SharedPostProcessInfo to the step. More...
 
virtual ~BaseProcess ()
 Destructor, private as well. More...
 

Additional Inherited Members

- Protected Attributes inherited from Assimp::BaseProcess
ProgressHandlerprogress
 Currently active progress handler. More...
 
SharedPostProcessInfoshared
 See the doc of #SharedPostProcessInfo for more details. More...
 

Detailed Description

ScaleProcess: Class to rescale the whole model.

Constructor & Destructor Documentation

◆ ScaleProcess()

Assimp::ScaleProcess::ScaleProcess ( )

The default class constructor.

◆ ~ScaleProcess()

Assimp::ScaleProcess::~ScaleProcess ( )
virtual

The class destructor.

Member Function Documentation

◆ Execute()

void Assimp::ScaleProcess::Execute ( aiScene pScene)
virtual

Overwritten,.

See also
BaseProcess

Implements Assimp::BaseProcess.

◆ getScale()

ai_real Assimp::ScaleProcess::getScale ( ) const

Returns the current scaling value.

◆ IsActive()

bool Assimp::ScaleProcess::IsActive ( unsigned int  pFlags) const
virtual

Overwritten,.

See also
BaseProcess

Implements Assimp::BaseProcess.

◆ setScale()

void Assimp::ScaleProcess::setScale ( ai_real  scale)

Will set the scale manually.

◆ SetupProperties()

void Assimp::ScaleProcess::SetupProperties ( const Importer pImp)
virtual

Overwritten,.

See also
BaseProcess

Reimplemented from Assimp::BaseProcess.


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