Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
MayaPview Class Reference

This class serves as a plug-in to Maya to allow viewing the current Maya selection as it will be converted to Panda. More...

`#include "mayaPview.h"`

Inheritance diagram for MayaPview:

## Public Member Functions
virtual MStatus | doIt (const MArgList &args)
| Called when the plugin command is invoked.

## Static Public Member Functions
static void * | creator ()
| This is used to create a new instance of the plugin.

## Detailed Description

This class serves as a plug-in to Maya to allow viewing the current Maya selection as it will be converted to Panda.

Definition at line 30 of file mayaPview.h.

## Constructor & Destructor Documentation

## ◆ MayaPview()

MayaPview::MayaPview | ( |  | ) |

Definition at line 55 of file mayaPview.cxx.

## Member Function Documentation

## ◆ creator()

void * MayaPview::creator | ( |  | ) |
| static

This is used to create a new instance of the plugin.

Definition at line 212 of file mayaPview.cxx.

Referenced by initializePlugin().

## ◆ doIt()

MStatus MayaPview::doIt | ( | const MArgList & | args | ) |
| virtual

Called when the plugin command is invoked.

Definition at line 62 of file mayaPview.cxx.

References NodePath::attach_new_node(), Thread::get_current_thread, Filename::get_fullpath(), PandaFramework::open_framework(), NodePath::remove_node(), Filename::set_extension(), NodePath::set_scale(), Filename::unlink(), and NodePath::write_bam_file().

The documentation for this class was generated from the following files:

- pandatool/src/mayaprogs/mayaPview.h
- pandatool/src/mayaprogs/mayaPview.cxx