| http://www.sim.no/ http://www.coin3d.org/

SoTransformVec3f.h
1 /**************************************************************************\
2 *
3 * This file is part of the Coin 3D visualization library.
4 * Copyright (C) by Kongsberg Oil & Gas Technologies.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * ("GPL") version 2 as published by the Free Software Foundation.
9 * See the file LICENSE.GPL at the root directory of this source
10 * distribution for additional information about the GNU GPL.
11 *
12 * For using Coin with software that can not be combined with the GNU
13 * GPL, and for taking advantage of the additional benefits of our
14 * support services, please contact Kongsberg Oil & Gas Technologies
15 * about acquiring a Coin Professional Edition License.
16 *
17 * See http://www.coin3d.org/ for more information.
18 *
19 * Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
20 * http://www.sim.no/ sales@sim.no coin-support@coin3d.org
21 *
22 \**************************************************************************/
23
24 #ifndef COIN_SOTRANSFORMVEC3F_H
25 #define COIN_SOTRANSFORMVEC3F_H
26
27 #include <Inventor/engines/SoSubEngine.h>
28 #include <Inventor/engines/SoEngineOutput.h>
29 #include <Inventor/fields/SoMFVec3f.h>
30 #include <Inventor/fields/SoMFMatrix.h>
31
32 class COIN_DLL_API SoTransformVec3f : public SoEngine {
33 typedef SoEngine inherited;
34
35 SO_ENGINE_HEADER(SoTransformVec3f);
36
37 public:
38 static void initClass(void);
39 SoTransformVec3f(void);
40
41 SoMFVec3f vector;
42 SoMFMatrix matrix;
43
44 SoEngineOutput point; // SoMFVec3f
45 SoEngineOutput direction; // SoMFVec3f
46 SoEngineOutput normalDirection; // SoMFVec3f
47
48 protected:
49 virtual ~SoTransformVec3f(void);
50
51 private:
52 virtual void evaluate(void);
53 };
54
55 #endif // !COIN_SOTRANSFORMVEC3F_H
SoTransformVec3f::point
SoEngineOutput point
Definition: SoTransformVec3f.h:44
SoEngine
SoEngine is the base class for Coin engines.Engines enables the application programmers to make compl...
Definition: SoEngine.h:34
SoFieldContainer
The SoFieldContainer class is a base class for all classes that contain fields.The classes containing...
Definition: SoFieldContainer.h:34
SoTransformVec3f::matrix
SoMFMatrix matrix
Definition: SoTransformVec3f.h:42
SoTransformVec3f::direction
SoEngineOutput direction
Definition: SoTransformVec3f.h:45
SoEngineOutput
The SoEngineOutput class is the output slots in SoEngine instances.SoEngineOutput has methods for con...
Definition: SoEngineOutput.h:36
SoMFMatrix
The SoMFMatrix class is a container for SbMatrix values.This field is used where nodes, engines or other field containers needs to store matrices.
Definition: SoMFMatrix.h:31
SoEngine::evaluate
virtual void evaluate(void)=0
SoTransformVec3f::vector
SoMFVec3f vector
Definition: SoTransformVec3f.h:41
SoMFVec3f
The SoMFVec3f class is a container for SbVec3f vectors.This field is used where nodes, engines or other field containers needs to store an array of vectors with three elements.
Definition: SoMFVec3f.h:31
SoTransformVec3f
The SoTransformVec3f class transforms 3D vectors by a matrix.
Definition: SoTransformVec3f.h:32
SoTransformVec3f::normalDirection
SoEngineOutput normalDirection
Definition: SoTransformVec3f.h:46

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.