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

SetLODsCommand is used to specify LODs to use. Joints, blend shapes, animated maps and meshes that are not in specified LODs are removed from the DNA. More...

#include <SetLODsCommand.h>

Inheritance diagram for dnac::SetLODsCommand:
Inheritance graph
Collaboration diagram for dnac::SetLODsCommand:
Collaboration graph

Classes

class  Impl
 

Public Member Functions

DNACAPI SetLODsCommand (MemoryResource *memRes=nullptr)
 
DNACAPI SetLODsCommand (ConstArrayView< std::uint16_t > lods, MemoryResource *memRes=nullptr)
 
DNACAPI ~SetLODsCommand ()
 
 SetLODsCommand (const SetLODsCommand &)=delete
 
SetLODsCommandoperator= (const SetLODsCommand &)=delete
 
DNACAPI SetLODsCommand (SetLODsCommand &&)
 
DNACAPI SetLODsCommandoperator= (SetLODsCommand &&)
 
DNACAPI void setLODs (ConstArrayView< std::uint16_t > lods)
 Method for setting the LODs to keep. 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

SetLODsCommand is used to specify LODs to use. Joints, blend shapes, animated maps and meshes that are not in specified LODs are removed from the DNA.

Constructor & Destructor Documentation

◆ SetLODsCommand() [1/4]

dnac::SetLODsCommand::SetLODsCommand ( MemoryResource memRes = nullptr)
explicit
46 : pImpl{makeScoped<Impl>(memRes)} {
47}
ScopedPtr< Impl > pImpl
Definition: SetLODsCommand.h:41

◆ SetLODsCommand() [2/4]

dnac::SetLODsCommand::SetLODsCommand ( ConstArrayView< std::uint16_t >  lods,
MemoryResource memRes = nullptr 
)
49 :
50 pImpl{makeScoped<Impl>(memRes)} {
51
52 pImpl->setLODs(lods);
53}

References pImpl.

◆ ~SetLODsCommand()

dnac::SetLODsCommand::~SetLODsCommand ( )
default

◆ SetLODsCommand() [3/4]

dnac::SetLODsCommand::SetLODsCommand ( const SetLODsCommand )
delete

◆ SetLODsCommand() [4/4]

dnac::SetLODsCommand::SetLODsCommand ( SetLODsCommand &&  )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ run()

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

Implements dnac::Command.

63 {
64 pImpl->run(static_cast<DNACalibDNAReaderImpl*>(output));
65}

References pImpl.

◆ setLODs()

void dnac::SetLODsCommand::setLODs ( ConstArrayView< std::uint16_t >  lods)

Method for setting the LODs to keep.

Parameters
lodsNew LODs to be used.
59 {
60 pImpl->setLODs(lods);
61}

References pImpl.

Member Data Documentation

◆ pImpl

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

Referenced by run(), setLODs(), and SetLODsCommand().


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