generate isosurfaces/isolines from scalar values
More...
#include <vtkHyperOctreeDualGridContourFilter.h>
Inherits vtkPolyDataAlgorithm.
generate isosurfaces/isolines from scalar values
use of unsigned short to hold level index limits tree depth to 16.
To use this filter you must specify one or more contour values. You can either use the method SetValue() to specify each contour value, or use GenerateValues() to generate a series of evenly spaced contours. It is also possible to accelerate the operation of this filter (at the cost of extra memory) by using a vtkScalarTree. A scalar tree is used to quickly locate cells that contain a contour surface. This is especially effective if multiple contours are being extracted. If you want to use a scalar tree, invoke the method UseScalarTreeOn().
- See Also
- vtkMarchingContourFilter vtkKitwareContourFilter vtkMarchingCubes vtkSliceCubes vtkDividingCubes vtkMarchingSquares vtkImageMarchingCubes
- Tests:
- vtkHyperOctreeDualGridContourFilter (Tests)
Definition at line 60 of file vtkHyperOctreeDualGridContourFilter.h.
vtkHyperOctreeDualGridContourFilter::vtkHyperOctreeDualGridContourFilter |
( |
| ) |
|
|
protected |
vtkHyperOctreeDualGridContourFilter::~vtkHyperOctreeDualGridContourFilter |
( |
| ) |
|
|
protected |
static int vtkHyperOctreeDualGridContourFilter::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkHyperOctreeDualGridContourFilter::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkHyperOctreeDualGridContourFilter::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkHyperOctreeDualGridContourFilter::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Construct object with initial range (0,1) and single contour value of 0.0.
void vtkHyperOctreeDualGridContourFilter::SetValue |
( |
int |
i, |
|
|
double |
value |
|
) |
| |
|
inline |
Methods to set / get contour values.
Set a particular contour value at contour number i. The index i ranges between 0<=i<NumberOfContours.
Definition at line 75 of file vtkHyperOctreeDualGridContourFilter.h.
double vtkHyperOctreeDualGridContourFilter::GetValue |
( |
int |
i | ) |
|
|
inline |
double* vtkHyperOctreeDualGridContourFilter::GetValues |
( |
| ) |
|
|
inline |
void vtkHyperOctreeDualGridContourFilter::GetValues |
( |
double * |
contourValues | ) |
|
|
inline |
void vtkHyperOctreeDualGridContourFilter::SetNumberOfContours |
( |
int |
number | ) |
|
|
inline |
Set the number of contours to place into the list. You only really need to use this method to reduce list size. The method SetValue() will automatically increase list size as needed.
Definition at line 112 of file vtkHyperOctreeDualGridContourFilter.h.
int vtkHyperOctreeDualGridContourFilter::GetNumberOfContours |
( |
| ) |
|
|
inline |
void vtkHyperOctreeDualGridContourFilter::GenerateValues |
( |
int |
numContours, |
|
|
double |
range[2] |
|
) |
| |
|
inline |
void vtkHyperOctreeDualGridContourFilter::GenerateValues |
( |
int |
numContours, |
|
|
double |
rangeStart, |
|
|
double |
rangeEnd |
|
) |
| |
|
inline |
unsigned long vtkHyperOctreeDualGridContourFilter::GetMTime |
( |
| ) |
|
Modified GetMTime Because we delegate to vtkContourValues
void vtkHyperOctreeDualGridContourFilter::SetLocator |
( |
vtkIncrementalPointLocator * |
locator | ) |
|
Set / get a spatial locator for merging points. By default, an instance of vtkMergePoints is used.
virtual vtkIncrementalPointLocator* vtkHyperOctreeDualGridContourFilter::GetLocator |
( |
| ) |
|
|
virtual |
Set / get a spatial locator for merging points. By default, an instance of vtkMergePoints is used.
void vtkHyperOctreeDualGridContourFilter::CreateDefaultLocator |
( |
| ) |
|
Create default locator. Used to create one when none is specified. The locator is used to merge coincident points.
virtual int vtkHyperOctreeDualGridContourFilter::RequestData |
( |
vtkInformation * |
request, |
|
|
vtkInformationVector ** |
inputVector, |
|
|
vtkInformationVector * |
outputVector |
|
) |
| |
|
protectedvirtual |
virtual int vtkHyperOctreeDualGridContourFilter::RequestUpdateExtent |
( |
vtkInformation * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkHyperOctreeDualGridContourFilter::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
void vtkHyperOctreeDualGridContourFilter::ContourNode |
( |
| ) |
|
|
protected |
Do the recursive contour of the node pointed by Cursor.
void vtkHyperOctreeDualGridContourFilter::TraverseNeighborhoodRecursively |
( |
vtkHyperOctreeLightWeightCursor * |
neighborhood, |
|
|
unsigned short * |
xyzIds |
|
) |
| |
|
protected |
void vtkHyperOctreeDualGridContourFilter::EvaluatePoint |
( |
vtkHyperOctreeLightWeightCursor * |
neighborhood, |
|
|
unsigned short * |
xyzIds |
|
) |
| |
|
protected |
void vtkHyperOctreeDualGridContourFilter::ContourNode1D |
( |
| ) |
|
|
protected |
void vtkHyperOctreeDualGridContourFilter::GenerateTraversalTable |
( |
| ) |
|
|
protected |
vtkContourValues* vtkHyperOctreeDualGridContourFilter::ContourValues |
|
protected |
vtkIncrementalPointLocator* vtkHyperOctreeDualGridContourFilter::Locator |
|
protected |
vtkHyperOctree* vtkHyperOctreeDualGridContourFilter::Input |
|
protected |
vtkPolyData* vtkHyperOctreeDualGridContourFilter::Output |
|
protected |
vtkCellArray* vtkHyperOctreeDualGridContourFilter::NewPolys |
|
protected |
vtkDataSetAttributes* vtkHyperOctreeDualGridContourFilter::InPD |
|
protected |
vtkDataSetAttributes* vtkHyperOctreeDualGridContourFilter::OutPD |
|
protected |
vtkDataArray* vtkHyperOctreeDualGridContourFilter::InScalars |
|
protected |
double vtkHyperOctreeDualGridContourFilter::Origin[3] |
|
protected |
double vtkHyperOctreeDualGridContourFilter::Size[3] |
|
protected |
unsigned char vtkHyperOctreeDualGridContourFilter::NeighborhoodTraversalTable[64] |
|
protected |
The documentation for this class was generated from the following file: