import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; import { Color } from "./Color"; import { Pose } from "./Pose"; import { Vector3 } from "./Vector3"; /** A primitive representing a cylinder, elliptic cylinder, or truncated cone */ export interface CylinderPrimitive { $type: "foxglove.CylinderPrimitive"; /** Position of the center of the cylinder and orientation of the cylinder. The flat face(s) are perpendicular to the z-axis. */ pose: Pose | undefined; /** Size of the cylinder's bounding box */ size: Vector3 | undefined; /** 0-1, ratio of the diameter of the cylinder's bottom face (min z) to the bottom of the bounding box */ bottomScale: number; /** 0-1, ratio of the diameter of the cylinder's top face (max z) to the top of the bounding box */ topScale: number; /** Color of the cylinder */ color: Color | undefined; } export declare const CylinderPrimitive: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in Exclude]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude | "$type">]: never; }; interface MessageFns { readonly $type: V; encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } export {};