# Visualising higher-order elements

**URL:** https://discourse.vtk.org/t/visualising-higher-order-elements/13001
**Category:** Support
**Tags:** code
**Created:** [January 3, 2024, 5:24pm UTC](https://discourse.vtk.org/t/visualising-higher-order-elements/13001 "2024-01-03T17:24:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![chennachaos](https://discourse.vtk.org/user_avatar/discourse.vtk.org/chennachaos/32/8205_2.png) [@chennachaos](https://discourse.vtk.org/u/chennachaos)
#### Post date: [January 3, 2024, 5:24pm UTC](https://discourse.vtk.org/t/visualising-higher-order-elements/13001/1 "2024-01-03T17:24:05Z")

</div>

I am interested in visualising the solution of higher-order elements, particularly cubic elements, using the vtkHigherOrderTriangle and vtkHigherOrderTetra objects.  
I tried the following, similar to what I have done with the linear and quadratic elements. But, with the higher-order elements, the code does not compile.  
vtkSmartPointer triaHigherVTK = vtkSmartPointer::New();  
vtkSmartPointer quadHigherVTK = vtkSmartPointer::New();

Also cannot create an object using the following since it is an abstract class type.  
vtkHigherOrderTriangle triaHigherVTK;

I could not find any tutorials on these. I would appreciate any help in using these classes for exporting unstructured grid data.
