Skip to content

Commit

Permalink
reorganização dos menus
Browse files Browse the repository at this point in the history
  • Loading branch information
Piemontez committed May 5, 2024
1 parent 4a473a4 commit 151ad8c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/plugins/opencv/edge/tabname.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const edgeTabName = ['OpenCV', 'Edge'];
export const edgeTabName = ['OpenCV', 'Edge / Gradients'];
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { CVFNodeProcessor } from '../../../core/types/node';
import cv, { Mat, Size } from 'opencv-ts';
import { PropertyType } from '../../../ide/types/PropertyType';
import GCStore from '../../../core/contexts/GCStore';
import { cvInputTabName } from './tabname';
import { cvGeoTransTabName } from './tabname';

export class CVResizeComponent extends CVFIOComponent {
static menu = { tabTitle: cvInputTabName, title: 'Resize' };
static menu = { tabTitle: cvGeoTransTabName, title: 'Resize' };
static processor = class ResizeNode extends CVFNodeProcessor {
properties = [
{ name: 'dsize', type: PropertyType.Size },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import cv, { Size } from 'opencv-ts';
import { PropertyType } from '../../../ide/types/PropertyType';
import { BorderTypes } from 'opencv-ts/src/core/CoreArray';
import GCStore from '../../../core/contexts/GCStore';
import { othersTabName } from './tabname';
import { cvGeoTransTabName } from './tabname';

/**
* Pyr Down Transform component and node
*/

export class PyrDownComponent extends CVFIOComponent {
static menu = { tabTitle: othersTabName, title: 'PyrDown' };
static menu = { tabTitle: cvGeoTransTabName, title: 'PyrDown' };
static processor = class PyrDownNode extends CVFNodeProcessor {
properties = [
{ name: 'dstsize', type: PropertyType.Size },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import cv, { Size } from 'opencv-ts';
import { PropertyType } from '../../../ide/types/PropertyType';
import { BorderTypes } from 'opencv-ts/src/core/CoreArray';
import GCStore from '../../../core/contexts/GCStore';
import { othersTabName } from './tabname';
import { cvGeoTransTabName } from './tabname';

/**
* Pyr Up Transform component and node
*/

export class PyrUpComponent extends CVFIOComponent {
static menu = { tabTitle: othersTabName, title: 'PyrUp' };
static menu = { tabTitle: cvGeoTransTabName, title: 'PyrUp' };
static processor = class PyrUpNode extends CVFNodeProcessor {
properties = [
{ name: 'dstsize', type: PropertyType.Size },
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/opencv/geometricTransformations/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export * from './CVResizeComponent';
export * from './PyrDownComponent';
export * from './PyrUpComponent';
2 changes: 1 addition & 1 deletion src/plugins/opencv/geometricTransformations/tabname.tsx
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const cvInputTabName = ['OpenCV', 'Geometric Transformations'];
export const cvGeoTransTabName = ['OpenCV', 'Geometric Transformations / Resize'];
2 changes: 0 additions & 2 deletions src/plugins/opencv/others/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ export * from './DistanceTransformComponent';
export * from './EqualizeHistComponent';
export * from './BackgroundSubtractorMOG2Component';
export * from './GrabCutComponent';
export * from './PyrDownComponent';
export * from './PyrUpComponent';

0 comments on commit 151ad8c

Please sign in to comment.