DNA Calib 1.1
Project brief
PruneBlendShapeTargetsCommand.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "dnacalib/Command.h"
6#include "dnacalib/Defs.h"
8
9#include <cstdint>
10
11namespace dnac {
12
13class DNACalibDNAReader;
14
19 public:
20 DNACAPI explicit PruneBlendShapeTargetsCommand(MemoryResource* memRes = nullptr);
21 DNACAPI explicit PruneBlendShapeTargetsCommand(float threshold, MemoryResource* memRes = nullptr);
22
24
27
30
36 DNACAPI void setThreshold(float threshold);
37 DNACAPI void run(DNACalibDNAReader* output) override;
38
39 private:
40 class Impl;
42
43};
44
45} // namespace dnac
Command is an abstract class whose implementations are expected to modify the DNA provided in the run...
Definition: Command.h:15
Definition: DNACalibDNAReader.h:12
Definition: PruneBlendShapeTargetsCommand.cpp:12
PruneBlendShapeTargetsCommand is used to prune blend shape target deltas whose absolute magnitude is ...
Definition: PruneBlendShapeTargetsCommand.h:18
ScopedPtr< Impl > pImpl
Definition: PruneBlendShapeTargetsCommand.h:41
DNACAPI PruneBlendShapeTargetsCommand(MemoryResource *memRes=nullptr)
Definition: PruneBlendShapeTargetsCommand.cpp:35
DNACAPI void run(DNACalibDNAReader *output) override
Definition: PruneBlendShapeTargetsCommand.cpp:52
PruneBlendShapeTargetsCommand(const PruneBlendShapeTargetsCommand &)=delete
DNACAPI void setThreshold(float threshold)
Method for setting the threshold for pruning blend shape target deltas.
Definition: PruneBlendShapeTargetsCommand.cpp:48
DNACAPI PruneBlendShapeTargetsCommand & operator=(PruneBlendShapeTargetsCommand &&)
DNACAPI PruneBlendShapeTargetsCommand(PruneBlendShapeTargetsCommand &&)
PruneBlendShapeTargetsCommand & operator=(const PruneBlendShapeTargetsCommand &)=delete
MemoryResource is an abstract class that allows the implementation of polymorphic allocators.
Definition: MemoryResource.h:17
Takes ownership over the given pointer and handles it's lifetime.
Definition: ScopedPtr.h:116
#define DNACAPI
Definition: dnacalib/Defs.h:26
Definition: Command.h:8