WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ExportPanel.h
Go to the documentation of this file.
1#pragma once
2
3#include <functional>
4#include <memory>
5#include <string>
6#include <vector>
7
8#include "AnimationPanel.h"
9
10class ExporterPlugin;
11class WoWModel;
12
14namespace ExportPanel
15{
17
20 {
21 std::function<WoWModel*()> getLoadedModel;
22 std::vector<std::unique_ptr<ExporterPlugin>>* exporters = nullptr;
23 int* selectedExporter = nullptr;
24 std::vector<AnimEntry>* animEntries = nullptr;
25 std::vector<char>* exportAnimChecked = nullptr;
26 int* selectedAnimCombo = nullptr;
27 std::string* exportPath = nullptr;
28 std::string* exportStatus = nullptr;
29 };
30
31 void draw(DrawContext& ctx);
32
33} // namespace ExportPanel
Abstract base class for model export plugins (OBJ, FBX, etc.).
Core WoW .m2 model: geometry, animation, textures, and character data.
Definition WoWModel.h:50
ImGui panel for exporting models to OBJ / FBX formats.
void draw(DrawContext &ctx)
Reusable animation entry — matches CharacterViewerPanel::AnimEntry.
Per-frame context for the export panel.
Definition ExportPanel.h:20
std::string * exportPath
Definition ExportPanel.h:27
std::vector< std::unique_ptr< ExporterPlugin > > * exporters
Definition ExportPanel.h:22
std::vector< AnimEntry > * animEntries
Definition ExportPanel.h:24
std::vector< char > * exportAnimChecked
Definition ExportPanel.h:25
std::function< WoWModel *()> getLoadedModel
Definition ExportPanel.h:21
std::string * exportStatus
Definition ExportPanel.h:28