3ds Max C++ API Reference
IPViewItem.h File Reference

Interface for PViewItem. More...

#include "PFExport.h"
#include "../object.h"

Classes

class  IPViewItem
 

Macros

#define PVIEWITEM_INTERFACE   Interface_ID(0x74f93d08, 0x1eb34500)
 
#define GetPViewItemInterface(obj)   ((IPViewItem*)((GetPFObject(obj))->GetInterface(PVIEWITEM_INTERFACE)))
 

Enumerations

enum  { kActionImageWidth =22 , kActionImageHeight =22 }
 

Functions

PFExport ObjectGetPFObject (Object *obj)
 
IPViewItemPViewItemInterface (Object *obj)
 
IPViewItemPViewItemInterface (INode *node)
 

Detailed Description

Interface for PViewItem.

An Action should implement the interface to be modifiable in Particle View.

Macro Definition Documentation

◆ PVIEWITEM_INTERFACE

#define PVIEWITEM_INTERFACE   Interface_ID(0x74f93d08, 0x1eb34500)

◆ GetPViewItemInterface

#define GetPViewItemInterface (   obj)    ((IPViewItem*)((GetPFObject(obj))->GetInterface(PVIEWITEM_INTERFACE)))

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
kActionImageWidth 
kActionImageHeight 
25 { kActionImageWidth=22, kActionImageHeight=22 }; // in pixels
@ kActionImageWidth
Definition: IPViewItem.h:25
@ kActionImageHeight
Definition: IPViewItem.h:25

Function Documentation

◆ GetPFObject()

PFExport Object* GetPFObject ( Object obj)

◆ PViewItemInterface() [1/2]

IPViewItem* PViewItemInterface ( Object obj)
inline
212  {
213  return ((obj == NULL) ? NULL : GetPViewItemInterface(obj));
214 };
#define GetPViewItemInterface(obj)
Definition: IPViewItem.h:22
#define NULL
Definition: autoptr.h:18

◆ PViewItemInterface() [2/2]

IPViewItem* PViewItemInterface ( INode node)
inline
216  {
217  return ((node == NULL) ? NULL : PViewItemInterface(node->GetObjectRef()));
218 };
IPViewItem * PViewItemInterface(Object *obj)
Definition: IPViewItem.h:212
virtual Object * GetObjectRef()=0