VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPixel Class Reference

a cell that represents an orthogonal quadrilateral More...

#include <vtkPixel.h>

Inherits vtkCell.

Public Types

typedef vtkCell Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkPixelNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
int GetParametricCenter (double pcoords[3])
 
int IntersectWithLine (double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)
 
int Triangulate (int index, vtkIdList *ptIds, vtkPoints *pts)
 
void Derivatives (int subId, double pcoords[3], double *values, int dim, double *derivs)
 
virtual double * GetParametricCoords ()
 
int GetCellType ()
 
int GetCellDimension ()
 
int GetNumberOfEdges ()
 
int GetNumberOfFaces ()
 
vtkCell * GetEdge (int edgeId)
 
vtkCell * GetFace (int)
 
int CellBoundary (int subId, double pcoords[3], vtkIdList *pts)
 
void Contour (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *verts, vtkCellArray *lines, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd)
 
void Clip (double value, vtkDataArray *cellScalars, vtkIncrementalPointLocator *locator, vtkCellArray *polys, vtkPointData *inPd, vtkPointData *outPd, vtkCellData *inCd, vtkIdType cellId, vtkCellData *outCd, int insideOut)
 
int EvaluatePosition (double x[3], double *closestPoint, int &subId, double pcoords[3], double &dist2, double *weights)
 
void EvaluateLocation (int &subId, double pcoords[3], double x[3], double *weights)
 
virtual void InterpolateFunctions (double pcoords[3], double weights[4])
 
virtual void InterpolateDerivs (double pcoords[3], double derivs[8])
 

Static Public Member Functions

static vtkPixelNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPixelSafeDownCast (vtkObjectBase *o)
 
static void InterpolationFunctions (double pcoords[3], double weights[4])
 
static void InterpolationDerivs (double pcoords[3], double derivs[8])
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkPixel ()
 
 ~vtkPixel ()
 

Protected Attributes

vtkLine * Line
 

Detailed Description

a cell that represents an orthogonal quadrilateral

vtkPixel is a concrete implementation of vtkCell to represent a 2D orthogonal quadrilateral. Unlike vtkQuad, the corners are at right angles, and aligned along x-y-z coordinate axes leading to large increases in computational efficiency.

Examples:
vtkPixel (Examples)
Tests:
vtkPixel (Tests)

Definition at line 39 of file vtkPixel.h.

Member Typedef Documentation

typedef vtkCell vtkPixel::Superclass

Definition at line 43 of file vtkPixel.h.

Constructor & Destructor Documentation

vtkPixel::vtkPixel ( )
protected
vtkPixel::~vtkPixel ( )
protected

Member Function Documentation

static vtkPixel* vtkPixel::New ( )
static
static int vtkPixel::IsTypeOf ( const char *  type)
static
virtual int vtkPixel::IsA ( const char *  type)
virtual
static vtkPixel* vtkPixel::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkPixel::NewInstanceInternal ( ) const
protectedvirtual
vtkPixel* vtkPixel::NewInstance ( ) const
void vtkPixel::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
int vtkPixel::GetCellType ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 48 of file vtkPixel.h.

int vtkPixel::GetCellDimension ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 49 of file vtkPixel.h.

int vtkPixel::GetNumberOfEdges ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 50 of file vtkPixel.h.

int vtkPixel::GetNumberOfFaces ( )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 51 of file vtkPixel.h.

vtkCell* vtkPixel::GetEdge ( int  edgeId)

See the vtkCell API for descriptions of these methods.

vtkCell* vtkPixel::GetFace ( int  )
inline

See the vtkCell API for descriptions of these methods.

Definition at line 53 of file vtkPixel.h.

int vtkPixel::CellBoundary ( int  subId,
double  pcoords[3],
vtkIdList *  pts 
)

See the vtkCell API for descriptions of these methods.

void vtkPixel::Contour ( double  value,
vtkDataArray *  cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray verts,
vtkCellArray lines,
vtkCellArray polys,
vtkPointData *  inPd,
vtkPointData *  outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd 
)

See the vtkCell API for descriptions of these methods.

void vtkPixel::Clip ( double  value,
vtkDataArray *  cellScalars,
vtkIncrementalPointLocator locator,
vtkCellArray polys,
vtkPointData *  inPd,
vtkPointData *  outPd,
vtkCellData inCd,
vtkIdType  cellId,
vtkCellData outCd,
int  insideOut 
)

See the vtkCell API for descriptions of these methods.

int vtkPixel::EvaluatePosition ( double  x[3],
double *  closestPoint,
int &  subId,
double  pcoords[3],
double &  dist2,
double *  weights 
)

See the vtkCell API for descriptions of these methods.

void vtkPixel::EvaluateLocation ( int &  subId,
double  pcoords[3],
double  x[3],
double *  weights 
)

See the vtkCell API for descriptions of these methods.

int vtkPixel::GetParametricCenter ( double  pcoords[3])
inline

Return the center of the triangle in parametric coordinates.

Definition at line 111 of file vtkPixel.h.

int vtkPixel::IntersectWithLine ( double  p1[3],
double  p2[3],
double  tol,
double &  t,
double  x[3],
double  pcoords[3],
int &  subId 
)
int vtkPixel::Triangulate ( int  index,
vtkIdList *  ptIds,
vtkPoints *  pts 
)
void vtkPixel::Derivatives ( int  subId,
double  pcoords[3],
double *  values,
int  dim,
double *  derivs 
)
virtual double* vtkPixel::GetParametricCoords ( )
virtual
static void vtkPixel::InterpolationFunctions ( double  pcoords[3],
double  weights[4] 
)
static
Deprecated:
Replaced by vtkPixel::InterpolateFunctions as of VTK 5.2
static void vtkPixel::InterpolationDerivs ( double  pcoords[3],
double  derivs[8] 
)
static
Deprecated:
Replaced by vtkPixel::InterpolateDerivs as of VTK 5.2
virtual void vtkPixel::InterpolateFunctions ( double  pcoords[3],
double  weights[4] 
)
inlinevirtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Definition at line 89 of file vtkPixel.h.

virtual void vtkPixel::InterpolateDerivs ( double  pcoords[3],
double  derivs[8] 
)
inlinevirtual

Compute the interpolation functions/derivatives (aka shape functions/derivatives)

Definition at line 93 of file vtkPixel.h.

Member Data Documentation

vtkLine* vtkPixel::Line
protected

Definition at line 103 of file vtkPixel.h.


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