TransformationResultValuesBlock.h
1 //##################################################################################################
2 //
3 // Ceetron Export
4 // Component: VTFx
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2015, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 #pragma once
14 
15 #include "CeeCore/Mat4d.h"
16 #include "CeeVTFx/Base.h"
17 #include "CeeVTFx/Block.h"
18 
19 #include <vector>
20 
21 class VTFxTransformationResultValuesBlock;
22 
23 namespace cee {
24 namespace vtfx {
25 
26 //=================================================================================================================================
27 //
28 //
29 //
30 //=================================================================================================================================
31 class CEE_VTFX_EXPORT TransformationResultValuesBlock : public Block
32 {
33 public:
36 
37  int mapToBlockId(BlockType* blockType) const;
38  bool setMapToBlockId(int blockId, Block::BlockType blockType);
39 
40  Mat4d matrix() const;
41  void setMatrix(const Mat4d& matrix);
42 
43  bool checkValidity() const;
44 
45 private:
46  TransformationResultValuesBlock(VTFxTransformationResultValuesBlock* block, int blockId);
47  VTFxBlock* internal_vtfxBlock() const;
48 
49 private:
50  friend class DatabasePrivate;
51 
52  CEE_PRIVATE_IMPL(TransformationResultValuesBlock);
53  CEE_DISALLOW_COPY_AND_ASSIGN(TransformationResultValuesBlock);
54 };
55 
56 }
57 }
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppAssert.cpp:18
BlockType
Global block type constants used by Ceetron Export. Normally users do not need these, except for some methods of TransformationResultValuesBlock.
Definition: Block.h:35
A block for a rigid body transformation matrix.
Definition: TransformationResultValuesBlock.h:31
Abstract base class for all VTFx blocks.
Definition: Block.h:29
4 dimensional matrix.
Definition: Mat4d.h:26