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

PruneBlendShapeTargetsCommand is used to prune blend shape target deltas whose absolute magnitude is less than or equal to the specified threshold. More...

#include <PruneBlendShapeTargetsCommand.h>

Inheritance diagram for dnac::PruneBlendShapeTargetsCommand:
Inheritance graph
Collaboration diagram for dnac::PruneBlendShapeTargetsCommand:
Collaboration graph

Classes

class  Impl
 

Public Member Functions

DNACAPI PruneBlendShapeTargetsCommand (MemoryResource *memRes=nullptr)
 
DNACAPI PruneBlendShapeTargetsCommand (float threshold, MemoryResource *memRes=nullptr)
 
DNACAPI ~PruneBlendShapeTargetsCommand ()
 
 PruneBlendShapeTargetsCommand (const PruneBlendShapeTargetsCommand &)=delete
 
PruneBlendShapeTargetsCommandoperator= (const PruneBlendShapeTargetsCommand &)=delete
 
DNACAPI PruneBlendShapeTargetsCommand (PruneBlendShapeTargetsCommand &&)
 
DNACAPI PruneBlendShapeTargetsCommandoperator= (PruneBlendShapeTargetsCommand &&)
 
DNACAPI void setThreshold (float threshold)
 Method for setting the threshold for pruning blend shape target deltas. 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

PruneBlendShapeTargetsCommand is used to prune blend shape target deltas whose absolute magnitude is less than or equal to the specified threshold.

Constructor & Destructor Documentation

◆ PruneBlendShapeTargetsCommand() [1/4]

dnac::PruneBlendShapeTargetsCommand::PruneBlendShapeTargetsCommand ( MemoryResource memRes = nullptr)
explicit
35 : pImpl{makeScoped<Impl>(memRes)} {
36}
ScopedPtr< Impl > pImpl
Definition: PruneBlendShapeTargetsCommand.h:41

◆ PruneBlendShapeTargetsCommand() [2/4]

dnac::PruneBlendShapeTargetsCommand::PruneBlendShapeTargetsCommand ( float  threshold,
MemoryResource memRes = nullptr 
)
explicit
38 :
39 pImpl{makeScoped<Impl>(memRes)} {
40
41 pImpl->setThreshold(threshold);
42}

References pImpl.

◆ ~PruneBlendShapeTargetsCommand()

dnac::PruneBlendShapeTargetsCommand::~PruneBlendShapeTargetsCommand ( )
default

◆ PruneBlendShapeTargetsCommand() [3/4]

dnac::PruneBlendShapeTargetsCommand::PruneBlendShapeTargetsCommand ( const PruneBlendShapeTargetsCommand )
delete

◆ PruneBlendShapeTargetsCommand() [4/4]

dnac::PruneBlendShapeTargetsCommand::PruneBlendShapeTargetsCommand ( PruneBlendShapeTargetsCommand &&  )
default

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ run()

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

Implements dnac::Command.

52 {
53 pImpl->run(static_cast<DNACalibDNAReaderImpl*>(output));
54}

References pImpl.

◆ setThreshold()

void dnac::PruneBlendShapeTargetsCommand::setThreshold ( float  threshold)

Method for setting the threshold for pruning blend shape target deltas.

Parameters
thresholdThe threshold to use.
48 {
49 pImpl->setThreshold(threshold);
50}

References pImpl.

Member Data Documentation

◆ pImpl

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

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