VTK  9.4.20241217
Classes | Public Member Functions | Protected Attributes | List of all members
vtkDGArrayOutputAccessor Class Reference

Store values interpolated from DG cells into a vtkDoubleArray instance. More...

#include <vtkDGArrayOutputAccessor.h>

Collaboration diagram for vtkDGArrayOutputAccessor:
[legend]

Classes

struct  Tuple
 Expose a tuple in a vtkDoubleArray as an object with a size() method to satisfy requirements of the output iterator API. More...
 

Public Member Functions

 vtkDGArrayOutputAccessor (vtkDoubleArray *result)
 
 vtkDGArrayOutputAccessor (const vtkDGArrayOutputAccessor &other)
 
 ~vtkDGArrayOutputAccessor ()
 
vtkDGArrayOutputAccessoroperator= (const vtkDGArrayOutputAccessor &other)
 
Tuple operator[] (vtkTypeUInt64 tupleId)
 
vtkTypeUInt64 GetKey () const
 
Tuple GetTuple ()
 
void Restart ()
 
bool IsAtEnd () const
 
std::size_t size () const
 
vtkTypeUInt64 operator++ ()
 
vtkTypeUInt64 operator++ (int)
 
vtkDGArrayOutputAccessoroperator+= (vtkTypeUInt64 count)
 

Protected Attributes

vtkTypeUInt64 Key { 0 }
 
vtkDoubleArrayResult { nullptr }
 

Detailed Description

Store values interpolated from DG cells into a vtkDoubleArray instance.

Tests:
vtkDGArrayOutputAccessor (Tests)

Definition at line 21 of file vtkDGArrayOutputAccessor.h.

Constructor & Destructor Documentation

◆ vtkDGArrayOutputAccessor() [1/2]

vtkDGArrayOutputAccessor::vtkDGArrayOutputAccessor ( vtkDoubleArray result)

◆ vtkDGArrayOutputAccessor() [2/2]

vtkDGArrayOutputAccessor::vtkDGArrayOutputAccessor ( const vtkDGArrayOutputAccessor other)

◆ ~vtkDGArrayOutputAccessor()

vtkDGArrayOutputAccessor::~vtkDGArrayOutputAccessor ( )

Member Function Documentation

◆ operator=()

vtkDGArrayOutputAccessor & vtkDGArrayOutputAccessor::operator= ( const vtkDGArrayOutputAccessor other)

◆ operator[]()

Tuple vtkDGArrayOutputAccessor::operator[] ( vtkTypeUInt64  tupleId)

◆ GetKey()

vtkTypeUInt64 vtkDGArrayOutputAccessor::GetKey ( ) const
inline

Definition at line 60 of file vtkDGArrayOutputAccessor.h.

◆ GetTuple()

Tuple vtkDGArrayOutputAccessor::GetTuple ( )

◆ Restart()

void vtkDGArrayOutputAccessor::Restart ( )

◆ IsAtEnd()

bool vtkDGArrayOutputAccessor::IsAtEnd ( ) const

◆ size()

std::size_t vtkDGArrayOutputAccessor::size ( ) const

◆ operator++() [1/2]

vtkTypeUInt64 vtkDGArrayOutputAccessor::operator++ ( )

◆ operator++() [2/2]

vtkTypeUInt64 vtkDGArrayOutputAccessor::operator++ ( int  )

◆ operator+=()

vtkDGArrayOutputAccessor & vtkDGArrayOutputAccessor::operator+= ( vtkTypeUInt64  count)

Member Data Documentation

◆ Key

vtkTypeUInt64 vtkDGArrayOutputAccessor::Key { 0 }
protected

Definition at line 73 of file vtkDGArrayOutputAccessor.h.

◆ Result

vtkDoubleArray* vtkDGArrayOutputAccessor::Result { nullptr }
protected

Definition at line 74 of file vtkDGArrayOutputAccessor.h.


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