VTK
9.2.6
Rendering
Core
vtkAvatar.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkAvatar.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
25
26
#ifndef vtkAvatar_h
27
#define vtkAvatar_h
28
29
#include "
vtkActor.h
"
30
#include "vtkRenderingCoreModule.h"
// For export macro
31
32
class
VTKRENDERINGCORE_EXPORT
vtkAvatar
:
public
vtkActor
33
{
34
public
:
35
static
vtkAvatar
*
New
();
36
vtkTypeMacro(
vtkAvatar
,
vtkActor
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
38
42
vtkGetVector3Macro(
HeadPosition
,
double
);
43
vtkSetVector3Macro(
HeadPosition
,
double
);
44
vtkGetVector3Macro(
HeadOrientation
,
double
);
45
vtkSetVector3Macro(
HeadOrientation
,
double
);
46
47
vtkGetVector3Macro(
LeftHandPosition
,
double
);
48
vtkSetVector3Macro(
LeftHandPosition
,
double
);
49
vtkGetVector3Macro(
LeftHandOrientation
,
double
);
50
vtkSetVector3Macro(
LeftHandOrientation
,
double
);
51
52
vtkGetVector3Macro(
RightHandPosition
,
double
);
53
vtkSetVector3Macro(
RightHandPosition
,
double
);
54
vtkGetVector3Macro(
RightHandOrientation
,
double
);
55
vtkSetVector3Macro(
RightHandOrientation
,
double
);
56
60
vtkGetVector3Macro(
UpVector
,
double
);
61
vtkSetVector3Macro(
UpVector
,
double
);
62
64
69
vtkSetMacro(
UseLeftHand
,
bool
);
70
vtkGetMacro(
UseLeftHand
,
bool
);
71
vtkBooleanMacro(
UseLeftHand
,
bool
);
72
vtkSetMacro(
UseRightHand
,
bool
);
73
vtkGetMacro(
UseRightHand
,
bool
);
74
vtkBooleanMacro(
UseRightHand
,
bool
);
76
78
81
vtkSetMacro(
ShowHandsOnly
,
bool
);
82
vtkGetMacro(
ShowHandsOnly
,
bool
);
83
vtkBooleanMacro(
ShowHandsOnly
,
bool
);
85
86
protected
:
87
vtkAvatar
();
88
~vtkAvatar
()
override
;
89
90
double
HeadPosition
[3];
91
double
HeadOrientation
[3];
92
double
LeftHandPosition
[3];
93
double
LeftHandOrientation
[3];
94
double
RightHandPosition
[3];
95
double
RightHandOrientation
[3];
96
enum
97
{
98
TORSO
,
99
LEFT_FORE
,
100
RIGHT_FORE
,
101
LEFT_UPPER
,
102
RIGHT_UPPER
,
103
NUM_BODY
,
104
};
105
double
BodyPosition
[
NUM_BODY
][3];
106
double
BodyOrientation
[
NUM_BODY
][3];
107
108
double
UpVector
[3];
109
110
bool
UseLeftHand
;
111
bool
UseRightHand
;
112
bool
ShowHandsOnly
;
113
114
private
:
115
vtkAvatar
(
const
vtkAvatar
&) =
delete
;
116
void
operator=(
const
vtkAvatar
&) =
delete
;
117
};
118
119
#endif
// vtkAvatar_h
vtkActor::vtkActor
vtkActor()
vtkAvatar::LeftHandOrientation
double LeftHandOrientation[3]
Definition
vtkAvatar.h:93
vtkAvatar::LeftHandPosition
double LeftHandPosition[3]
Definition
vtkAvatar.h:92
vtkAvatar::BodyOrientation
double BodyOrientation[NUM_BODY][3]
Definition
vtkAvatar.h:106
vtkAvatar::RightHandPosition
double RightHandPosition[3]
Definition
vtkAvatar.h:94
vtkAvatar::ShowHandsOnly
bool ShowHandsOnly
Definition
vtkAvatar.h:112
vtkAvatar::HeadOrientation
double HeadOrientation[3]
Definition
vtkAvatar.h:91
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:99
vtkAvatar::NUM_BODY
@ NUM_BODY
Definition
vtkAvatar.h:103
vtkAvatar::TORSO
@ TORSO
Definition
vtkAvatar.h:98
vtkAvatar::RIGHT_FORE
@ RIGHT_FORE
Definition
vtkAvatar.h:100
vtkAvatar::LEFT_UPPER
@ LEFT_UPPER
Definition
vtkAvatar.h:101
vtkAvatar::RIGHT_UPPER
@ RIGHT_UPPER
Definition
vtkAvatar.h:102
vtkAvatar::UpVector
double UpVector[3]
Definition
vtkAvatar.h:108
vtkAvatar::HeadPosition
double HeadPosition[3]
Definition
vtkAvatar.h:90
vtkAvatar::BodyPosition
double BodyPosition[NUM_BODY][3]
Definition
vtkAvatar.h:105
vtkAvatar::RightHandOrientation
double RightHandOrientation[3]
Definition
vtkAvatar.h:95
vtkAvatar::UseRightHand
bool UseRightHand
Definition
vtkAvatar.h:111
vtkAvatar::vtkAvatar
vtkAvatar()
vtkAvatar::New
static vtkAvatar * New()
vtkAvatar::UseLeftHand
bool UseLeftHand
Definition
vtkAvatar.h:110
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkActor.h
Generated on Fri Jan 24 2025 00:00:00 for VTK by
1.13.2