VTK
9.7.20260911
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Rendering
Core
vtkAvatar.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
13
14
#ifndef vtkAvatar_h
15
#define vtkAvatar_h
16
17
#include "
vtkActor.h
"
18
#include "vtkRenderingCoreModule.h"
// For export macro
19
#include "
vtkWrappingHints.h
"
// For VTK_MARSHALAUTO
20
21
VTK_ABI_NAMESPACE_BEGIN
22
class
VTKRENDERINGCORE_EXPORT
VTK_MARSHALAUTO
vtkAvatar
:
public
vtkActor
23
{
24
public
:
25
static
vtkAvatar
*
New
();
26
vtkTypeMacro(
vtkAvatar
,
vtkActor
);
27
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
28
32
vtkGetVector3Macro(
HeadPosition
,
double
);
33
vtkSetVector3Macro(
HeadPosition
,
double
);
34
vtkGetVector3Macro(
HeadOrientation
,
double
);
35
vtkSetVector3Macro(
HeadOrientation
,
double
);
36
37
vtkGetVector3Macro(
LeftHandPosition
,
double
);
38
vtkSetVector3Macro(
LeftHandPosition
,
double
);
39
vtkGetVector3Macro(
LeftHandOrientation
,
double
);
40
vtkSetVector3Macro(
LeftHandOrientation
,
double
);
41
42
vtkGetVector3Macro(
RightHandPosition
,
double
);
43
vtkSetVector3Macro(
RightHandPosition
,
double
);
44
vtkGetVector3Macro(
RightHandOrientation
,
double
);
45
vtkSetVector3Macro(
RightHandOrientation
,
double
);
46
50
vtkGetVector3Macro(
UpVector
,
double
);
51
vtkSetVector3Macro(
UpVector
,
double
);
52
54
59
vtkSetMacro(
UseLeftHand
,
bool
);
60
vtkGetMacro(
UseLeftHand
,
bool
);
61
vtkBooleanMacro(
UseLeftHand
,
bool
);
62
vtkSetMacro(
UseRightHand
,
bool
);
63
vtkGetMacro(
UseRightHand
,
bool
);
64
vtkBooleanMacro(
UseRightHand
,
bool
);
66
68
71
vtkSetMacro(
ShowHandsOnly
,
bool
);
72
vtkGetMacro(
ShowHandsOnly
,
bool
);
73
vtkBooleanMacro(
ShowHandsOnly
,
bool
);
75
76
protected
:
77
vtkAvatar
();
78
~vtkAvatar
()
override
;
79
80
double
HeadPosition
[3];
81
double
HeadOrientation
[3];
82
double
LeftHandPosition
[3];
83
double
LeftHandOrientation
[3];
84
double
RightHandPosition
[3];
85
double
RightHandOrientation
[3];
86
enum
87
{
88
TORSO
,
89
LEFT_FORE
,
90
RIGHT_FORE
,
91
LEFT_UPPER
,
92
RIGHT_UPPER
,
93
NUM_BODY
,
94
};
95
double
BodyPosition
[
NUM_BODY
][3];
96
double
BodyOrientation
[
NUM_BODY
][3];
97
98
double
UpVector
[3];
99
100
bool
UseLeftHand
;
101
bool
UseRightHand
;
102
bool
ShowHandsOnly
;
103
104
private
:
105
vtkAvatar
(
const
vtkAvatar
&) =
delete
;
106
void
operator=(
const
vtkAvatar
&) =
delete
;
107
};
108
109
VTK_ABI_NAMESPACE_END
110
#endif
// vtkAvatar_h
vtkActor::vtkActor
vtkActor()
vtkAvatar::LeftHandOrientation
double LeftHandOrientation[3]
Definition
vtkAvatar.h:83
vtkAvatar::LeftHandPosition
double LeftHandPosition[3]
Definition
vtkAvatar.h:82
vtkAvatar::BodyOrientation
double BodyOrientation[NUM_BODY][3]
Definition
vtkAvatar.h:96
vtkAvatar::RightHandPosition
double RightHandPosition[3]
Definition
vtkAvatar.h:84
vtkAvatar::ShowHandsOnly
bool ShowHandsOnly
Definition
vtkAvatar.h:102
vtkAvatar::HeadOrientation
double HeadOrientation[3]
Definition
vtkAvatar.h:81
vtkAvatar::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAvatar::~vtkAvatar
~vtkAvatar() override
vtkAvatar::LEFT_FORE
@ LEFT_FORE
Definition
vtkAvatar.h:89
vtkAvatar::NUM_BODY
@ NUM_BODY
Definition
vtkAvatar.h:93
vtkAvatar::TORSO
@ TORSO
Definition
vtkAvatar.h:88
vtkAvatar::RIGHT_FORE
@ RIGHT_FORE
Definition
vtkAvatar.h:90
vtkAvatar::LEFT_UPPER
@ LEFT_UPPER
Definition
vtkAvatar.h:91
vtkAvatar::RIGHT_UPPER
@ RIGHT_UPPER
Definition
vtkAvatar.h:92
vtkAvatar::UpVector
double UpVector[3]
Definition
vtkAvatar.h:98
vtkAvatar::HeadPosition
double HeadPosition[3]
Definition
vtkAvatar.h:80
vtkAvatar::BodyPosition
double BodyPosition[NUM_BODY][3]
Definition
vtkAvatar.h:95
vtkAvatar::RightHandOrientation
double RightHandOrientation[3]
Definition
vtkAvatar.h:85
vtkAvatar::UseRightHand
bool UseRightHand
Definition
vtkAvatar.h:101
vtkAvatar::vtkAvatar
vtkAvatar()
vtkAvatar::New
static vtkAvatar * New()
vtkAvatar::UseLeftHand
bool UseLeftHand
Definition
vtkAvatar.h:100
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkActor.h
vtkWrappingHints.h
VTK_MARSHALAUTO
#define VTK_MARSHALAUTO
Definition
vtkWrappingHints.h:78
Generated on
for VTK by
1.16.1