OpenCOVER
vruiTransformNode.h
Go to the documentation of this file.
1/* This file is part of COVISE.
2
3 You can use it under the terms of the GNU Lesser General Public License
4 version 2.1 or later, see lgpl-2.1.txt.
5
6 * License: LGPL 2+ */
7
8#ifndef VRUI_TRANSFORMNODE_H
9#define VRUI_TRANSFORMNODE_H
10
13
14namespace vrui
15{
16
17class OPENVRUIEXPORT vruiTransformNode : public virtual vruiNode
18{
19
20public:
22 {
23 }
25
26 virtual void setScale(float scale) = 0;
27 virtual void setScale(float scaleX, float scaleY, float scaleZ) = 0;
28 virtual void setTranslation(float x, float y, float z) = 0;
29 virtual void setRotation(float x, float y, float z, float angle) = 0;
30
31 virtual vruiMatrix *getMatrix() = 0;
32 virtual void setMatrix(vruiMatrix *matrix) = 0;
33};
34}
35#endif
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: vruiMatrix.h:20
Definition: vruiNode.h:22
Definition: vruiTransformNode.h:18
virtual void setScale(float scale)=0
virtual void setScale(float scaleX, float scaleY, float scaleZ)=0
vruiTransformNode()
Definition: vruiTransformNode.h:21
virtual vruiMatrix * getMatrix()=0
virtual void setMatrix(vruiMatrix *matrix)=0
virtual void setRotation(float x, float y, float z, float angle)=0
virtual void setTranslation(float x, float y, float z)=0