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

Viewport related interface for an Operator If an Operator has a Viewport interface then the Operator is called to draw particles in the current ActionList. More...

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

Classes

class  IPFViewportExtension2
 This interface is used for extending IPFViewport with an additional method UpdateDisplay(). More...
 
class  IPFViewport
 

Macros

#define IPFVIEWPORT_EXTENSION2_INTERFACE_ID   Interface_ID (0x44775b10, 0x61a56439)
 The Interface ID used for IPFViewportExtension2. More...
 
#define PFVIEWPORT_INTERFACE   Interface_ID(0x1a340cb9, 0x26d12e01)
 
#define GetPFViewportInterface(obj)   ((IPFViewport*)((GetPFObject(obj))->GetInterface(PFVIEWPORT_INTERFACE)))
 

Functions

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

Detailed Description

Viewport related interface for an Operator If an Operator has a Viewport interface then the Operator is called to draw particles in the current ActionList.

Macro Definition Documentation

◆ IPFVIEWPORT_EXTENSION2_INTERFACE_ID

#define IPFVIEWPORT_EXTENSION2_INTERFACE_ID   Interface_ID (0x44775b10, 0x61a56439)

The Interface ID used for IPFViewportExtension2.

◆ PFVIEWPORT_INTERFACE

#define PFVIEWPORT_INTERFACE   Interface_ID(0x1a340cb9, 0x26d12e01)

◆ GetPFViewportInterface

#define GetPFViewportInterface (   obj)    ((IPFViewport*)((GetPFObject(obj))->GetInterface(PFVIEWPORT_INTERFACE)))

Function Documentation

◆ GetPFObject()

PFExport Object* GetPFObject ( Object obj)

◆ PFViewportInterface() [1/2]

IPFViewport* PFViewportInterface ( Object obj)
inline
145  {
146  return ((obj == NULL) ? NULL : GetPFViewportInterface(obj));
147 };
#define GetPFViewportInterface(obj)
Definition: IPFViewport.h:85
#define NULL
Definition: autoptr.h:18

◆ PFViewportInterface() [2/2]

IPFViewport* PFViewportInterface ( INode node)
inline
149  {
150  return ((node == NULL) ? NULL : PFViewportInterface(node->GetObjectRef()));
151 };
IPFViewport * PFViewportInterface(Object *obj)
Definition: IPFViewport.h:145
virtual Object * GetObjectRef()=0