VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
VolumeRendering
vtkProjectedTetrahedraMapper.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkProjectedTetrahedraMapper.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
=========================================================================*/
15
16
/*
17
* Copyright 2003 Sandia Corporation.
18
* Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive
19
* license for use of this work by or on behalf of the
20
* U.S. Government. Redistribution and use in source and binary forms, with
21
* or without modification, are permitted provided that this Notice and any
22
* statement of authorship are reproduced on all copies.
23
*/
24
44
#ifndef __vtkProjectedTetrahedraMapper_h
45
#define __vtkProjectedTetrahedraMapper_h
46
47
#include "
vtkUnstructuredGridVolumeMapper.h
"
48
49
class
vtkFloatArray
;
50
class
vtkPoints
;
51
class
vtkUnsignedCharArray
;
52
class
vtkVisibilitySort
;
53
class
vtkVolumeProperty
;
54
55
class
VTK_VOLUMERENDERING_EXPORT
vtkProjectedTetrahedraMapper
:
public
vtkUnstructuredGridVolumeMapper
56
{
57
public
:
58
vtkTypeMacro(
vtkProjectedTetrahedraMapper
,
59
vtkUnstructuredGridVolumeMapper
);
60
static
vtkProjectedTetrahedraMapper
*
New
();
61
virtual
void
PrintSelf
(ostream &os,
vtkIndent
indent);
62
63
virtual
void
SetVisibilitySort(
vtkVisibilitySort
*sort);
64
vtkGetObjectMacro(VisibilitySort,
vtkVisibilitySort
);
65
66
static
void
MapScalarsToColors(
vtkDataArray
*colors,
67
vtkVolumeProperty
*property,
68
vtkDataArray
*scalars);
69
static
void
TransformPoints(
vtkPoints
*inPoints,
70
const
float
projection_mat[16],
71
const
float
modelview_mat[16],
72
vtkFloatArray
*outPoints);
73
74
protected
:
75
vtkProjectedTetrahedraMapper
();
76
~
vtkProjectedTetrahedraMapper
();
77
78
vtkVisibilitySort
*
VisibilitySort
;
79
82
virtual
void
ReportReferences
(
vtkGarbageCollector
*collector);
83
84
private
:
85
vtkProjectedTetrahedraMapper
(
const
vtkProjectedTetrahedraMapper
&);
// Not Implemented.
86
void
operator=(
const
vtkProjectedTetrahedraMapper
&);
// Not Implemented.
87
};
88
89
#endif
Generated on Wed Nov 21 2012 21:34:07 for VTK by
1.8.2