VTK
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 "vtkRenderingVolumeModule.h" // For export macro
49 
50 class vtkFloatArray;
51 class vtkPoints;
53 class vtkVisibilitySort;
54 class vtkVolumeProperty;
55 class vtkRenderWindow;
56 
58 {
59 public:
63  virtual void PrintSelf(ostream &os, vtkIndent indent);
64 
65  virtual void SetVisibilitySort(vtkVisibilitySort *sort);
67 
68  static void MapScalarsToColors(vtkDataArray *colors,
69  vtkVolumeProperty *property,
70  vtkDataArray *scalars);
71  static void TransformPoints(vtkPoints *inPoints,
72  const float projection_mat[16],
73  const float modelview_mat[16],
74  vtkFloatArray *outPoints);
75 
77 
79  virtual bool IsSupported(vtkRenderWindow *)
80  { return false; }
82 
83 protected:
86 
88 
91  virtual void ReportReferences(vtkGarbageCollector *collector);
92 
93 private:
95  void operator=(const vtkProjectedTetrahedraMapper &); // Not Implemented.
96 };
97 
98 #endif
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkGetObjectMacro
#define vtkGetObjectMacro(name, type)
Definition: vtkSetGet.h:232
vtkProjectedTetrahedraMapper::vtkProjectedTetrahedraMapper
vtkProjectedTetrahedraMapper()
vtkFloatArray
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:49
vtkProjectedTetrahedraMapper::TransformPoints
static void TransformPoints(vtkPoints *inPoints, const float projection_mat[16], const float modelview_mat[16], vtkFloatArray *outPoints)
vtkProjectedTetrahedraMapper::SetVisibilitySort
virtual void SetVisibilitySort(vtkVisibilitySort *sort)
vtkRenderingVolumeModule.h
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:49
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:55
vtkProjectedTetrahedraMapper::IsSupported
virtual bool IsSupported(vtkRenderWindow *)
Definition: vtkProjectedTetrahedraMapper.h:79
vtkProjectedTetrahedraMapper::~vtkProjectedTetrahedraMapper
~vtkProjectedTetrahedraMapper()
vtkProjectedTetrahedraMapper::VisibilitySort
vtkVisibilitySort * VisibilitySort
Definition: vtkProjectedTetrahedraMapper.h:87
vtkProjectedTetrahedraMapper::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkProjectedTetrahedraMapper::ReportReferences
virtual void ReportReferences(vtkGarbageCollector *collector)
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:99
vtkVisibilitySort
Abstract class that can sort cell data along a viewpoint.
Definition: vtkVisibilitySort.h:57
vtkUnstructuredGridVolumeMapper
Abstract class for a unstructured grid volume mapper.
Definition: vtkUnstructuredGridVolumeMapper.h:40
vtkProjectedTetrahedraMapper
Unstructured grid volume renderer.
Definition: vtkProjectedTetrahedraMapper.h:58
VTKRENDERINGVOLUME_EXPORT
#define VTKRENDERINGVOLUME_EXPORT
Definition: vtkRenderingVolumeModule.h:15
vtkProjectedTetrahedraMapper::New
static vtkProjectedTetrahedraMapper * New()
vtkProjectedTetrahedraMapper::MapScalarsToColors
static void MapScalarsToColors(vtkDataArray *colors, vtkVolumeProperty *property, vtkDataArray *scalars)
vtkRenderWindow
create a window for renderers to draw into
Definition: vtkRenderWindow.h:89
vtkUnstructuredGridVolumeMapper.h
vtkVolumeProperty
represents the common properties for rendering a volume.
Definition: vtkVolumeProperty.h:60