Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 738
    • Issues 738
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 199
    • Merge requests 199
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

An update will be applied May 24th, between 12PM and 1PM EDT (UTC -400). The site may be slow during that time.

  • VTK
  • VTKVTK
  • Issues
  • #14460

Closed
Open
Created Dec 11, 2013 by Kitware Robot@kwrobotOwner

vtkDataSet: GetCellTypes is useless in the current form

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


With GetCellTypes its possible to get a list of cell-types that are defined in a dataset. It returns an object of type vtkCellTypes. But this object is not really the object thats internal used to store the recently added cells. It returns a light version of it, without the locations. Within GetCellTypes they are set to -1. But without that information you can not use it for a reasonable purpose. The same information is available via:

vtkIntArray *types = vtkIntArray::New(); for (int i = 0; i < pd->GetNumberOfCells(); i++) { types->InsertNextValue(pd->GetCellType(i)); }

You see the method is totally useless.

The method should return a pointer to Cells or a deep copy of it.

Assignee
Assign to
Time tracking