nmwsharp / nmwsharp/polyscope

Vector Quantity Coloring (e.h. a VectorQuantityScalarQuantity or VectorQuantityColorQuantity)

Open
#286 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.2k
Forks
242
Avg merge
11m
Merged PRs (30d)
1

Description

I was looking in to how to color a vector quantity on a per-element basis, which basically means adding a ScalarQuantity or ColorQuantity to a VectorQuantity.

My first approach to this was to try and make a VectorQuantity a Structure, but that creates an error around isEnabled()

polyscope/src/../include/polyscope/structure.h:96:8: note: member found by ambiguous name lookup
  bool isEnabled();

Have you had any thought about the right way to do this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading include/polyscope/structure.h, especially the isEnabled() declaration and the ambiguity reported when VectorQuantity is made a Structure. Trace how VectorQuantity, ScalarQuantity, and ColorQuantity are represented, then determine the project-approved API for per-element vector coloring. Done should include a settled design that supports the requested coloring without the reported name conflict.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.