Skip to content

How to define color of a new structure #31

Description

@mfizyczka

Hi,

According to the Velocity Python Guide StructureOperations like createStructure, crop, intersectStructures, unionStructures, createStructureFromMask have a color parameter which might be defined while creating a new structure. Can you provide some example?
Simple "Red" doesn't work.

Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: Wrong number or type of arguments for overloaded function 'StructureOperations_intersectStructures'.
  Possible C/C++ prototypes are:
    vsc::StructureOperations::intersectStructures(int const,std::vector< int,std::allocator< int > > const &,std::string const &,vsc::Color *)
    vsc::StructureOperations::intersectStructures(int const,std::vector< int,std::allocator< int > > const &,std::string const &)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions