DNA Calib 1.1
Project brief
RemoveBlendShapeCommand.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 RemoveBlendShapeCommand(MemoryResource* memRes = nullptr);
21 DNACAPI RemoveBlendShapeCommand(std::uint16_t blendShapeIndex, MemoryResource* memRes = nullptr);
23
25
28
31
38 DNACAPI void setBlendShapeIndex(std::uint16_t blendShapeIndex);
46 DNACAPI void run(DNACalibDNAReader* output) override;
47
48 private:
49 class Impl;
51
52};
53
54} // 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: RemoveBlendShapeCommand.cpp:12
RemoveBlendShapeCommand is used to remove blend shapes.
Definition: RemoveBlendShapeCommand.h:18
ScopedPtr< Impl > pImpl
Definition: RemoveBlendShapeCommand.h:50
RemoveBlendShapeCommand & operator=(const RemoveBlendShapeCommand &)=delete
DNACAPI void setBlendShapeIndices(ConstArrayView< std::uint16_t > blendShapeIndices)
Method for setting the indices of blend shapes to remove.
Definition: RemoveBlendShapeCommand.cpp:63
RemoveBlendShapeCommand(const RemoveBlendShapeCommand &)=delete
DNACAPI void setBlendShapeIndex(std::uint16_t blendShapeIndex)
Method for setting the index of the blend shape to remove.
Definition: RemoveBlendShapeCommand.cpp:59
DNACAPI void run(DNACalibDNAReader *output) override
Definition: RemoveBlendShapeCommand.cpp:67
DNACAPI RemoveBlendShapeCommand(RemoveBlendShapeCommand &&)
DNACAPI RemoveBlendShapeCommand & operator=(RemoveBlendShapeCommand &&)
DNACAPI RemoveBlendShapeCommand(MemoryResource *memRes=nullptr)
Definition: RemoveBlendShapeCommand.cpp:40
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
A view over a continuous sequence of objects.
Definition: ArrayView.h:55
#define DNACAPI
Definition: dnacalib/Defs.h:26
Definition: Command.h:8