DNA Calib 1.1
Project brief
Classes | Public Member Functions | Private Attributes | List of all members
dnac::CalculateMeshLowerLODsCommand Class Reference

CalculateMeshLowerLODsCommand is used to recalculate vertex positions for lower LOD meshes of the specified mesh. More...

#include <CalculateMeshLowerLODsCommand.h>

Inheritance diagram for dnac::CalculateMeshLowerLODsCommand:
Inheritance graph
Collaboration diagram for dnac::CalculateMeshLowerLODsCommand:
Collaboration graph

Classes

class  Impl
 

Public Member Functions

DNACAPI CalculateMeshLowerLODsCommand (MemoryResource *memRes=nullptr)
 
DNACAPI CalculateMeshLowerLODsCommand (std::uint16_t meshIndex, MemoryResource *memRes=nullptr)
 
DNACAPI ~CalculateMeshLowerLODsCommand ()
 
 CalculateMeshLowerLODsCommand (const CalculateMeshLowerLODsCommand &)=delete
 
CalculateMeshLowerLODsCommandoperator= (const CalculateMeshLowerLODsCommand &)=delete
 
DNACAPI CalculateMeshLowerLODsCommand (CalculateMeshLowerLODsCommand &&)
 
DNACAPI CalculateMeshLowerLODsCommandoperator= (CalculateMeshLowerLODsCommand &&)
 
DNACAPI void setMeshIndex (std::uint16_t meshIndex)
 Method for setting the index of the mesh to calculate lower LOD meshes from. More...
 
DNACAPI void run (DNACalibDNAReader *output) override
 
- Public Member Functions inherited from dnac::Command
virtual ~Command ()
 
virtual void run (DNACalibDNAReader *output)=0
 

Private Attributes

ScopedPtr< ImplpImpl
 

Detailed Description

CalculateMeshLowerLODsCommand is used to recalculate vertex positions for lower LOD meshes of the specified mesh.

Note
The calculation is done based on vertex positions of the specified mesh and vertex texture coordinates of its lower LOD meshes.

Constructor & Destructor Documentation

◆ CalculateMeshLowerLODsCommand() [1/4]

dnac::CalculateMeshLowerLODsCommand::CalculateMeshLowerLODsCommand ( MemoryResource memRes = nullptr)
explicit
126 : pImpl{makeScoped<Impl>(memRes)} {
127}
ScopedPtr< Impl > pImpl
Definition: CalculateMeshLowerLODsCommand.h:43

◆ CalculateMeshLowerLODsCommand() [2/4]

dnac::CalculateMeshLowerLODsCommand::CalculateMeshLowerLODsCommand ( std::uint16_t  meshIndex,
MemoryResource memRes = nullptr 
)
explicit
129 :
130 pImpl{makeScoped<Impl>(memRes)} {
131
132 pImpl->setMeshIndex(meshIndex);
133}

References pImpl.

◆ ~CalculateMeshLowerLODsCommand()

dnac::CalculateMeshLowerLODsCommand::~CalculateMeshLowerLODsCommand ( )
default

◆ CalculateMeshLowerLODsCommand() [3/4]

dnac::CalculateMeshLowerLODsCommand::CalculateMeshLowerLODsCommand ( const CalculateMeshLowerLODsCommand )
delete

◆ CalculateMeshLowerLODsCommand() [4/4]

dnac::CalculateMeshLowerLODsCommand::CalculateMeshLowerLODsCommand ( CalculateMeshLowerLODsCommand &&  )
default

Member Function Documentation

◆ operator=() [1/2]

CalculateMeshLowerLODsCommand & dnac::CalculateMeshLowerLODsCommand::operator= ( CalculateMeshLowerLODsCommand &&  )
default

◆ operator=() [2/2]

CalculateMeshLowerLODsCommand & dnac::CalculateMeshLowerLODsCommand::operator= ( const CalculateMeshLowerLODsCommand )
delete

◆ run()

void dnac::CalculateMeshLowerLODsCommand::run ( DNACalibDNAReader output)
overridevirtual

Implements dnac::Command.

143 {
144 pImpl->run(static_cast<DNACalibDNAReaderImpl*>(output));
145}

References pImpl.

◆ setMeshIndex()

void dnac::CalculateMeshLowerLODsCommand::setMeshIndex ( std::uint16_t  meshIndex)

Method for setting the index of the mesh to calculate lower LOD meshes from.

Parameters
meshIndexThe index of the mesh.
139 {
140 pImpl->setMeshIndex(meshIndex);
141}

References pImpl.

Member Data Documentation

◆ pImpl

ScopedPtr<Impl> dnac::CalculateMeshLowerLODsCommand::pImpl
private

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