All files / tools/src/utilities/vtkjs/RhombicuboctahedronSource index.d.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107                                                                                                                                                                                                                     
import { vtkAlgorithm, vtkObject } from '@kitware/vtk.js/interfaces';
 
/**
 * vtkRhombicuboctahedronSource
 */
export interface IRhombicuboctahedronSourceInitialValues {
  scale?: number;
  generate3DTextureCoordinates?: boolean;
  generateMainFaces?: boolean;
  generateEdgeFaces?: boolean;
  generateCornerFaces?: boolean;
}
 
export interface vtkRhombicuboctahedronSource extends vtkAlgorithm {
  /**
   * Get the scale factor for the rhombicuboctahedron.
   */
  getScale(): number;
 
  /**
   * Set the scale factor for the rhombicuboctahedron.
   * @param {Number} scale The scale factor.
   */
  setScale(scale: number): boolean;
 
  /**
   * Get whether to generate 3D texture coordinates.
   */
  getGenerate3DTextureCoordinates(): boolean;
 
  /**
   * Set whether to generate 3D texture coordinates.
   * @param {Boolean} generate3DTextureCoordinates
   */
  setGenerate3DTextureCoordinates(
    generate3DTextureCoordinates: boolean
  ): boolean;
 
  /**
   * Get whether to generate the 6 main square faces.
   */
  getGenerateMainFaces(): boolean;
 
  /**
   * Set whether to generate the 6 main square faces.
   * @param {Boolean} generateMainFaces
   */
  setGenerateMainFaces(generateMainFaces: boolean): boolean;
 
  /**
   * Get whether to generate the 12 edge square faces.
   */
  getGenerateEdgeFaces(): boolean;
 
  /**
   * Set whether to generate the 12 edge square faces.
   * @param {Boolean} generateEdgeFaces
   */
  setGenerateEdgeFaces(generateEdgeFaces: boolean): boolean;
 
  /**
   * Get whether to generate the 8 corner triangular faces.
   */
  getGenerateCornerFaces(): boolean;
 
  /**
   * Set whether to generate the 8 corner triangular faces.
   * @param {Boolean} generateCornerFaces
   */
  setGenerateCornerFaces(generateCornerFaces: boolean): boolean;
}
 
/**
 * Method used to decorate a given object (publicAPI+model) with vtkRhombicuboctahedronSource characteristics.
 *
 * @param publicAPI object on which methods will be bounds (public)
 * @param model object on which data structure will be bounds (protected)
 * @param {IRhombicuboctahedronSourceInitialValues} [initialValues] (default: {})
 */
export function extend(
  publicAPI: object,
  model: object,
  initialValues?: IRhombicuboctahedronSourceInitialValues
): void;
 
/**
 * Method used to create a new instance of vtkRhombicuboctahedronSource.
 * @param {IRhombicuboctahedronSourceInitialValues} [initialValues] for pre-setting some of its content
 */
export function newInstance(
  initialValues?: IRhombicuboctahedronSourceInitialValues
): vtkRhombicuboctahedronSource;
 
/**
 * vtkRhombicuboctahedronSource is a source object that creates a rhombicuboctahedron.
 * A rhombicuboctahedron is an Archimedean solid with 24 vertices and 26 faces:
 * - 6 square faces aligned with coordinate axes
 * - 12 square faces along edges
 * - 8 triangular faces at corners
 */
export declare const vtkRhombicuboctahedronSource: {
  newInstance: typeof newInstance;
  extend: typeof extend;
};
 
export default vtkRhombicuboctahedronSource;