http://www.sim.no
http://www.coin3d.org
Main Page
Classes
Files
File List
lib
VolumeViz
details
SoObliqueSliceDetail.h
1
#ifndef COIN_SOOBLIQUESLICEDETAIL_H
2
#define COIN_SOOBLIQUESLICEDETAIL_H
3
4
/**************************************************************************\
5
*
6
* This file is part of the SIM Voleon visualization library.
7
* Copyright (C) 2003-2004 by Systems in Motion. All rights reserved.
8
*
9
* This library is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License
11
* ("GPL") version 2 as published by the Free Software Foundation.
12
* See the file LICENSE.GPL at the root directory of this source
13
* distribution for additional information about the GNU GPL.
14
*
15
* For using SIM Voleon with software that can not be combined with
16
* the GNU GPL, and for taking advantage of the additional benefits
17
* of our support services, please contact Systems in Motion about
18
* acquiring a SIM Voleon Professional Edition License.
19
*
20
* See <URL:http://www.coin3d.org/> for more information.
21
*
22
* Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, NORWAY.
23
* <URL:http://www.sim.no/>.
24
*
25
\**************************************************************************/
26
27
#include <Inventor/details/SoDetail.h>
28
#include <Inventor/details/SoSubDetail.h>
29
#include <Inventor/SbVec3f.h>
30
#include <Inventor/SbVec3s.h>
31
#include <VolumeViz/C/basic.h>
32
33
34
class
SIMVOLEON_DLL_API
SoObliqueSliceDetail
:
public
SoDetail {
35
typedef
SoDetail inherited;
36
37
SO_DETAIL_HEADER(
SoObliqueSliceDetail
);
38
39
public
:
40
static
void
initClass(
void
);
41
SoObliqueSliceDetail
(
void
);
42
virtual
~
SoObliqueSliceDetail
();
43
44
virtual
SoDetail * copy(
void
)
const
;
45
46
const
SbVec3f & getValueObjectPos(
void
)
const
;
47
const
SbVec3s & getValueDataPos(
void
)
const
;
48
unsigned
int
getValue(
void
)
const
;
49
50
private
:
51
SbVec3f objectcoords;
52
SbVec3s ijkcoords;
53
unsigned
int
voxelvalue;
54
55
// FIXME: should rather use a setDetails() function. 20041008 mortene.
56
friend
class
SoObliqueSlice
;
57
};
58
59
#endif // !COIN_SOOBLIQUESLICEDETAIL_H
Copyright © 1998-2004 by
Systems in Motion AS
. All rights reserved.
Generated on Wed Jul 18 2012 20:32:32 for SIMVoleon by
Doxygen.
1.8.1.1