VTK  9.3.20240423
Public Member Functions | Public Attributes | List of all members
vtkMultiThreshold::Interval Class Reference

A subset of a mesh represented by a range of acceptable attribute values. More...

#include <vtkMultiThreshold.h>

Inheritance diagram for vtkMultiThreshold::Interval:
[legend]
Collaboration diagram for vtkMultiThreshold::Interval:
[legend]

Public Member Functions

int Match (double cellNorm[2])
 Does the specified range fall inside the interval? For cell-centered attributes, only cellNorm[0] is examined.
 
 ~Interval () override=default
 
void PrintNode (ostream &os) override
 Print a graphviz node name for use in an edge statement.
 
IntervalGetIntervalPointer () override
 
- Public Member Functions inherited from vtkMultiThreshold::Set
 Set ()
 The index of the output mesh that will hold this set or -1 if the set is not output.
 
virtual ~Set ()=default
 Virtual destructor since we have virtual members.
 
virtual void PrintNodeName (ostream &os)
 Print a graphviz node label statement (with fancy node name and shape).
 
virtual void PrintNode (ostream &os)=0
 Print a graphviz node name for use in an edge statement.
 
virtual BooleanSetGetBooleanSetPointer ()
 Avoid dynamic_casts. Subclasses must override.
 
virtual IntervalGetIntervalPointer ()
 

Public Attributes

double EndpointValues [2]
 The values defining the interval. These must be in ascending order.
 
int EndpointClosures [2]
 Are the endpoint values themselves included in the set (CLOSED) or not (OPEN)?
 
NormKey Norm
 This contains information about the attribute over which the interval is defined.
 
- Public Attributes inherited from vtkMultiThreshold::Set
int Id
 
int OutputId
 A unique identifier for this set.
 

Detailed Description

A subset of a mesh represented by a range of acceptable attribute values.

Definition at line 355 of file vtkMultiThreshold.h.

Constructor & Destructor Documentation

◆ ~Interval()

vtkMultiThreshold::Interval::~Interval ( )
overridedefault

Member Function Documentation

◆ Match()

int vtkMultiThreshold::Interval::Match ( double  cellNorm[2])

Does the specified range fall inside the interval? For cell-centered attributes, only cellNorm[0] is examined.

For point-centered attributes, cellNorm[0] is the minimum norm taken on over the cell and cellNorm[1] is the maximum.

◆ PrintNode()

void vtkMultiThreshold::Interval::PrintNode ( ostream &  os)
overridevirtual

Print a graphviz node name for use in an edge statement.

Implements vtkMultiThreshold::Set.

◆ GetIntervalPointer()

vtkMultiThreshold::Interval * vtkMultiThreshold::Interval::GetIntervalPointer ( )
inlineoverridevirtual

Reimplemented from vtkMultiThreshold::Set.

Definition at line 538 of file vtkMultiThreshold.h.

Member Data Documentation

◆ EndpointValues

double vtkMultiThreshold::Interval::EndpointValues[2]

The values defining the interval. These must be in ascending order.

Definition at line 359 of file vtkMultiThreshold.h.

◆ EndpointClosures

int vtkMultiThreshold::Interval::EndpointClosures[2]

Are the endpoint values themselves included in the set (CLOSED) or not (OPEN)?

Definition at line 361 of file vtkMultiThreshold.h.

◆ Norm

NormKey vtkMultiThreshold::Interval::Norm

This contains information about the attribute over which the interval is defined.

Definition at line 363 of file vtkMultiThreshold.h.


The documentation for this class was generated from the following file: